Homebrew [Tutorial + Scripts] Usage of HANS.

PabloMK7

Red Yoshi! ^ω^
OP
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,021
Country
Spain
I'm making this tutorial so you can easily generate a proper romfs to use with hans.

Here is the video version.


Requirements
Procedure
  1. Extract the tools.
  2. Put the 3ds/cia/romfs.bin in the same forder (if encrypted, put the romfs xorpad there aswell.)
  3. Run extract_romfs.bat and follow the indications.
  4. If everything goes correctly, a romfs folder should be created.
  5. Edit whatever you want in romfs folder.
  6. Once you are done, run Romfs builder, a tool made by @SciresM.
  7. 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.
  8. 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.
  9. If everything goes fine, a titleid.romfs file will be created. Copy that to SD:/hans and you are done.
Notes.

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.

Gocario

GBAFail'd
Member
Joined
Sep 5, 2015
Messages
640
Trophies
0
Location
Bourg Palette
XP
804
Country
France
I would really like a note about what are exactly .3ds, .cia, romfs.bin, exefs.bin (even .3dsx)
What is the idea of this encryption. (which is encrypted? how do we use it?)
 

PabloMK7

Red Yoshi! ^ω^
OP
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,021
Country
Spain
I would really like a note about what are exactly .3ds, .cia, romfs.bin, exefs.bin (even .3dsx)
What is the idea of this encryption. (which is encrypted? how do we use it?)
3ds/cia -> roms.
romfs -> rom files
Encryption -> Games are encrypted, so nobody can see them. There are several ways to decrypt them.
 

PabloMK7

Red Yoshi! ^ω^
OP
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,021
Country
Spain
Awesome testing these tools out.

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.
;)

well done, but the extractor claims my romfs.bin is not a valid file
Ah... it may be because there are spaces in the filename. If that isn't the problem, check the error log (log\errorlog.txt) to see what happens. I'll try to solve that.

--------------------- MERGED ---------------------------

I'll try to record a video tomorrow... if I have time...
 

Xen0

Well-Known Member
Member
Joined
Oct 8, 2015
Messages
532
Trophies
0
Age
25
XP
1,946
Country
Germany
Thank you for this! I'll try later with my romfs from Pokemon Y because I couldn't find a decrypter for the file...
 

PabloMK7

Red Yoshi! ^ω^
OP
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,021
Country
Spain
What is the purpose of python ? We can run .bat and RomFS Builder without it
Removing first 1000 bytes uses python.

--------------------- MERGED ---------------------------

How do I install Neo x though I tried to brake it but I get black screeen
IDK, I think you must put the files given with the hack. Not sure how Pokemon neo works.
 

PabloMK7

Red Yoshi! ^ω^
OP
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,021
Country
Spain
Can't we do it manually with hxd for example ? gen_romfs.bat will just rename the file, or it will also strip out the first 1000 bytes ?
Actually it only renames and removes 1000 bytes, if you know how to do that. There is no need to use this tool. I made it for people who has problems with hans.
 
  • Like
Reactions: MasterLel

Justin20020

Well-Known Member
Member
Joined
Jun 22, 2015
Messages
813
Trophies
0
Age
30
XP
2,674
Country
Germany
get a blackscreen after using this tool with pokemon x for pokemon neo x. for the last I checked at hans rom fs -> SD to yes and then I pressed OK and i got an blackscreen..

o3ds 9.8 via ninjhax
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    Had a ton of bugs and often crashed. It even didn't support DOS compatibility with older games. :feelsbadman:
  • SylverReZ @ SylverReZ:
    I only grew up with Windows XP because I was lucky.
  • RedColoredStars @ RedColoredStars:
    I downloaded XP on dialup when it came out. Overnights for like a week. cuz I couldn't tie up the phone line during the day. It was so awesome and worked so great going from ME to XP.
  • K3Nv2 @ K3Nv2:
    Vga pins were a dick
  • K3Nv2 @ K3Nv2:
    I kind of want down a large pizza at 10am then crash out
  • ZeroT21 @ ZeroT21:
    Having pizza all day? done it
  • K3Nv2 @ K3Nv2:
    Nah pizza hut open at 10:30
  • ZeroT21 @ ZeroT21:
    just buy a stack of pizza and keep the rest you don't need yet frozen
  • K3Nv2 @ K3Nv2:
    Or buy frozen pizza
  • ZeroT21 @ ZeroT21:
    I buy the regular kind, not the frozen stuff
  • ZeroT21 @ ZeroT21:
    supermarket pizza is ass
  • K3Nv2 @ K3Nv2:
    x65 would just yell at me
  • ZeroT21 @ ZeroT21:
    sounds ok, he didn't pull a gun out ,so...
  • K3Nv2 @ K3Nv2:
    $12 large any style pizza deal
  • K3Nv2 @ K3Nv2:
    Each bite is a $1 well spent
  • SylverReZ @ SylverReZ:
    @ZeroT21, Agreed. I hate oven pizza, only from pizza place.
    +1
  • K3Nv2 @ K3Nv2:
    Nah I can still go for totinos
  • RedColoredStars @ RedColoredStars:
    i like totinos party pizzas. lol.
  • RedColoredStars @ RedColoredStars:
    the cracker-like crust is great on those
  • RedColoredStars @ RedColoredStars:
    My neighbor and I are going to make this next month....
  • SylverReZ @ SylverReZ:
    Tiger crust is great.
  • K3Nv2 @ K3Nv2:
    I'm beefing with a neighbor currently each time I ask him for help with something he makes bs excuses then ignores my calls text but seems to randomly speak when I'm done with the project after doing things to help him
  • RedColoredStars @ RedColoredStars:
    DiGiorno Crispy Pan Pizza tasted pretty dang close to Pizza hut pan pizza, but Im not sure if theyve been discontinued or not. Havent seen them locally for a couple of months now.
  • RedColoredStars @ RedColoredStars:
    The croissant crust is still available though, but not quite as good imo.
    RedColoredStars @ RedColoredStars: The croissant crust is still available though, but not quite as good imo.