-
Posts
39 -
Joined
-
Last visited
Reputation
10 GoodAbout pokecon
- Birthday 02/15/1988
-
pokecon started following Pokemon Data Checker BW2 , help with source code to decrypt .sav from bw and Pokemon Encryption
-
help with source code to decrypt .sav from bw
pokecon replied to marcos9191's topic in Saves - Research
I am still facing issues, can you write a .cpp code(command line tool) that will decrypt/encrypt the all PC PKM in the sav file + save it. The program takes the command like this: 1 for encrypt, 0 for decrypt ./file sav.sav 1 (linux) or file.exe sav.sav 1 (windows) What I have (but this only encrypt individual pkm files) http://pastebin.com/TvZU6daz Uses the command file.exe input.pkm output.pkm -
help with source code to decrypt .sav from bw
pokecon replied to marcos9191's topic in Saves - Research
For some reason I couldn't find the .cpp files besides the vb files. Can you post the cpp files here? -
I copy the file content of the second encrypted .pkm file and paste it after the first 136 byte. I am not sure if I am suppose to do that Should I get the second non encrypted pkm file content and encrypt it by continuing the PRNG?
-
Having some encrypted Pokemon files, 136 bytes after 0x400 will match that encrypted pkm file After that 136 byte, starting second encrypted pkm file will no longer match (except the first 8 byte) Do anyone know what could go wrong or how it works after? By the way, it is on a Black 2 save.
-
Pokemon Data Checker BW2
pokecon replied to RubenPikachu's topic in Systems, Flashcards, and Emulation
Thank you, after shuffling I am able to get the first two byte correct but the rest seem be off as I continue to transform using prng() xor 2bytes- 201 replies
-
- black and white
- editor
-
(and 3 more)
Tagged with:
-
Pokemon Data Checker BW2
pokecon replied to RubenPikachu's topic in Systems, Flashcards, and Emulation
I still don't get how the encryption of Pokemon works. Do you mind explaining or maybe post the portion of code in any language? Thank you Here are some info you can use as well: Same for B2W2 and BW; bytes need to be reversed due to little endian, 0x19424 Playtime 0x19424-0x19425 Hours (require byte reverse due to little endian) 0x19426 Minutes 0x19427 Seconds 0x1D934 Adventure Start Date (Number of seconds after 1/1/2000 00:00:00; byte reverse due to little endian)- 201 replies
-
- black and white
- editor
-
(and 3 more)
Tagged with:
-
Pokemon Data Checker BW2
pokecon replied to RubenPikachu's topic in Systems, Flashcards, and Emulation
Question, does the checksum list on the Google doc work for B2W2 also or just BW?- 201 replies
-
- black and white
- editor
-
(and 3 more)
Tagged with:
-
Pokemon Data Checker BW2
pokecon replied to RubenPikachu's topic in Systems, Flashcards, and Emulation
If the remain 0x600 bytes does not change, you can make a drop down list for picking C-Gear images rather than opening a .cgb file.- 201 replies
-
- black and white
- editor
-
(and 3 more)
Tagged with:
-
Pokemon Data Checker BW2
pokecon replied to RubenPikachu's topic in Systems, Flashcards, and Emulation
The byte 0x19420 does not seem stable. 0x19421 is 00 for male, 01 for female.- 201 replies
-
- black and white
- editor
-
(and 3 more)
Tagged with:
-
Pokemon Data Checker BW2
pokecon replied to RubenPikachu's topic in Systems, Flashcards, and Emulation
Can you upload what you know about trainer info like: offset of gender, money, etc. Thanks!- 201 replies
-
- black and white
- editor
-
(and 3 more)
Tagged with:
-
Pokemon Data Checker BW2
pokecon replied to RubenPikachu's topic in Systems, Flashcards, and Emulation
I just figured, PDC only edit trainer info at 0x19404 0x3F404 will still remain the same.- 201 replies
-
- black and white
- editor
-
(and 3 more)
Tagged with:
-
Pokemon Data Checker BW2
pokecon replied to RubenPikachu's topic in Systems, Flashcards, and Emulation
Amazingly I figured there are secret PC Box wallpaper in b2w2 too like previous games, The hex 10-17 are secret, while 00-0F I think are normal. Stored somewhere after the box names. I will try to post more info by tomorrow.- 201 replies
-
- black and white
- editor
-
(and 3 more)
Tagged with:
-
Pokemon Data Checker BW2
pokecon replied to RubenPikachu's topic in Systems, Flashcards, and Emulation
Cool thanks! BTW, is there a way to save all 720 at once also?- 201 replies
-
- black and white
- editor
-
(and 3 more)
Tagged with:
-
Pokemon Data Checker BW2
pokecon replied to RubenPikachu's topic in Systems, Flashcards, and Emulation
Can we have drag and drop PKM? Possibly all 720 at once. Also, there is a small bug that I cannot open save if it is opened by HexCmp2 concurrently.- 201 replies
-
- black and white
- editor
-
(and 3 more)
Tagged with: