ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax
It is currently Fri Sep 30, 2022 4:02 am

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon May 21, 2018 5:51 am 

Joined: Mon May 21, 2018 5:41 am
Posts: 2
Here are some example files:
https://drive.google.com/file/d/1ni4YjT ... XEMbG/view
https://drive.google.com/file/d/1hA-ceq ... neCQl/view

The only thing I found about those files is asmodean's exm2lib tool (http://asmodean.reverse.net/pages/exm2lib.html) but it doesn't support that game. I'd be really grateful if someone can help. Thanks in advance.


Top
   
PostPosted: Mon May 21, 2018 9:27 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12984
You need to find the GAME_SEED and key_len of that specific game and edit the exm2lib.exe executable.
There are no quickbms scripts for this format, I already made the decryption work here viewtopic.php?p=22488#p22488 but all the psb parsing has not been done yet.


Top
   
PostPosted: Mon May 21, 2018 10:53 am 

Joined: Mon May 21, 2018 5:41 am
Posts: 2
I'm sorry, could you please elaborate a little more? What are exactly GAME_SEED and key_len? Also, do you have plans on making a quickbms script in the future?


Top
   
PostPosted: Mon May 21, 2018 10:56 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12984
A script maybe, the format is quite boring so it would take some time and desire (that I don't have).

GAME_SEED and key_len are 2 fields necessary for decryption.
For example "Dunamis 15 (XBOX360)" used "4nDSd4sa2v" and 0x54.
For retrieving them you have to analyze the game executable, maybe upload it and if you are lucky someone will check it (I doubt but who knows)


Top
   
PostPosted: Fri Oct 01, 2021 1:14 pm 

Joined: Fri Oct 01, 2021 12:44 pm
Posts: 1
So I was looking around for a means into this game's assets myself (at least the PS4 version), and I have managed a solution. Kinda.

Since asmodean's program (as mentioned above) was no go, I eventually found FreeMoteToolkit for dealing with _body.bin + _info.psb.m. But for a while I was still stuck, because I still needed that "key".
I find an issue thread mentions this post... which is in Chinese, but ultimately translates to: the key is before "script/.script_info.psb.m" in eboot.bin.

And lo and behold, I find it.
Image

It's nx5ik27w2scm7.

I don't know if this key is going to vary between copies, or platforms, but it's a start.

My only problem at the moment is the way FreeMoteToolkit extracts the files. As-is, it extracts more psb files. While those can be on-the-fly extracted too, it leads to an extract folder full of subfolders for each file, and it doesn't maintain the in-archive directory structure. (ie. in the case of O;N's sound_body.bin, the file mentions things like "./data/bgm/bgm28nl.wav", but does not put such file in "./data/bgm/".) This makes things incredibly unwieldy, especially for how many image assets there are.

Regardless, for those that really want to dig into this VN, using FreeMote like so:
.\PsbDecompile.exe info-psb -k nx5ik27w2scm7 .\[file]_info.psb.m -a
... lets me extract the files mostly consistently. (I had to leave off -a for the image assets so it dumped them all to start, then do it again in full, though it still failed on some files anyway.)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited