OmegaDonut Posted March 18, 2014 Posted March 18, 2014 i wish it worked for mac </3 :'( It does work for Mac, using either Wine or Mono.
swarzesherz Posted March 27, 2014 Posted March 27, 2014 Hi to mac users, ported interface to OSX and can you download here (Mono es required): https://github.com/swarzesherz/KeySAV/releases/download/OSX_1.0/KeySAV.tar.gz
ifyfg Posted March 30, 2014 Posted March 30, 2014 will the save used by gateway, now that it supports pokemon, be looked at/supported, is it planned?
OmegaDonut Posted March 30, 2014 Posted March 30, 2014 will the save used by gateway, now that it supports pokemon, be looked at/supported, is it planned? They are no different from the saves ripped with Powersaves. And this tool could've been used with old Gateway Pokemon saves all along.
Shady Guy Jose Posted March 30, 2014 Posted March 30, 2014 They are no different from the saves ripped with Powersaves. And this tool could've been used with old Gateway Pokemon saves all along. They have to be. They're encrypted differently (to the point of incompatibility). I assume that the save from a legit cart used on a Gateway EMUnand will be no different from the save generated by a ROM used on the actual flashcard, but both of these, while equal among themselves, are at least encrypted differently from a normal save.
OmegaDonut Posted March 30, 2014 Posted March 30, 2014 They have to be. They're encrypted differently (to the point of incompatibility). I assume that the save from a legit cart used on a Gateway EMUnand will be no different from the save generated by a ROM used on the actual flashcard, but both of these, while equal among themselves, are at least encrypted differently from a normal save. Let me rephrase - they are no different from regular saves, format-wise. They are encrypted with by XORing with a constant keystream, and the keystreams are generated by the same procedure. The only difference is the data that goes into generating the keystream; emuNAND does not initialize part of the data properly. But that makes no difference to KeySAV.
Shady Guy Jose Posted March 30, 2014 Posted March 30, 2014 Let me rephrase - they are no different from regular saves, format-wise. They are encrypted with by XORing with a constant keystream, and the keystreams are generated by the same procedure. The only difference is the data that goes into generating the keystream; emuNAND does not initialize part of the data properly. But that makes no difference to KeySAV. So basically they're encrypted in the same way, but with a different key than they would normally? Thanks for the explanation.
ifyfg Posted March 31, 2014 Posted March 31, 2014 They are no different from the saves ripped with Powersaves. And this tool could've been used with old Gateway Pokemon saves all along. what do you mean by 'old gateway' pokemon saves? pokemon just started working with it. or do you mean people playing the card/eshop version with emunand etc? sure ok. i will try dumping my cart, which dumps the save with it, in the rom file, i saw some little script on gbatemp to extract it. as far as i know, i won't be able to use my save on the 3ds with gateway, the game was used on a 6.X+ console - as in it contains a 'normal save'. but from what i see and what you said i will be able to use it with keysav, so that is great for people who don't have access to a powersaves device thanks
theSLAYER Posted March 31, 2014 Posted March 31, 2014 what do you mean by 'old gateway' pokemon saves? He meant users playing Pokemon on Emunand. Even though Powersaves can't give em codes, they can backup and use the tool with the same method as shown. From what I know, the tool xors out the encryption. (think of it as cancellation) So it doesn't matter what kind of the encryption is on the save, since we're not doing insertion, mere viewing. [correct me if I'm misinformed]
ifyfg Posted April 2, 2014 Posted April 2, 2014 cool, i used this and the new mass dumper and dumped my pokemon from my retail cart via the dumps i got from my gateway. i had to dump the whole 2GB rom just to get the save, so it took a long time to do it twice to set this up. i assume the keystreams are reset for each save restart, right?
Reisyukaku Posted April 2, 2014 Posted April 2, 2014 cool, i used this and the new mass dumper and dumped my pokemon from my retail cart via the dumps i got from my gateway.i had to dump the whole 2GB rom just to get the save, so it took a long time to do it twice to set this up. i assume the keystreams are reset for each save restart, right? The keystream i believe is unique per cart, and is always the same for each save game on that cart.. You can start a new game on a cart and it'll still have the same keystream, which is great because it makes decrypting a lot of the data easy because its basically encrypted 0s.
ifyfg Posted April 2, 2014 Posted April 2, 2014 The keystream i believe is unique per cart, and is always the same for each save game on that cart.. You can start a new game on a cart and it'll still have the same keystream, which is great because it makes decrypting a lot of the data easy because its basically encrypted 0s. if that is true, then would the key streams be the same for my personal dump of my cart played as a back up? maybe at the moment probably not because on firmware 4.5 the real save encryption is not used, maybe in the future on a higher firmware?
BattleLegend Posted April 12, 2014 Posted April 12, 2014 I have both KeySAV and Mass Dumper. Because i've been using them to figure out dumping my saved pkx files
PeterT999 Posted April 16, 2014 Posted April 16, 2014 Finally got a powersaves, and got my key files and blank file, but on trying to check some eggs, the first row of 6 eggs brought up errors, "@1 - CHK Key Invalid" in both box 1 and box 2 - the rest of the eggs dumped fine. Any clues?
Kaphotics Posted April 16, 2014 Author Posted April 16, 2014 Finally got a powersaves, and got my key files and blank file, but on trying to check some eggs, the first row of 6 eggs brought up errors, "@1 - CHK Key Invalid" in both box 1 and box 2 - the rest of the eggs dumped fine.Any clues? Dump again with your save files switched.
PeterT999 Posted April 17, 2014 Posted April 17, 2014 Dump again with your save files switched. I'm not certain what you meant by that, but I ended up started from scratch, and got it working. Could I get clarification on a Hard Reset - Is is necessary to actually power off the 3ds, or is a [home] button followed by (X) to close sufficient? Many thanks
Kaphotics Posted April 17, 2014 Author Posted April 17, 2014 You just need to save twice; the whole 'hard reset' was to just make sure of everything at the start.
astrocom Posted April 24, 2014 Posted April 24, 2014 Okay guys, I have a question.I got the key breaking to work, but when I made a sav with 30 eggs in box 1 and used my key and blank, it showed the six pokémon I inserted for making the key files instead of the eggs. I did everything the tutorial said literally. And it seemed to work, but my problem persists. I have checked wether I'm using the right files and I am. SAV: Honedge1.bin Key: Box1.bin Blank: Blank.ekx What am I doing wrong? Edit: hard resetting and saving again fixed part of my problem, however I find that when I dump my box it gives errors for the first row of eggs. Perhaps this has something to do with the pokémon for the key beig there normally? I'm having a similar problem, only I see the first six pokemon if the first row of the box is empty, and get errors for that row if anything else is there.
Kaphotics Posted April 24, 2014 Author Posted April 24, 2014 I'm having a similar problem, only I see the first six pokemon if the first row of the box is empty, and get errors for that row if anything else is there. If you read the supplementary material you'd find: "If you get errors while breaking the box, try again by switching the save files around."
astrocom Posted April 24, 2014 Posted April 24, 2014 If you read the supplementary material you'd find:"If you get errors while breaking the box, try again by switching the save files around." Oh man, my bad, I thought I'd already double checked that >_> On an only vaguely related note, does the program require that box 1 be empty for the box 2 save? I haven't tried looking at the source code yet (I'm a bit of a newb with programming), and I'm wondering how difficult it'd be to modify the program to create a single key for the entire box system, and then modify mass dumper to dump it all in a single csv. I figure it seems like it might be relatively simple, maybe it'd be something I could pull off.
Kaphotics Posted April 24, 2014 Author Posted April 24, 2014 Carts are uniquely encrypted and the only way to get the data out is with a before/after sav. The row of 6 is required to get the blank data, and the empty box is required to get the box keystream. -- Mass Dumper already can create multi-box keys and dump the contents to a CSV. There's also another tool "SV Checker" that does what Mass Dumper does, but is a little more configurable.
VanSim Posted May 4, 2014 Posted May 4, 2014 I have a Dongle that allows me to Save the Save file (Save Dongle R4i) but it is not the Power Save Device mentioned here. Anyway I have tried following the instructions given and it does not work for me and I am wondering is it because it only works with the Power Save device or if I am doing something wrong? The Save files I get show as BIN File type Thanks for any advise.
Reisyukaku Posted May 4, 2014 Posted May 4, 2014 I have a Dongle that allows me to Save the Save file (Save Dongle R4i) but it is not the Power Save Device mentioned here. Anyway I have tried following the instructions given and it does not work for me and I am wondering is it because it only works with the Power Save device or if I am doing something wrong?The Save files I get show as BIN File type Thanks for any advise. I'm gonna assume the R4i doesnt add a header to its file, so the only difference between it and powersave is that powersave adds a 0x9C long header to its saves, and it also saves them as .bin files. I'm also gonna assume that this program takes into account that header when parsing, so if the file is .bin, the program thinks its powersaves file, so it will take that into account, but a digital save has no header, and has .sav extension, so if the program sees .sav, it knows there is no header and parses accordingly. So the solution would either be to rename your file to a .sav file, or add 0x9C bytes at the begining of the file.
VanSim Posted May 4, 2014 Posted May 4, 2014 I'm gonna assume the R4i doesnt add a header to its file, so the only difference between it and powersave is that powersave adds a 0x9C long header to its saves, and it also saves them as .bin files. I'm also gonna assume that this program takes into account that header when parsing, so if the file is .bin, the program thinks its powersaves file, so it will take that into account, but a digital save has no header, and has .sav extension, so if the program sees .sav, it knows there is no header and parses accordingly. So the solution would either be to rename your file to a .sav file, or add 0x9C bytes at the begining of the file. thanks. I renamed the files and I still get same error msg, "Keystreams were NOT bruteforced! Start over and try again :("
Reisyukaku Posted May 4, 2014 Posted May 4, 2014 thanks. I renamed the files and I still get same error msg, "Keystreams were NOT bruteforced! Start over and try again :(" Hmm.. if you look at the file in a hex editor and do a ctrl+A .. see how many bytes it is.. if 0x100000 then it should be fine as a .sav, if not, get rid of the first few bytes till it equals that. Other than that, idk.. i'd have to try it myself.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now