Romhacking => ROM Hacking Discussion => Topic started by: sephurchin on March 14, 2019, 12:35:44 am

Title: repacking scenario_info.psb.m and scenario_body.bin for Kenka bancho otome
Post by: sephurchin on March 14, 2019, 12:35:44 am
Hello everyone. I'm trying to repack these files for the vita game kenka boncho otome. so far this is what I've done:

Used Python 3.7

Used this program from to unpack the

scenario files, scenario_info.psb.m and scenario_body.bin

Call with 'exm2lib.exe scenario_info.psb.m scenario_body.bin 1' to get a

bunch of "*.ks.scn.m" files that have a "PSB\x00" header.

used this  to get and

Then modified to comment out this line at the bottom of script: # if os.path.splitext(file)[1].lower() == '.scn':

Moved filelist.scn (wont extract all files if it is in same folder)

Call the extract script with ' *.scn.m'

Extracts all files into text files.

Next I can't get to reinsert the text files back. Need help with that as well.

Also you can use this, ,  to extract the .ks.scn.m files and convert to .json files. Then repack.

Now I've seen this that says it can repack the scenario_info.psb.m

and scenario_body.bin, but I can't seem to get it to work.

Any help is appreciated. Thanks!!