ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Aug 24, 2017 6:55 am

All times are UTC




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Sat Aug 05, 2017 6:03 am 

Joined: Sat Aug 05, 2017 6:01 am
Posts: 6
Hello, I need help with a few file formats. From the game Dai Gyakuten Saiban 2: Naruhodou Ryuunosuke no Kakugo.
They're an encrypted form of .gmd file used for MT Frameworks. I need a way to decrypt them, and re-encrypt them back.
Help would be much appreciated.

Link to the sample file:
https://drive.google.com/file/d/0B_S0wg ... sp=sharing


Top
   
PostPosted: Sun Aug 06, 2017 12:32 pm 

Joined: Sat Aug 05, 2017 6:01 am
Posts: 6
Anyone? It seems like some sort of XOR but I'm uneducated on the subject of decryption.


Top
   
PostPosted: Mon Aug 07, 2017 3:25 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6464
Upload more gmd files.


Top
   
PostPosted: Mon Aug 07, 2017 4:53 pm 

Joined: Sat Aug 05, 2017 6:01 am
Posts: 6
aluigi wrote:
Upload more gmd files.

Here you go. Should be almost all of them.
https://my.mixtape.moe/lzzxie.7z


Top
   
PostPosted: Tue Aug 08, 2017 2:32 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6464
Do you have also the executable of the game?


Top
   
PostPosted: Wed Aug 09, 2017 5:34 am 

Joined: Sat Aug 05, 2017 6:01 am
Posts: 6
aluigi wrote:
Do you have also the executable of the game?


I'll give you the .cia of the game.
https://drive.google.com/file/d/0B_S0wg ... sp=sharing


Top
   
PostPosted: Wed Aug 09, 2017 3:58 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6464
ctrtool doesn't extract it


Top
   
PostPosted: Thu Aug 10, 2017 2:16 am 

Joined: Sat Aug 05, 2017 6:01 am
Posts: 6
aluigi wrote:
ctrtool doesn't extract it

Packhack worked for it, so I'll just give you the extracted form.
https://drive.google.com/file/d/0B_S0wg ... sp=sharing


Top
   
PostPosted: Thu Aug 10, 2017 8:48 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6464
I have found the key:
http://aluigi.org/bms/3ds_gmd_mt.bms

Long story short: the script simply dumps the decrypted data without handling the GMD format (because they are text strings, not files). You can use the reimport mode to put the edited data back but pay attention to not change the length of the strings (use spaces if yours are shorter)


Top
   
PostPosted: Fri Aug 11, 2017 3:16 pm 

Joined: Sat Aug 05, 2017 6:01 am
Posts: 6
aluigi wrote:
I have found the key:
http://aluigi.org/bms/3ds_gmd_mt.bms

Long story short: the script simply dumps the decrypted data without handling the GMD format (because they are text strings, not files). You can use the reimport mode to put the edited data back but pay attention to not change the length of the strings (use spaces if yours are shorter)

Thanks a lot!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 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