[PSP]Second Novel DATA.BIN extraction

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
valgor
Posts: 3
Joined: Sat Nov 12, 2016 4:29 pm

[PSP]Second Novel DATA.BIN extraction

Post by valgor »

Is it possible to make a bms script to extract/repack files from the file DATA.BIN of the game Second Novel?
I tried myself, but I'm no programmer and I haven't any experience in reverse engineering (beside using already available tools).
I think it uses an LZSS compression, since there's actually "lzss" written at the beginning of the file:
Image

Here is a link to the file.

I might actually translate this game in my free time, so I need the scripts and the images that should be edited. I think they're all inside DATA.BIN, but I can't be sure if I don't see what's in there, you know :roll:

Thanks in advance! ;)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [PSP]Second Novel DATA.BIN extraction

Post by aluigi »

valgor
Posts: 3
Joined: Sat Nov 12, 2016 4:29 pm

Re: [PSP]Second Novel DATA.BIN extraction

Post by valgor »

aluigi wrote:http://aluigi.org/bms/second_novel.bms

Thank you, it works like a charm!

Now, there's only one problem left... how do I decrypt and recrypt the lua files? I tried luadec, but it didn't work.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [PSP]Second Novel DATA.BIN extraction

Post by aluigi »

They are compiled lua scripts so you have to try other decompilers (every decompiler supports a different version, there are many)