(Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Mysticus
Posts: 182
Joined: Sat Mar 02, 2019 3:24 pm

(Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by Mysticus »

Sorry for the long-ass title.
Anyway is there some script or tool to extract bin and psb.m files?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by aluigi »

exm2lib

You need the correct key, there are tons of topics about this mdf format here on zenhax.
Mysticus
Posts: 182
Joined: Sat Mar 02, 2019 3:24 pm

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by Mysticus »

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

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by huehuehue »

Mysticus wrote:Anyone found the key yet?


the key is 523aad2de7132
Mysticus
Posts: 182
Joined: Sat Mar 02, 2019 3:24 pm

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by Mysticus »

huehuehue wrote:
Mysticus wrote:Anyone found the key yet?


the key is 523aad2de7132


Thanks but how do I insert?
And where's the keylenght?
huehuehue
Posts: 36
Joined: Tue Aug 26, 2014 7:33 am

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by huehuehue »

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
Mysticus
Posts: 182
Joined: Sat Mar 02, 2019 3:24 pm

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by Mysticus »

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
TheEZIC
Posts: 4
Joined: Sat Apr 03, 2021 11:50 am

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by TheEZIC »

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.
Mysticus
Posts: 182
Joined: Sat Mar 02, 2019 3:24 pm

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by Mysticus »

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.
TheEZIC
Posts: 4
Joined: Sat Apr 03, 2021 11:50 am

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by TheEZIC »

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.
huehuehue
Posts: 36
Joined: Tue Aug 26, 2014 7:33 am

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by huehuehue »

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.
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by spiritovod »

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.
TheEZIC
Posts: 4
Joined: Sat Apr 03, 2021 11:50 am

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by TheEZIC »

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?
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by spiritovod »

@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.
TheEZIC
Posts: 4
Joined: Sat Apr 03, 2021 11:50 am

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by TheEZIC »

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
MrVtR
Posts: 1
Joined: Fri Jul 09, 2021 3:22 am

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by MrVtR »

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)
GamersUnited
Posts: 3
Joined: Wed Nov 17, 2021 11:07 am

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by GamersUnited »

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!
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by spiritovod »

@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.
GamersUnited
Posts: 3
Joined: Wed Nov 17, 2021 11:07 am

Re: (Switch) The Quintessential Quintuplets ∬: Summer Memories Also Come in Five .bin .psb.m file help

Post by GamersUnited »

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