ROM Hack [Release] RomFS Builder

SciresM

Developer
OP
Developer
Joined
Mar 21, 2014
Messages
973
Trophies
3
Age
33
XP
8,299
Country
United States
I saw the lack of a good RomFS Builder as a problem, so I made this thing.

SwESwiN.png


It's very, very simple.

Open a folder using the Open button, then hit Go. The program will then generate a RomFS binary.

When it's done, it'll prompt you to save the binary with a file name of your choice.

Source Code is available here: https://github.com/SciresM/RomFS-Builder

And you can download it here: https://github.com/SciresM/RomFS-Builder/releases
 

SciresM

Developer
OP
Developer
Joined
Mar 21, 2014
Messages
973
Trophies
3
Age
33
XP
8,299
Country
United States
*snip*


The primary utility is that it's going to be implemented in pk3DS to enable Romfs building in addition to Exefs building, and also to serve as part of an NCCH builder I'm working on for X/Y/OR/AS that doesn't require an RSF.

Also:
-It's faster than ctr_makerom32 (nintendo sdk program).
-It's easier to use than ctr_makerom32 or Makerom.
-It's written in C#.
 
  • Like
Reactions: I pwned U!

Huntereb

Well-Known Member
Member
Joined
Sep 1, 2013
Messages
3,234
Trophies
0
Website
lewd.pics
XP
2,456
Country
United States
The primary utility is that it's going to be implemented in pk3DS to enable Romfs building in addition to Exefs building, and also to serve as part of an NCCH builder I'm working on for X/Y/OR/AS that doesn't require an RSF.

Also:
-It's faster than ctr_makerom32 (nintendo sdk program).
-It's easier to use than ctr_makerom32 or Makerom.
-It's written in C#.


Aw you're no fun.
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,468
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,903
Country
United States
*snip*


The primary utility is that it's going to be implemented in pk3DS to enable Romfs building in addition to Exefs building, and also to serve as part of an NCCH builder I'm working on for X/Y/OR/AS that doesn't require an RSF.

Also:
-It's faster than ctr_makerom32 (nintendo sdk program).
-It's easier to use than ctr_makerom32 or Makerom.
-It's written in C#.

Wait....PK3DS will have the ability to build changes into a new 3DS/CIA file? (provided all needed files are given to it) If that is true, you have become God/Arceus of Pokemon rom hacking.

Maybe I won't have to worry about needing the game patch since I can ditch the buggy RSF file I have for it. (Game patch overrides certain rom content like game text for example) Currently the RSF file I have results in the rom not booting without the game patch. A problem that seems to be widespread I think.
 

Reisyukaku

Onii-sama~
Developer
Joined
Feb 11, 2014
Messages
1,534
Trophies
2
Website
reisyukaku.org
XP
5,422
Country
United States
Wait....PK3DS will have the ability to build changes into a new 3DS/CIA file? (provided all needed files are given to it) If that is true, you have become God/Arceus of Pokemon rom hacking.

Maybe I won't have to worry about needing the game patch since I can ditch the buggy RSF file I have for it. (Game patch overrides certain rom content like game text for example) Currently the RSF file I have results in the rom not booting without the game patch. A problem that seems to be widespread I think.
Nah, its not a patch thing (but that is a possibility) but with this you can built romfs, and with pk3ds you can build exefs.. then you just need your exheader and there you go.. no need for rsf and you can build a rom with those.
 
  • Like
Reactions: Margen67

SciresM

Developer
OP
Developer
Joined
Mar 21, 2014
Messages
973
Trophies
3
Age
33
XP
8,299
Country
United States
Wait....PK3DS will have the ability to build changes into a new 3DS/CIA file? (provided all needed files are given to it) If that is true, you have become God/Arceus of Pokemon rom hacking.

Maybe I won't have to worry about needing the game patch since I can ditch the buggy RSF file I have for it. (Game patch overrides certain rom content like game text for example) Currently the RSF file I have results in the rom not booting without the game patch. A problem that seems to be widespread I think.


