Hacking Decrypt & re-encrypt saves for "most" games (sort of)

drfsupercenter

Flash Cart Aficionado
Member
Joined
Mar 26, 2008
Messages
1,909
Trophies
1
XP
1,163
Country
United States
it is possible for everyone to go online with the same save but the unique header information would have to be shared also, at least at this time

Right, that's what I was afraid of.

I created a save with a player named "EventGrabber" for use getting legit wonder cards, I redeemed both my Scizor and Garchomp codes (separate saves, each one has one or the other)
But then I realized it was locked to my cart's header. Whoops :glare:

On the bright side, from what everyone's posted, it's not likely there's any real "unique" data in there after all since you can just fudge the numbers and it'll still work. So I should hopefully be safe from being banned when playing my legit game.

Was just hoping there was a way to set it up so it could be shared without needing the header
 

drfsupercenter

Flash Cart Aficionado
Member
Joined
Mar 26, 2008
Messages
1,909
Trophies
1
XP
1,163
Country
United States
You can use IDs from other games though. Like sticking one from Resident Evil on Pokémon will work fine. So I'm sure there's some algorithm it uses, but at the same time it's not very specific. Obviously we're still unsure how they work.
 

gamesquest1

Nabnut
OP
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
Yeah donor ID's are ok but they still need to be valid from a real game and have the top line unedited you can change the card type identifiers though :P
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,736
Trophies
2
XP
8,561
Country
Tuvalu
Right, that's what I was afraid of.

I created a save with a player named "EventGrabber" for use getting legit wonder cards, I redeemed both my Scizor and Garchomp codes (separate saves, each one has one or the other)
But then I realized it was locked to my cart's header. Whoops :glare:

On the bright side, from what everyone's posted, it's not likely there's any real "unique" data in there after all since you can just fudge the numbers and it'll still work. So I should hopefully be safe from being banned when playing my legit game.

Was just hoping there was a way to set it up so it could be shared without needing the header
if you have the save data still, with the wondercards on, you can still use them to extract the wondercard data, i don't think i saw the data for them on projectpokemon :)
pkhex (pokemon save editing tool) is able to inject and extract wondercard data, i'm pretty sure, so really, as soon as gateway lets us load these editing saves, it will be amazing in respects to pokemon stuff :) by all means, hang on to those save files!

Yeah donor ID's are ok but they still need to be valid from a real game and have the top line unedited you can change the card type identifiers though :P
so if i edit one digit of my unique id, the chances are that it will not work? so that is confirmation that there is a whitelist, correct?
 

gamesquest1

Nabnut
OP
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
There is 2 parts to the unique id's one is the code used for accessing online features which appears to work like a whitlist

Then after a bunch of FF FF ......... There is the cart type ID's these seem to be editable without breaking online compatability the thread on this topic explains it better
 
  • Like
Reactions: cearp

drfsupercenter

Flash Cart Aficionado
Member
Joined
Mar 26, 2008
Messages
1,909
Trophies
1
XP
1,163
Country
United States
if you have the save data still, with the wondercards on, you can still use them to extract the wondercard data, i don't think i saw the data for them on projectpokemon :)
pkhex (pokemon save editing tool) is able to inject and extract wondercard data, i'm pretty sure, so really, as soon as gateway lets us load these editing saves, it will be amazing in respects to pokemon stuff :) by all means, hang on to those save files!


so if i edit one digit of my unique id, the chances are that it will not work? so that is confirmation that there is a whitelist, correct?

I could extract the wonder card yeah, but what I was intending was to make sharable saves for everyone with a Gateway. I don't trust Datel, they tend to just hack stuff, my wonder cards were legitimately obtained :lol:

So until there's a way to actually edit the saves, it would be useless TBH.
I'd rather just share my header and hope I don't get banned


I'm assuming it works similar to a keygen (or rather, the reverse of a keygen, think how serial numbers work for program activations), so when they make new carts they just use said generator to slap a number on it but they all pertain to the same algorithm. The challenge is finding said algorithm, I'm sure someone will crack it given enough time. It's only been what, three days? LOL
 
  • Like
Reactions: cearp

gamesquest1

Nabnut
OP
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
Nope sorry I'm a big noobikins as much as the next guy when it comes to programming :P I can understand pretty much most of what's going on and make educated guesses about stuff but always seen programming as a bit daunting only thing I ever made was hello world On the DS
 
  • Like
Reactions: cearp

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,736
Trophies
2
XP
8,561
Country
Tuvalu
Nope sorry I'm a big noobikins as much as the next guy when it comes to programming :P I can understand pretty much most of what's going on and make educated guesses about stuff but always seen programming as a bit daunting only thing I ever made was hello world On the DS
i can program, c++, java, etc, but this stuff really is too low level for me, i'd have to learn a lot and to be honest i'm not really interested in that myself, it would be really cool to work on it, like what bond697 has achieved was incredible, but i wouldn't want to invest the time needed to reach that ability :)
 

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,869
Trophies
2
Location
At Home :)
XP
4,469
Country
i can program, c++, java, etc, but this stuff really is too low level for me, i'd have to learn a lot and to be honest i'm not really interested in that myself, it would be really cool to work on it, like what bond697 has achieved was incredible, but i wouldn't want to invest the time needed to reach that ability :)

