qabriel99 Posted 16 hours ago Share Posted 16 hours ago A tool was available previously and now it's long gone. Can anyone share it? Link to comment Share on other sites More sharing options...
ikskoks Posted 14 hours ago Share Posted 14 hours ago As far as I know there was a quick bms script for PCK archives and all language files were compiled LUA scripts, so any lua decompiler should do the work just fine. Or maybe you meant some other tools? If yes, please share more details. Link to comment Share on other sites More sharing options...
qabriel99 Posted 13 hours ago Author Share Posted 13 hours ago There is a quickBMS script, which I recovered from an archive: get size asize math size - 0xC goto size get files short get FTsize long get DATAsize long goto DATAsize for i = 0 < files get FULLNAME basename log MEMORY_FILE 0 0 savepos offset getdstring dummy 0x14 get size long get size2 long get NAMEsize long getdstring dummy 0xA savepos TMP get key byte goto TMP if key <= 0x80 set key = 0x80 endif get FILEoffset long math FILEoffset + 0x1e getdstring name NAMEsize putdstring name NAMEsize MEMORY_FILE filexor key MEMORY_FILE goto 0x00 MEMORY_FILE getdstring name NAMEsize MEMORY_FILE filexor "" string FULLNAME + "/" string FULLNAME + name log FULLNAME FILEoffset size next i This does work with the data.pck file but the extracted files are named gibberish: I also tried DoubleFineExplorer which works fine but only works for extracting the files not injecting them back in. Lastly, a tool is mentioned: but the link is dead and I couldn't find any replacements. I think the person who made the tool is still active in this very forum but I don't know even if he still has it. Let's at least try pinging him. Hey @Thief1987 you wouldn't happen to still have this, would you now? Link to comment Share on other sites More sharing options...
Thief1987 Posted 9 hours ago Share Posted 9 hours ago (edited) Maybe they changed encryption for filenames, because script should work as well. Try the tool then BATool -u data.pck BATool -r data.pck Repacked archive will be inside data folder BATool.rar Edited 9 hours ago by Thief1987 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now