Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

[3DS] DGS2 .gmd formats [Dai Gyakuten Saiban 2]

Featured Replies

  • Author
  • Localization

smiler, posted Sat Aug 05, 2017 6:03 am (25243)


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
  • Author
  • Localization

smiler, posted Sun Aug 06, 2017 12:32 pm (25277)


Anyone? It seems like some sort of XOR but I'm uneducated on the subject of decryption.
  • Author
  • Localization

aluigi, posted Mon Aug 07, 2017 3:25 am (25282)


Upload more gmd files.
  • Author
  • Localization

aluigi, posted Tue Aug 08, 2017 2:32 pm (25317)


Do you have also the executable of the game?
  • Author
  • Localization

aluigi, posted Wed Aug 09, 2017 3:58 pm (25347)


ctrtool doesn't extract it
  • Author
  • Localization

aluigi, posted Thu Aug 10, 2017 8:48 pm (25375)


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)
  • Author
  • Localization

smiler, posted Fri Aug 11, 2017 3:16 pm (25392)


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!
  • Author
  • Localization

smiler, posted Tue Jan 02, 2018 4:08 pm (31225)


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.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.