[Tutorial] How to Edit X/Y & OR/AS Saves with Gateway

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Sorox, Nov 24, 2014.

  1. Sorox
    OP

    Sorox Master Firo Soul

    Member
    827
    75
    Jul 8, 2008
    United States
    Heyo all. Haven't seen an English guide for this yet, so I thought I'd make one up while I'm free at work. I'll update this with pictures and download links when I get home, but a list of steps is fine for now.

    Update 1: Still at work. However, I have not tried this with CIA version. If you are editing saves for the CIA installed version of Or/As or X/Y, please do so at your own risk.

    Update 2: Reworded some parts for a better understanding.

    Update 3: Added some links, cant add pictures until I get home

    Update 4: Realized I cant upload pictures, instead updated what I could with more concrete info

    What you'll need right off the bat:
    3ds on 4.1-4.5 with Gateway 2.6
    Pokemon game in Gateway, Original game cart wont work
    DevMenu to install cia's (Not telling you how to do this, enough guides as is)
    PKHeX - Newest version (11-22-14 as of writing) supports OR/AS (Link: http://projectpokemon.org/forums/showthread.php?36986-PKHeX-(Gen-6-SAV-PKX-Editor))


    1: Download Python 2.7. You'll need it if you dont have savedatafiler.cia installed.
    Link: https://www.python.org/download/releases/2.7/

    2: If you dont have savedatafiler.cia installed already, you'll need it to get your OR/AS save file and import it. Dont bother looking for a download link for it. Trust me, its not easy. Youll need to get the 3ds sdk, which isnt hard to find, and convert the savedatafiler.csu from a csu to a cia, which can be done using this: http://www.maxconsole.com/maxcon_forums/threads/285574-3DS-To-CIA-Converter

    3. The directions for that program are pretty simple, so moving on, install savedatafiler using DevMenu's cia installer

    4. Once installed, open OR/AS or X/Y in Gateway's menu so it appears on your home screen in the gamecard slot, but dont start the game.

    5. Open Savedatafiler

    6. Go to CTR-CARD, should be the first option, this is your emulated game card, in this case, your pokemon game.

    7. Simply hovering over CTR-CARD, press Y to export the save data to your sd card.

    7.5. Shut off your 3ds

    8. Take out your big SD card and put in computer

    9. Under the folder "filer" in your big sd card should be a several folders, and the most recent one is the one you just exported, and within that should be a folder called something like, "000011c4", and within that folder is the "main" file. This is your save that will be edited. Make a backup of this file just in case.

    10. Open the "main" file in PKHeX by going to file, open, and changing the file type to all files, and edit it to your heart's content.
    (FYI, right clicking in the right panel after you open your save will let you edit that box pokemon. Just letting you know cause I had trouble figuring that out.)

    11. Once finished editing, go to the SAV section on the right pane, and hit export sav. It says it'll save as a cybersave file, but its the same as the file you took from your card.

    12. Move the "main" file that you edited back to the folder you took it from.

    13. Disconnect your SD card from the pc and put back into 3ds

    14. In emunand, open OR/AS or X/Y again as you did before, without actually starting the game, and then open savedatafiler.

    15. Go to the sd card pane on the right and import the save following the instructions on the top screen.

    16. If completed successfully, you're good to go. Go to home and start up your pokemon game of choice with edits galore.

    17. ???

    18. Profit.

    Will update as needed, getting off work in an hour.
     


  2. Claros

    Claros Advanced Member

    Newcomer
    51
    4
    Oct 4, 2008
    France
    Thanks for you tutorial, it worked for me ! But now I have a question. What if after reinjecting the save, Savedatafiler now says the save is broken ? How to repair it, knowing that the game is still working fine ?
     
    Margen67 likes this.
  3. Sorox
    OP

    Sorox Master Firo Soul

    Member
    827
    75
    Jul 8, 2008
    United States
    If the game is still working fine, then there's no need to be afraid. Save the game and everything should be fine. First time I edited my save, the game froze. Second time, it didnt even get past the main menu, but 3rd time I was able to play, saved my game, and havent had any issues since.
     
  4. Claros

    Claros Advanced Member

    Newcomer
    51
    4
    Oct 4, 2008
    France
    Yeah, I'm not afraid, the game is still working. ;) I tried to save again but it's still appearing as broken. I play pokemon RO, .cia installed.
     
  5. Sorox
    OP

    Sorox Master Firo Soul

    Member
    827
    75
    Jul 8, 2008
    United States
    You're playing OR cia installed on menu screen? I didnt know that worked with this. I figured it wouldn't, but bravo if it does. If savedatafiler is saying it's broken, that's fine, as long as it works and edits still change the game without preventing you from playing. Message me if this error prevents you from playing though so I can add a bigger warning to backup
     
  6. Claros

    Claros Advanced Member

    Newcomer
    51
    4
    Oct 4, 2008
    France
    Ah my bad, I forgot to mention that when a title is marked as broken, the save can no longer be dumped.
    How did I do ? I searched on http://3ds.essh.co/ the game ID and dumped it correctly. I edited the save with the latest beta of PKHeX. And after, I reinjected the save and the game is still working. But now I can no longer dump it again. :lol:
     
  7. qaz015393

    qaz015393 GBAtemp Fan

    Member
    402
    20
    Jan 28, 2009
    United States
    Thanks for the tutorial. Major props man. Amazing tut. I'll be sure to use this :gba:
     
  8. Sorox
    OP

    Sorox Master Firo Soul

    Member
    827
    75
    Jul 8, 2008
    United States
    If anything, Id attribute your error to the fact you're playing on an installed cia version and not via gateway.

    I dont trust myself to install any cia games, so I personally wont try it, but if anyone knows how to help our good friend Claros, feel free to message him.
     
  9. sgtkwol

    sgtkwol GBAtemp Regular

    Member
    222
    69
    Oct 29, 2008
    United States
    Question about oRaS. Using SaveDataFiler with both games installed as CIA, is everyone seeing ...11c4 and ...11c5 in extdata?
     
  10. kamesenin888

    kamesenin888 GBAtemp Advanced Fan

    Member
    560
    146
    Oct 20, 2007
    dude mine with cia alpha didnt break, modified a torchic to have speedboost and be shiny and everything is fine, also to get the save i used the USER data 11c5 for alpha and it work without problems, i even inject some megas to the party :P lol
     
  11. qaz015393

    qaz015393 GBAtemp Fan

    Member
    402
    20
    Jan 28, 2009
    United States
    I dont have a 'main' file and I pressed Y when I used SaveDataFiler to save and make a backup. I got a file folder. Any help.
     
  12. Sorox
    OP

    Sorox Master Firo Soul

    Member
    827
    75
    Jul 8, 2008
    United States
    Like I said, follow the directions on the top screen when using savedatafiler. I dont remember the exact button you're supposed to press. Just select CTR-Card and press the right button it asks you to to export the save to the sd card.

    I edited the original post. Read through it again, and see if its easier to understand
     
  13. qaz015393

    qaz015393 GBAtemp Fan

    Member
    402
    20
    Jan 28, 2009
    United States
    I dont see CTR-CARD in SaveDataFiler when i opened it.

    Edit:
    K i figured it out but mine is a folder with many other files and folders in it. And when i open it, it asays its a read me only file.
     
  14. Sorox
    OP

    Sorox Master Firo Soul

    Member
    827
    75
    Jul 8, 2008
    United States
    What do you see?
     
  15. moneychild

    moneychild Advanced Member

    Newcomer
    91
    19
    Oct 5, 2013
    United States
    You need to press select and load pokemon before entering save data filer

    Ps: on a side not: I have been editing pokemon x and today I started omega and I have not frozen the game yet.
    Going to keep on trying until I mess up and lose my save
     
  16. qaz015393

    qaz015393 GBAtemp Fan

    Member
    402
    20
    Jan 28, 2009
    United States
    It says my CTR Card is broken :glare: how do I fix it?

    ? Thats not what is in the tut/guide. ... I'm using a cia
     
  17. Sorox
    OP

    Sorox Master Firo Soul

    Member
    827
    75
    Jul 8, 2008
    United States
    I know its not in the guide, assumed people would understand without me telling them to press a button to load up a rom via gateway. If you dont already know how to do that, you shouldnt be messing with this.

    Also, I mention in the guide right near the beginning that I didnt do this with a cia, and cant vouch for it's results, nor do I know how to do it.

    If you are using a cia, dont follow this guide. It will not work for you if you follow it word for word.

    In your case, go thru the numbers in the menu in savedatafiler that isnt red and input them into 3ds.essh.co until you find one that matches pokemon, then tahts the one youd be exporting to your sd card instead of CTR-CARD
     
  18. Ryft

    Ryft GBAtemp Advanced Fan

    Member
    540
    186
    Nov 21, 2013
    United States
    Illinois
    Margen67 likes this.
  19. qaz015393

    qaz015393 GBAtemp Fan

    Member
    402
    20
    Jan 28, 2009
    United States
    I installed a wrong region cia of savedatafiler so that was properly the reason. IM getting the 3ds version now and installing a different cia version.
    For some reason My cias are gone so im reinstalling them. But once im done I'll go and check out doing it with the 3ds version
     
  20. Sorox
    OP

    Sorox Master Firo Soul

    Member
    827
    75
    Jul 8, 2008
    United States
    Best not ask for that sir. Anything in the sdk is considered nintendos property and mods will ban for that kind of stuff. The SDK should be region free anyway.