ROM Hack (MH4U savegame decrypt) How to XOR a keystream from a Repeating CTR Fail savegame to decrypt it?

lucoia

Well-Known Member
OP
Member
Joined
Nov 29, 2008
Messages
130
Trophies
1
XP
571
Country
Italy
So I followed this tutorial:

https://gbatemp.net/threads/decrypt-re-encrypt-saves-for-most-games-sort-of.364522/

to make my MH4U .3dz legit dump from original EUR cartridge save in the old Repeating CTR Fail and that worked, I played all the tutorial for 20 minutes and the game is working fine.

The savegame can now be opened with 3DSExplorer and I can extract key and image bins too.

I also followed this:

http://3dbrew.org/wiki/Savegames#Repeating_CTR_Fail

and I found a file splitting tool simply called Free File Splitter to make the 512 bytes chunks.

With Ultracompare I also found my keystream which is also present on the key.bin extracted with 3DSExplorer.

Now what I'm not albe to find is a tool that can XOR that keystream from the savegame to decrypt it.

How can I do that? Are there such tools around?
 
  • Like
Reactions: Margen67

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
So I followed this tutorial:

https://gbatemp.net/threads/decrypt-re-encrypt-saves-for-most-games-sort-of.364522/

to make my MH4U .3dz legit dump from original EUR cartridge save in the old Repeating CTR Fail and that worked, I played all the tutorial for 20 minutes and the game is working fine.

The savegame can now be opened with 3DSExplorer and I can extract key and image bins too.

I also followed this:

http://3dbrew.org/wiki/Savegames#Repeating_CTR_Fail

and I found a file splitting tool simply called Free File Splitter to make the 512 bytes chunks.

With Ultracompare I also found my keystream which is also present on the key.bin extracted with 3DSExplorer.

Now what I'm not albe to find is a tool that can XOR that keystream from the savegame to decrypt it.

How can I do that? Are there such tools around?
well iirc 3dsexplorer just decrypts its by default so you can get the decrypted files.....problem is the saves are still signed so editing the saves that way is sort of pointless as you would still need something like SDF to re-import the save.....so you should really just use SDF to extract them in the first place too and not have to worry about making the game use 1.x encryption as SDF can decrypt anyway
 

lucoia

Well-Known Member
OP
Member
Joined
Nov 29, 2008
Messages
130
Trophies
1
XP
571
Country
Italy
So I can just use SDF and extract the user1 from every savegame version.

Still the user1 got another layer of encryption, I suppose there's no way to encrypt the user1 in plaintext yet then?

So, if I want to just mess with the user1 one little change at a time to see what I can change and then convert it back to .sav by reimporting it with SDF is still the best shot I can have instead of trying to modify the .sav in the first place, (which I did already and I posted my results on another topic days ago) is that right?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
    K3Nv2 @ K3Nv2: Tell Kanye I need power