Jump to content

Broken Age - localization tool


qabriel99

Recommended Posts

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

  • ikskoks changed the title to Broken Age - localization tool

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:

resim.png.44ca38b0437544575b2adacd9eeb8763.png
I also tried DoubleFineExplorer which works fine but only works for extracting the files not injecting them back in.

Lastly, a tool is mentioned:

resim.png.f88f5c4554827394aee2e9ab2af1c0b9.png

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...