ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Wed Dec 08, 2021 9:55 pm

All times are UTC




Post new topic  Reply to topic  [ 23 posts ]  Go to page 1 2 Next
Author Message
PostPosted: Sat Mar 27, 2021 5:38 pm 
User avatar

Joined: Sat Mar 02, 2019 3:24 pm
Posts: 174
Sorry for the long-ass title.
Anyway is there some script or tool to extract bin and psb.m files?


Attachments:
font_body.zip [4.84 MiB]
Downloaded 104 times
Top
   
PostPosted: Sun Mar 28, 2021 9:23 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12681
exm2lib

You need the correct key, there are tons of topics about this mdf format here on zenhax.


Top
   
PostPosted: Sun Mar 28, 2021 10:51 am 
User avatar

Joined: Sat Mar 02, 2019 3:24 pm
Posts: 174
Which key?


Top
   
PostPosted: Wed Mar 31, 2021 7:21 am 
User avatar

Joined: Sat Mar 02, 2019 3:24 pm
Posts: 174
Anyone found the key yet?


Top
   
PostPosted: Fri Apr 02, 2021 12:29 pm 

Joined: Tue Aug 26, 2014 7:33 am
Posts: 36
Mysticus wrote:
Anyone found the key yet?


the key is 523aad2de7132


Top
   
PostPosted: Fri Apr 02, 2021 4:36 pm 
User avatar

Joined: Sat Mar 02, 2019 3:24 pm
Posts: 174
huehuehue wrote:
Mysticus wrote:
Anyone found the key yet?


the key is 523aad2de7132


Thanks but how do I insert?
And where's the keylenght?


Top
   
PostPosted: Sat Apr 03, 2021 6:27 am 

Joined: Tue Aug 26, 2014 7:33 am
Posts: 36
Mysticus wrote:
huehuehue wrote:
Mysticus wrote:
Anyone found the key yet?


the key is 523aad2de7132


Thanks but how do I insert?
And where's the keylenght?


if you uses exm2lib, just replace the key of IS〈インフィニット・ストラトス〉2 イグニッション・ハーツ to that one


Top
   
PostPosted: Sat Apr 03, 2021 8:12 am 
User avatar

Joined: Sat Mar 02, 2019 3:24 pm
Posts: 174
I tried to replace from what you said, but nothing happened.
Is there something wrong I've done?
Which file should I replace inside? exe or cpp?
Sorry. I'm not very with things like this.

Image


Top
   
PostPosted: Sat Apr 03, 2021 12:00 pm 

