[3DS] DGS2 .gmd formats [Dai Gyakuten Saiban 2]
-
- Posts: 15
- Joined: Sat Aug 05, 2017 6:01 am
[3DS] DGS2 .gmd formats [Dai Gyakuten Saiban 2]
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
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
-
- Posts: 15
- Joined: Sat Aug 05, 2017 6:01 am
Re: [3DS] DGS2 .gmd formats
Anyone? It seems like some sort of XOR but I'm uneducated on the subject of decryption.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [3DS] DGS2 .gmd formats
Upload more gmd files.
-
- Posts: 15
- Joined: Sat Aug 05, 2017 6:01 am
Re: [3DS] DGS2 .gmd formats
aluigi wrote:Upload more gmd files.
Here you go. Should be almost all of them.
https://my.mixtape.moe/lzzxie.7z
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [3DS] DGS2 .gmd formats
Do you have also the executable of the game?
-
- Posts: 15
- Joined: Sat Aug 05, 2017 6:01 am
Re: [3DS] DGS2 .gmd formats
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
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [3DS] DGS2 .gmd formats
ctrtool doesn't extract it
-
- Posts: 15
- Joined: Sat Aug 05, 2017 6:01 am
Re: [3DS] DGS2 .gmd formats
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
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [3DS] DGS2 .gmd formats
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)
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)
-
- Posts: 15
- Joined: Sat Aug 05, 2017 6:01 am
Re: [3DS] DGS2 .gmd formats
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!
-
- Posts: 15
- Joined: Sat Aug 05, 2017 6:01 am
Re: [3DS] DGS2 .gmd formats [Dai Gyakuten Saiban 2]
Sorry for the bump, but how do you reimport it back with the two XOR strings using the same script? Reimporting using the same script doesn't work. It gets stuck on the first line of idstring "GMD/0" because the decrypted scripts no longer actually have the GMD magic number.