I'm making this tutorial so you can easily generate a proper romfs to use with hans.
Here is the video version.
Requirements
If the romfs folder is empty and/or the tool returns an error, it will be copied to log/error.txt. If you can't manage to solve the error, post it here.
Only decrypted cia has been tested, so other modes may not work or be buggy, sorry about that but I don't have much time to test.
Here is the video version.
Requirements
- Python 2.7 installed
- This tools I made
- A encrypted/decrypted rom in 3ds/cia or an actual romfs.bin (Use this thread to dump and decrypt your rom)
- HANS (included on starter kit)
- Extract the tools.
- Put the 3ds/cia/romfs.bin in the same forder (if encrypted, put the romfs xorpad there aswell.)
- Run extract_romfs.bat and follow the indications.
- If everything goes correctly, a romfs folder should be created.
- Edit whatever you want in romfs folder.
- Once you are done, run Romfs builder, a tool made by @SciresM.
- On Romfs Builder select the romfs folder and click go, after a bit it will prompt you to save. Save it as whatever.bin but in the same folder as the bat files.
- Run gen_romfs.bat, it will ask you for the whatever.bin file name, and then for the low titleID (last 8 characters of titleID) of the game you are trying to use with hans. If you don't know it, you can run hans with the game you want to hack and it will show the titleID at the bottom of the config screen.
- If everything goes fine, a titleid.romfs file will be created. Copy that to SD:/hans and you are done.
If the romfs folder is empty and/or the tool returns an error, it will be copied to log/error.txt. If you can't manage to solve the error, post it here.
Only decrypted cia has been tested, so other modes may not work or be buggy, sorry about that but I don't have much time to test.
Last edited by PabloMK7,
, Reason: No longer needs 1000 bytes removal.