Jump to content

pokecon

Member
  • Posts

    39
  • Joined

  • Last visited

Everything posted by pokecon

  1. 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
  2. For some reason I couldn't find the .cpp files besides the vb files. Can you post the cpp files here?
  3. 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?
  4. 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.
  5. 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
  6. 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)
  7. Question, does the checksum list on the Google doc work for B2W2 also or just BW?
  8. 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.
  9. The byte 0x19420 does not seem stable. 0x19421 is 00 for male, 01 for female.
  10. Can you upload what you know about trainer info like: offset of gender, money, etc. Thanks!
  11. I just figured, PDC only edit trainer info at 0x19404 0x3F404 will still remain the same.
  12. 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.
  13. Cool thanks! BTW, is there a way to save all 720 at once also?
  14. 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.
  15. Not that I don't understand, but it is weird how the game store a couple trainer info even though only one is needed
  16. There is a lot of improvement to this program. BTW, You can have a function that will run a command for a PKM to be opened with this program: http://projectpokemon.org/forums/showthread.php?780-GTS-website-research&p=67086&viewfull=1#post67086 this way you can just include it with your program other than making another one. But this require python
  17. pokecon

    Pokemon Level

    Wow! It works! Thank you!
  18. I will see if I can rewrite the code. BTW, do you guys know how to determine the Pokemon level by its EXP.
  19. I just discovered Trainer name is also 0x3F404 - 0x3F413
  20. can you add a save fixer so when i manually edit my name using HxD then use your program to fix it to prevent the game showing a blue screen
  21. pokecon

    Pokemon Level

    How can you calculate the level of a Pokemon by its exp
  22. I would donate for PokeGen! But I need the following functions though: -Batch OT info editing that will be applied to all PC Pokemon (so they can obey) -Batch Pokemon Inserting (ex. able to drag and drop 720 .pkm files) -Fix .sav checksum (right now, PokeGen is more like a "save recovery" other than fixing checksum)
×
×
  • Create New...