That would be cool carn't you just knock up a small program that you can drag & drop your old .sav files and click convert and then just put them back on your SD card for them to work with .3dz roms. Would be really handy for many if you could do it. If its low level stuff surely its not a problem?
 

gamesquest1

Nabnut
OP
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
low level is harder to use as you need to do stuff manually where as programming languages automate the functions to a degree, it really depends on the programmer though im sure some like working with low level access
 
  • Like
Reactions: cearp

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,736
Trophies
2
XP
8,561
Country
Tuvalu
That would be cool carn't you just knock up a small program that you can drag & drop your old .sav files and click convert and then just put them back on your SD card for them to work with .3dz roms. Would be really handy for many if you could do it. If its low level stuff surely its not a problem?
by 'low level', people mean closer to the hardware, so, coding is more specific to the device you are working on, it's a lot more work etc :)
'high level' basically means all the hard work has been done for you, and instead of lines and lines of nitty gritty code just to get an image to appear on the screen, you can type a nice simple line of code that does the same thing :)

anyway, the problem at the moment with the saves not working when you try to use them on a 3dz rom, with header data, is because the save is encrypted in a way that only the .3ds file can read it. every unique header data with a 3dz, the saves are locked to the unique data. this also means that without the unique data, the save will snot work if it is transfered to a rom without it.

surely, (in the future) it is possible to decrypt the save, and re-encrypt for our 3dz, it making it work. BUT, at the moment it seems, no one (publicly) knows HOW to do this.

maybe given enough time, a guy who understands all the ins and outs of this stuff might be able to do it, or, maybe, a different route, gateway might add a save patch feature, that stops the save from being rejected if it doesn't check out ok, which would make it work.

so - it's not possible yet, and, personally, i'm not good enough to work out how to do it by myself ;)
 

gamesquest1

Nabnut
OP
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
converting the game to save using the CRT fail method allows you to transfer saves between unique ID's without sharing your unique ID, but it assumes everyone would patch their roms to use the Repeating CRT save format


and to clarify the save must be made using the repeating CRT method too, you can still use online with it AND share your saves, but it requires patching each rom
 
  • Like
Reactions: cearp

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,736
Trophies
2
XP
8,561
Country
Tuvalu
just a shame that the saves cannot be converted between the 3(?) save types, of old (ctr fail), the 4.0 (something?) save encryption that is the latest gateway can use, and the new 6.0 key save encryption.
 

gamesquest1

Nabnut
OP
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
idk i would say it should be possible via homebrew, the save transfer tool can convert from 1 format to 6.x encryption so i figure the system in user mode has access to the required functions

Edit: it wouldn't be true 6.x encryption, just how gateway does 6.x encryption, like when playing pokemon in emunand.
 
  • Like
Reactions: cearp

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,736
Trophies
2
XP
8,561
Country
Tuvalu
idk i would say it should be possible via homebrew, the save transfer tool can convert from 1 format to 6.x encryption so i figure the system in user mode has access to the required functions
oh, the sdk tool thing can do that? that's really good news then, let's just hope it is 'important' enough to someone who knows how to do it, to spend their time on :)
 

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,869
Trophies
2
Location
At Home :)
XP
4,469
Country
by 'low level', people mean closer to the hardware, so, coding is more specific to the device you are working on, it's a lot more work etc :)
'high level' basically means all the hard work has been done for you, and instead of lines and lines of nitty gritty code just to get an image to appear on the screen, you can type a nice simple line of code that does the same thing :)

anyway, the problem at the moment with the saves not working when you try to use them on a 3dz rom, with header data, is because the save is encrypted in a way that only the .3ds file can read it. every unique header data with a 3dz, the saves are locked to the unique data. this also means that without the unique data, the save will snot work if it is transfered to a rom without it.

surely, (in the future) it is possible to decrypt the save, and re-encrypt for our 3dz, it making it work. BUT, at the moment it seems, no one (publicly) knows HOW to do this.

maybe given enough time, a guy who understands all the ins and outs of this stuff might be able to do it, or, maybe, a different route, gateway might add a save patch feature, that stops the save from being rejected if it doesn't check out ok, which would make it work.

so - it's not possible yet, and, personally, i'm not good enough to work out how to do it by myself ;)

cearp whats your FC code bud. I wanted to PM you but for some reason I cant send you a personal PM. PM me and let me know your FC code and I will add you asap. add both of mine or just the XL if you want. Please let me know soon as you get this message.
 
  • Like
Reactions: cearp

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: LOL