I am under the impression that the "endgame" goal is to be able to take in a romfs/exefs/exheader with pk3DS and spit out a .3ds (.cia I guess, I'll need to look up how that works).

I could be wrong?
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,468
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,903
Country
United States
CIA is not a desirable format for gen 6 pokemon games. I heard there's issue with using SaveDataFiler on them due to anti save swapping code or something.

So CIAs of them isn't as important. Perhaps editing an existing repacked/decrypted rom is a more realistic goal. :D
 

SciresM

Developer
OP
Developer
Joined
Mar 21, 2014
Messages
973
Trophies
3
Age
33
XP
8,299
Country
United States
CIA is not a desirable format for gen 6 pokemon games. I heard there's issue with using SaveDataFiler on them due to anti save swapping code or something.

So CIAs of them isn't as important. Perhaps editing an existing repacked/decrypted rom is a more realistic goal. :D


Right. .3DS generation with no need for rsf based on exheader+romfs+exefs is, I believe, the current goal.
 
D

Deleted User

Guest
Nice. Might need to use this later. I don't know, though. I don't really do 3DS ROM hacking, but people have been wondering if I'll be able to help with Ace Attorney: Dual Destinies translations, so.... Maybe?
 

Nic333

Well-Known Member
Member
Joined
May 3, 2014
Messages
144
Trophies
0
XP
1,046
Country
Brazil
CIA is not a desirable format for gen 6 pokemon games. I heard there's issue with using SaveDataFiler on them due to anti save swapping code or something.

So CIAs of them isn't as important. Perhaps editing an existing repacked/decrypted rom is a more realistic goal. :D
You can fix your savegame using some hex editing, get your securevault from the savedatafiler and overwrite the old one with the new one on an random hex editor
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,468
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,903
Country
United States
The dialog used to navigate to the folder one wants to build is very cumbersome to use. I have to manually navigate it to the folder every time. If it used the normal file open dialog, I can just cut and paste the folder path in to get to the location I have the folder in quickly. My RomFS folder is nested 5+ directories deep and navigating to it everytime I want to build the RomFS is a real time eater for me. :P

This would be one of my top suggestions for this if you are still working on it.
 

SciresM

Developer
OP
Developer
Joined
Mar 21, 2014
Messages
973
Trophies
3
Age
33
XP
8,299
Country
United States
Some news -- I finally finished updating this.

In the first release, it didn't generate the Hash Tables used to verify paths properly -- this meant some games were incompatible (like NSMB2).

I've finished fixing this today -- Hash Tables should be perfectly accurate now, and so all games should be compatible with it.

Download link to the new release is still found at my GitHub: https://github.com/SciresM/RomFS-Builder/releases
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    I got compliments about my weight loss and thought well guess I can pig out again now I'm the piggy
  • BigOnYa @ BigOnYa:
    My biggest prob is alcohol, definitely is fattening
  • K3Nv2 @ K3Nv2:
    I know when to stop at least honestly don't get those that go and go with food
  • BigOnYa @ BigOnYa:
    Or those that order 2 big macs , large fry, ice cream sundie, then a diet coke
  • K3Nv2 @ K3Nv2:
    I might get downing two big macs but nah that's it
  • BigOnYa @ BigOnYa:
    Ok that will be $15.99, cash or charge?
  • K3Nv2 @ K3Nv2:
    My go to orders usually a mcdouble and a mcchicken and I'm happy rarely mess with fries
  • K3Nv2 @ K3Nv2:
    Pro tip ask for that clowns jizzmac sauce on your mcdouble
    +1
  • BigOnYa @ BigOnYa:
    Do they charge extra when you add sauce,etc? I know burger king used to not, but don't know nowadays
  • K3Nv2 @ K3Nv2:
    They may squrit it for free if you ask nice
    +1
  • K3Nv2 @ K3Nv2:
    Last time I got bk it was 35c per sauce fuck you king of my nutsack
    +1
  • K3Nv2 @ K3Nv2:
    I'll buy a bottle of baby rays BBQ for $2 and add it from home out of spite
    +1
  • BigOnYa @ BigOnYa:
    I like baby rays, my favorite is KC masterpiece tho. Figured all you could buy is that there.
  • K3Nv2 @ K3Nv2:
    The metro doesn't discriminate good sauce
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Baby Rays isn't that what killed the crocodile hunter?
  • Psionic Roshambo @ Psionic Roshambo:
    If only he had done an endorsement for them....
  • Psionic Roshambo @ Psionic Roshambo:
    Oy mate don't let a bad bbq sauce kill your party! Baby Rays are killing it!! The flavor hits you right in the chest!
    +1
  • Xdqwerty @ Xdqwerty:
    My phone only has 13% battery so i don't have much time left
  • Xdqwerty @ Xdqwerty:
    Now 12%
  • BigOnYa @ BigOnYa:
    Happy birthday, btw
  • Psionic Roshambo @ Psionic Roshambo:
    Time is running out for your phone!
  • Psionic Roshambo @ Psionic Roshambo:
    Sign up with Emperor Phone plan for unlimited power!!! And minutes!!!
  • AdenTheThird @ AdenTheThird:
    https://youtu.be/JmSqorj-EC0?si=vYqR8D7FZeO4N-TH
    At 1 AM, this video is the funniest thing in the world
    +1
    AdenTheThird @ AdenTheThird: https://youtu.be/JmSqorj-EC0?si=vYqR8D7FZeO4N-TH At 1 AM, this video is the funniest thing in... +1