Jump to content

Unpacking Adobe Air .dat Files

Recommended Posts

As the title says, are there any known tools for extracting scripts from games made in Adobe Air? For reference, I'm trying to access the script of Trick or Alice (vndb: https://vndb.org/v8820) and it all seems to be packed into one huge "package.dat" that's over 2 million kbs. Most resources I've found about Adobe Air seem to not be applicable for patch making purposes and I haven't made much progress as of yet.

Link to comment
Share on other sites

I expect to be a custom file format, if the game is written with AIR, means it uses Action Script 3, therefore SWF, and they are pretty decompilable even when obfuscated, and that's good for us.
The game should have some .air file probabbly, or at least you should find a .swf file somewhere, if you find the .air file try open as a zip and look for it.
After that you can use a tool called JPEXS to deobfuscate and analyze the code, and you will probabbly find some code that handle the .dat file, allowing you inject custom file or extract it.

Link to comment
Share on other sites

@marcus-beta There is a .swf file, I actually had gone through it with JPEXS before but sadly most, beyond the general gist of it, goes over my head;; I'm not quite sure if I know how to use the information within it to access the .dat without further guidance from somebody, which I know would be a bold ask. Would this be something I could feasibly search and find resources on how to do or would it simply require more advanced coding knowledge?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...