PKHeX is working, and it's not

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Kibido, Feb 7, 2017.

  1. Kibido
    OP

    Kibido GBAtemp Advanced Fan

    Member
    607
    138
    Apr 3, 2014
    Italy
    VC injected a romhack of Pokémon Red (Red Deluxe) and extracted the save with SDF, edited what I wanted with PKHex and then imported. Result: nothing. The point is that if I open the save again (even with other editors) then my edits are still there; why are they not appearing in game? Thanks.
     
  2. Majickhat55

    Majickhat55 The Red Woman

    Member
    3,905
    1,820
    Mar 28, 2016
    United States
    Asshai
    Did you delete the secure data value? And are you 100% sure you're not just restoring the save you dumped in the first place?
     
  3. Kibido
    OP

    Kibido GBAtemp Advanced Fan

    Member
    607
    138
    Apr 3, 2014
    Italy
    Yeah I triple checked I wasn't making any of those mistakes. The save file is called sav.dat, does that have anything to do with it? Because PKHeX reads it anyway... Still when I inject the save and reload the game none of my edits appear.
     
  4. Majickhat55

    Majickhat55 The Red Woman

    Member
    3,905
    1,820
    Mar 28, 2016
    United States
    Asshai
    PKHeX works fine for me with those games, even the rom hacks like Pokemon Brown. I'm not sure what you're doing wrong but it sounds like, you're either not overwriting the save before replacing it, you're replacing the old one, or it's not overwriting the old one when you put it on your SD card. Save.dat is the proper file for those saves. My advice would be to do this:
    1. Export the save to SD
    2. Copy "save.dat" to desktop
    3. Delete the "sav.dat" on your SD card
    4. Edit the save from the desktop in PKHeX
    5. Export the save from PKHeX to your desktop, let it overwrite the old one.
    6. Close PKHeX, then load your edited save to check for your edits.
    7. If present, copy the save to your SD card ( You deleted the old one, so no chance of it not overwriting properly)
    8. Load Pokemon Red Deluxe, and save the game.
    9. Delete the Secure Data Value in SDF
    10. Import your save.
    11. Profit??

    Alternatively you can try a different save manager. I recommend JKSV, it works on all those games and deletes the secure value automatically. Not to mention it uses the actual Title of the game instead of the ID# when you're choosing so there is no room for error.

    I would also like to point out that the Title ID of Pokemon Red Deluxe IS NOT the same as Pokemon Red. So if you used a tutorial or something to get the Title ID to use with SDF, you're replacing the wrong save.
     
    Last edited by Majickhat55, Feb 8, 2017
  5. Kibido
    OP

    Kibido GBAtemp Advanced Fan

    Member
    607
    138
    Apr 3, 2014
    Italy
    Nothing. I swear to god that I'm doing everything correctly, I wouldn't waste your time. When I load the game, do I press Reset and then Continue, do I just press Resume Game or do I load a Restore Point? I've tried all three and they've done fuck all to be honest but I'm going to ask anyway.
    I just loaded my save from my SD card with PKHeX and the fucking edits i made are there! The fuck am I doing wrong? :wacko:
     
  6. Majickhat55

    Majickhat55 The Red Woman

    Member
    3,905
    1,820
    Mar 28, 2016
    United States
    Asshai
    Hmmm, can you send me your save and I'll try to inject it into my Pokemon Red Deluxe and see what happens...
     
  7. Kibido
    OP

    Kibido GBAtemp Advanced Fan

    Member
    607
    138
    Apr 3, 2014
    Italy
  8. Majickhat55

    Majickhat55 The Red Woman

    Member
    3,905
    1,820
    Mar 28, 2016
    United States
    Asshai
  9. Kibido
    OP

    Kibido GBAtemp Advanced Fan

    Member
    607
    138
    Apr 3, 2014
    Italy
    PKHeX.
    The Clefairies are actually Charmanders in game, I suppose they appear as Clefairies because it's a romhack and stuff has been modified and moved, no? Anyway all I did was simply set IV's and EV's to max, and duplicate them to be sure that the editing worked.
     
  10. Majickhat55

    Majickhat55 The Red Woman

    Member
    3,905
    1,820
    Mar 28, 2016
    United States
    Asshai
    Well they look fine to me, I'll import it and see if I get MAX Clefairies nicknamed Charmander. I'll also make Charmanders for good Measure Lol

    — Posts automatically merged - Please don't double post! —

    Oh! It's a Golurk! Lol Not sure why if they were supposed to be Charmanders but uh..... i guess it worked Lol I'll take pics
     
  11. Kibido
    OP

    Kibido GBAtemp Advanced Fan

    Member
    607
    138
    Apr 3, 2014
    Italy
    Yeah the save appears fine loaded on PKHeX, but then when I load it in the game I just have one Charmander with normal stats. I think PKHeX views them as Clefairies because the Pokedex has been altered by the modder, but that shouldn't be a problem.
     
  12. Majickhat55

    Majickhat55 The Red Woman

    Member
    3,905
    1,820
    Mar 28, 2016
    United States
    Asshai
    It worked fine importing them on my end, except they aren't Clefairies, they are Golurks. But that's probably because I'm not playing your rom hack. So the edits seem to work just fine.
    [​IMG] [​IMG]

    — Posts automatically merged - Please don't double post! —

    Try to use a different save manager I guess. I used JKSV and it worked perfectly.
     
  13. Kibido
    OP

    Kibido GBAtemp Advanced Fan

    Member
    607
    138
    Apr 3, 2014
    Italy
    What do you do when you've imported and start the game? Do you just continue, restore point or reset?
     
  14. Majickhat55

    Majickhat55 The Red Woman

    Member
    3,905
    1,820
    Mar 28, 2016
    United States
    Asshai
    Just continue from the title screen.
     
  15. Kibido
    OP

    Kibido GBAtemp Advanced Fan

    Member
    607
    138
    Apr 3, 2014
    Italy
    I don't understand what I'm doing wrong. Just tried with a copy of the original Red to see if it was a problem with the game itself but again, I do everything with JKSM, load my game and my edits aren't there...

    - Start the game, get my first Pokémon and save
    - Open JKSM -> SD/CIA -> locate game -> Save Data Options -> Export Save
    - Open sav.dat located in the JKSM folder -> open and edit with PKHeX -> Export SAV and replace with the previous one in JKSM folder
    - Open JKSM -> SD/CIA -> locate game -> Save Data Options -> Import Save
    - Open the game, resume game or reset and continue, no changes whatsoever
     
  16. Majickhat55

    Majickhat55 The Red Woman

    Member
    3,905
    1,820
    Mar 28, 2016
    United States
    Asshai
    Yeah that's the correct process and exactly what I did. The only difference is I never overwrite the save directly from the removeable directory. I always copy it to my desktop, delete it from the removeable drive, edit, save (overwrite the one on my desktop), then put it into my blank save folder for JKSM....
    Other than that I have no idea why it's not working for you unless it's not written properly from being on the SD card.
     
  17. Kibido
    OP

    Kibido GBAtemp Advanced Fan

    Member
    607
    138
    Apr 3, 2014
    Italy
    The problem are those rsm1.dat and rsm2.dat files. When I delete them and import only the sav.dat file then I get a save data corruption message on opening, the game resets and it finally actually loads from the sav.dat with my edits. What are those, and why does it automatically load from them when I boot the game? In any case problem solved, thank you for your help.
     
    Majickhat55 likes this.
  18. Majickhat55

    Majickhat55 The Red Woman

    Member
    3,905
    1,820
    Mar 28, 2016
    United States
    Asshai
    Those are the restore points. You should turn off the function for that game, and always exit with the home button. If you don't have them enabled, and don't use the touchscreen they won't show up in your exported save, only the secure data value does which needs to be deleted.
     
    Kibido likes this.