I tried again to condense Procyon's instructions with any clarifications.
THESE INSTRUCTIONS ARE FOR RUTILE RUBY/STAR SAPPHIRE (they may work for others if you change the variables as needed)
DO NOT SKIP ANY STEPS. IF YOU DON'T UNDERSTAND HOW TO DO IT THAT DOES NOT MEAN SKIP IT. YOU HAVE TO DO EVERY SINGLE PART FOR THIS TO WORK.
1. Install Python 2.7
2. Download packhack (from here:
https://gbatemp.net/threads/tutoria...d-3ds-roms-run-xy-oras-without-update.383055/) and extract it (
http://pastebin.com/A1s8cmsD) links also in this pastebin
3. Go to the ISO site. Download a CIA (in this case it's pre-patched with Rutile Ruby/Sapphire). Make sure you don't use any gameupdates from the eshop for any of the pokemon games, or delete them.
4. Check the game you want to use within HANS and open the ROMFS Path tab and note down the file name it wants for Code & Romfs file. You will need to rename files to the filename its looking for.
5. Exit HANS & Turn off the DS, and put your SD card back into your computer.
6. Place your CIA of the game you want to use in the same folder as packhack
7. Open a notepad file and paste in this, after pasting save as ctrtool.bat and place it in the same folder as ctrtool, which should be in your packhack folder.
Code:
ctrtool --contents=contents name.cia
ctrtool -p --exefs=exefs.bin contents.0000.00000000
ctrtool -t exefs --exefsdir=exefs --decompresscode exefs.bin
ctrtool -p --romfs=romfs.bin contents.0000.00000000
(replace name.cia with CIA file name so for example: Rutile.cia) <--- Very important
- After letting it extract ROMFS + EXFs through ctrtools you will have an Romfs.bin + exefs folder.
- Open HxD and open Romfs.bin, ctrl + E and set length with hex checked to 1000. This should select 000->FF0. Press backspace and it should move the rest of the data in the file to the top. Save it. <---Very important. Will not work if done wrong
- Rename Romfs.bin now to titleid.romfs (title id being what you got from HANS)
- Open exefs folder, and take code.bin and rename it to titleid.code
- Place on your SD in HANS folder.
- Run HANS with Code + Romfs selected. Don't use any other options at all in HANS. I haven't tested if they work.