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

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by SUPR64, Oct 26, 2015.

  1. SUPR64
    OP

    SUPR64 Advanced Member

    Newcomer
    84
    98
    Sep 22, 2015
    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.
     
  2. Kaphotics

    Kaphotics badc0ded

    Member
    611
    460
    Sep 10, 2010
    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, Oct 26, 2015
    kiwiis and Thelostrune like this.
  3. SUPR64
    OP

    SUPR64 Advanced Member

    Newcomer
    84
    98
    Sep 22, 2015
    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?
     
  4. Neru

    Neru GBAtemp Fan

    Member
    355
    135
    Feb 11, 2015
    United States
    where do you place those two files again? Have one with custom Smash music and wanna test it out.
     
    Jwiz33 likes this.
  5. Kaphotics

    Kaphotics badc0ded

    Member
    611
    460
    Sep 10, 2010
    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.
     
    kiwiis likes this.
  6. Blundermann

    Blundermann GBAtemp Regular

    Member
    173
    124
    Oct 15, 2013
    United States
    How can I run Neo X and Neo Y on HANS?
    The RomFS supplied is split into parts..?
     
    Pikasack likes this.
  7. SUPR64
    OP

    SUPR64 Advanced Member

    Newcomer
    84
    98
    Sep 22, 2015
    United States
    I need a ton of help. I don't even know where to start.
     
  8. Kaphotics

    Kaphotics badc0ded

    Member
    611
    460
    Sep 10, 2010
    United States
    If you can't dump your ROM on your own, just wait for a while for more information to be posted by other users.
     
  9. SUPR64
    OP

    SUPR64 Advanced Member

    Newcomer
    84
    98
    Sep 22, 2015
    United States
    Is there anything I can do productive right now? Like...what will I need to know when I begin making ROM hacks?
     
  10. Trainer Red-Kanto trainer

    Trainer Red-Kanto trainer Newbie

    Newcomer
    2
    0
    Oct 26, 2015
    Mexico
    Where can i even get hans?!, i've been searching for hours
     
  11. mollymax

    mollymax Member

    Newcomer
    27
    3
    Oct 26, 2015
    United States
    i got it smealums the homebrew starter pack
     
    TheRivo likes this.
  12. hacksn5s4

    hacksn5s4 Banned

    Banned
    4,332
    450
    Aug 12, 2015
    smea should add a rom dumper to hans to people can make hacks easeir
     
  13. Shadowtrance

    Shadowtrance GBAtemp Addict

    Member
    2,488
    1,517
    May 9, 2014
    Hervey Bay, Queensland
    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"....
     
    kiwiis likes this.
  14. Arikaido

    Arikaido GBAtemp Regular

    Member
    100
    5
    Jan 29, 2010
    United States
    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?