Joined: Sat Apr 03, 2021 11:50 am
Posts: 4
U can use moded tool what create by russian translator (I'm also from Russia so I apologize for my English).
There is all files what i dumped:
https://mega.nz/fm/AXYDzAwK
Was also able to decrypt the script files. To do this, I used:
https://github.com/number201724/psbfile ... s/tag/v1.0
The last thing left for me is to figure out how to pack all the files back into the mdf (psb.m and bin). Hope for your help with this.
Also please tell me what you used and how you got the key.


Attachments:
exm2lib_mod.rar [46.04 KiB]
Downloaded 106 times
Top
   
PostPosted: Sat Apr 03, 2021 1:09 pm 
User avatar

Joined: Sat Mar 02, 2019 3:24 pm
Posts: 174
Thanks!
But it extracts "scenario" file only.
Also your Mega link leads to home only. Is there a way to decrypt extracted .scn.m files?
Anyway, is 523aad2de7132.
I must thank to huehuehue for the key.


Attachments:
ca01_01.txt.scn.zip [17.35 KiB]
Downloaded 84 times
Top
   
PostPosted: Sat Apr 03, 2021 3:02 pm 

Joined: Sat Apr 03, 2021 11:50 am
Posts: 4
Sorry, here is the correct link:
https://mega.nz/folder/pHI2DBoT#On8ce1opJMY0Cckh3yxaCg
You can decrypt scn.m file with tool what i shared by github link. Just write in console ./decompiler pathToSCN
It's return JSON scenario file.
I also create JS script to fixing images. Let me know if you need it.
If you can figure out how to pack everything back, please let me know.


Top
   
PostPosted: Sat Apr 03, 2021 10:25 pm 

Joined: Tue Aug 26, 2014 7:33 am
Posts: 36
TheEZIC wrote:
Sorry, here is the correct link:
https://mega.nz/folder/pHI2DBoT#On8ce1opJMY0Cckh3yxaCg
You can decrypt scn.m file with tool what i shared by github link. Just write in console ./decompiler pathToSCN
It's return JSON scenario file.
I also create JS script to fixing images. Let me know if you need it.
If you can figure out how to pack everything back, please let me know.


you can use FreeMote to repack them.


Top
   
PostPosted: Mon Apr 05, 2021 5:33 pm 

Joined: Sat Sep 28, 2019 7:00 pm
Posts: 462
TheEZIC wrote:
Also please tell me what you used and how you got the key.

You can just search for "script_info.psb.m" in analyzed code and the key will be in the same function (like explained here).

Example from IDA in the attachment.


Attachments:
sample_function.jpg [283.98 KiB]
Not downloaded yet

_________________
You can request AES keys on rin forums (the list with keys is also there)
AES keys finder and latest UE4 bms scripts: in this post
Top
   
PostPosted: Fri Apr 23, 2021 12:59 pm 

Joined: Sat Apr 03, 2021 11:50 am
Posts: 4
spiritovod wrote:
TheEZIC wrote:
Also please tell me what you used and how you got the key.

You can just search for "script_info.psb.m" in analyzed code and the key will be in the same function (like explained here).

Example from IDA in the attachment.


Sry for stupid question again. I tried to open the psb.m file in IDA pro in 16 bit mode, but I only got the segments, not the functions. What am I doing wrong?


Top
   
PostPosted: Fri Apr 23, 2021 5:35 pm 

Joined: Sat Sep 28, 2019 7:00 pm
Posts: 462
@TheEZIC: That kind of info is stored in compiled executable code, which would be exe for windows, "so" for arm, "main" for switch and eboot for PS platforms respectively. IDA has loaders for the first two types only, for the rest you should add specific loaders to it.

_________________
You can request AES keys on rin forums (the list with keys is also there)
AES keys finder and latest UE4 bms scripts: in this post


Top
   
PostPosted: Sun Apr 25, 2021 9:19 pm 

Joined: Sat Apr 03, 2021 11:50 am
Posts: 4
spiritovod wrote:
@TheEZIC: That kind of info is stored in compiled executable code, which would be exe for windows, "so" for arm, "main" for switch and eboot for PS platforms respectively. IDA has loaders for the first two types only, for the rest you should add specific loaders to it.


thank you, it helped. I wouldn't have thought of it without you


Top
   
PostPosted: Fri Jul 09, 2021 2:09 pm 

Joined: Fri Jul 09, 2021 3:22 am
Posts: 1
TheEZIC wrote:
Sorry, here is the correct link:
https://mega.nz/folder/pHI2DBoT#On8ce1opJMY0Cckh3yxaCg
You can decrypt scn.m file with tool what i shared by github link. Just write in console ./decompiler pathToSCN
It's return JSON scenario file.
I also create JS script to fixing images. Let me know if you need it.
If you can figure out how to pack everything back, please let me know.

Hey, do you have this script to fix images? I'm with some texture issues here to extract textures from Legend of Mana Remake(And it's psb.m file too)


Top
   
PostPosted: Wed Nov 17, 2021 12:39 pm 

Joined: Wed Nov 17, 2021 11:07 am
Posts: 3
Sorry for necroing somewhat but i'm facing a similar roadblock while attempting to mod this switch VN called Maitetsu: Pure Station. My goal is to import/add a language and DLC pack which is PC-exclusive into the switch version via RomFS. i've extracted all the psb.m and .bin files but due to the relative obscurity of this game i was unable to find the key required and i'm also unable to derive it myself as i dont actually have a PC that could run IDA Pro (nor the VN in question, which is why i'm so dead set on trying to port it into my switch). i've also tried requesting help from the russian forum post in @spiritovod's signature
spiritovod wrote:
TheEZIC wrote:
Also please tell me what you used and how you got the key.

You can just search for "script_info.psb.m" in analyzed code and the key will be in the same function (like explained here).
Example from IDA in the attachment.

but my posts were unable to get through and they've been awaiting moderation for a few days now as i'm a new registered user. i'm quite desperate by this point after spending the past week trying to figure this out so i'd be greatly thankful for any help in any shape or form. thank you in advance.

P.S. i also would like to clarify, would it be even possible to port such a DLC pack from the PC version into the switch version? the PC one uses the .xp3 format whereas switch uses the psb.m. any guidance on this would be great as well. i'd be more than willing to donate some ETH to anyone knowledgeable in this matter that could help me out in fulfilling this goal. thank you

P.P.S please PM me if you require any of the relevant game files for the key, i'll upload them asap!


Top
   
PostPosted: Wed Nov 17, 2021 4:48 pm 

Joined: Sat Sep 28, 2019 7:00 pm
Posts: 462
@GamersUnited: Not sure why you're asking it here, since Maitetsu is using different format for archives and different encryption. Old japanese and english versions are supported with GARbro, according to this issue, but Pure Station is not. Maybe it'll help you somehow.
Also, direct porting of anything, which is not supported by the game by default (like DLC materials), may not work in most cases as the game is not aware of how and where such materials should be used.

_________________
You can request AES keys on rin forums (the list with keys is also there)
AES keys finder and latest UE4 bms scripts: in this post


Top
   
PostPosted: Thu Nov 18, 2021 7:14 am 

Joined: Wed Nov 17, 2021 11:07 am
Posts: 3
spiritovod wrote:
@GamersUnited: Not sure why you're asking it here, since Maitetsu is using different format for archives and different encryption. Old japanese and english versions are supported with GARbro, according to this issue, but Pure Station is not. Maybe it'll help you somehow.
Also, direct porting of anything, which is not supported by the game by default (like DLC materials), may not work in most cases as the game is not aware of how and where such materials should be used.

Thanks for the reply, your insight is very appreciated.

In the case of maitetsu: pure station for the switch, i dug through the game files and it is in fact using the same psb.m and .bin file formats as the quintessential quintuplets switch game mentioned in this thread, which is the reason i posted here as i believe it is relevant. For the PC version on the other hand, yes it does use the KiriKiri engine (.xp3 format) which is what GARbro is for, and thanks to your tip i've managed to extract the contents of the DLC patch's xp3 file using the tool.

however my problem now lies with the switch side of things, i am unable to extract the psb.m & .bin files and repack it using exm2lib nor Freemote because i dont have the unique key for pure station (i've tried the quintessential quintuplets one posted above here and sadly it did not work). apologies if my explanation isnt too concise, please kindly check out the first two posts on this relevant gbatemp thread here for more detailed explanation, i believe the topic creator is facing the exact same issue as i am. but due to the popularity of the nekopara series in general the keys for the whole nekopara series have already been found whereas information about pure station is almost nonexistent which i find saddening.

therefore i'd be grateful if you could help me figure out the keys for the psb files for this game. correct me if i'm wrong, but technically the switch version is a port of the PC one, so DLC patches should work too by moving the files from the .xp3 into the psb/bin files and repacking them, right? i'd also appreciate any confirmation on this so that i dont end up a pilgrim seeking an unreachable goal. again, thank you so much for your time and help, if only we had more people like you in this world


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 23 posts ]  Go to page 1 2 Next

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:
cron
Powered by phpBB® Forum Software © phpBB Limited