ROM Hack I don't understand how to make proper use of HANS, aside from region, spoofing, etc.

cimmanonroll

Well-Known Member
OP
Newcomer
Joined
Sep 22, 2015
Messages
89
Trophies
0
Age
21
XP
237
Country
United States
How do I make custom code to load my games with? I've never seen any sort of 'code'. I also couldn't find anything on Google. Romfs also confuses me in general, but that's because I lack knowledge on hex editing. Speaking of which, where do I start, and what do I learn to be able to use hex editing on 3DS titles? I want to contribute to the community and this is my perfect opportunity. Sorry if I'm somehow being dumb one way or another in this post, but I really want to make some interesting stuff for people to try out with this new application.
 

Kaphotics

badc0ded
Member
Joined
Sep 10, 2010
Messages
612
Trophies
0
XP
626
Country
United States
romfs = romfs.bin
code = file within exefs.bin

you have to dump them or obtain those files before you can even do any edits

romfs is basically the filesystem of the game
code is the main game code that is run

to make edits to your game you can edit either of these two files.

romfs has to be unpackaged to the individual romfs files (via ctrtool or etc), then you can edit individual files. Dunno if HANS wants a single romfs binary or would want the unpacked files.
 
Last edited by Kaphotics,

cimmanonroll

Well-Known Member
OP
Newcomer
Joined
Sep 22, 2015
Messages
89
Trophies
0
Age
21
XP
237
Country
United States
romfs = romfs.bin
code = file within exefs.bin

you have to dump them or obtain those files before you can even do any edits

romfs is basically the filesystem of the game
code is the main game code that is run

to make edits to your game you can edit either of these two files.

romfs has to be unpackaged to the individual romfs files (via ctrtool or etc), then you can edit individual files. When done, rebuild the romfs and you're done.
Thank you! However, I'd like to know how I can edit the romfs. Is there a limit to what I can do with them? For example, could I edit the Smash 4 engine or something along the lines? There's a lot of stuff I'm interested in...

I'm studying hex editing right now, it's very simple. I just edit the code, correct? Is there a good program for editing code and/or romfs?
 

Kaphotics

badc0ded
Member
Joined
Sep 10, 2010
Messages
612
Trophies
0
XP
626
Country
United States
Thank you! However, I'd like to know how I can edit the romfs. Is there a limit to what I can do with them? For example, could I edit the Smash 4 engine or something along the lines? There's a lot of stuff I'm interested in...

I'm studying hex editing right now, it's very simple. I just edit the code, correct? Is there a good program for editing code and/or romfs?
romfs/code is essentially the whole game; you can do whatever you want.

'I just edit the code' is vague, you'd need documentation on certain game structures before you make edits, or else you'd crash the game. If there is no documentation, have fun figuring out those things ;)

where do you place those two files again?
HANS tells you where to put them.
 
  • Like
Reactions: kiwiis

cimmanonroll

Well-Known Member
OP
Newcomer
Joined
Sep 22, 2015
Messages
89
Trophies
0
Age
21
XP
237
Country
United States
romfs/code is essentially the whole game; you can do whatever you want.

'I just edit the code' is vague, you'd need documentation on certain game structures before you make edits, or else you'd crash the game. If there is no documentation, have fun figuring out those things ;)


HANS tells you where to put them.
I need a ton of help. I don't even know where to start.
 

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
smea should add a rom dumper to hans to people can make hacks easeir
Yeah the problem there is all rom dumpers (only one homebrew one that i know of, Uncart and then of course gateway menu and clones) seem to run on arm9 which obviously isn't (publicly, who knows what's possible behind the scenes) possible on 9.3 and up (yet).

So it isn't as simple as just "adding a rom dumper"....
 
  • Like
Reactions: kiwiis

Arikaido

Well-Known Member
Member
Joined
Jan 29, 2010
Messages
145
Trophies
0
XP
681
Country
United States
romfs/code is essentially the whole game; you can do whatever you want.

'I just edit the code' is vague, you'd need documentation on certain game structures before you make edits, or else you'd crash the game. If there is no documentation, have fun figuring out those things ;)


HANS tells you where to put them.
If I'm understanding this properly, HANS has nothing to do with the RAM of the game? So it's nothing like NTR? Any "codes" would be directly modifying the game you're playing, not changing what's being read by the game?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    HiradeGirl @ HiradeGirl: :discuss: