[Release] RomFS Builder

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by SciresM, Jan 21, 2015.

  1. SciresM
    OP

    SciresM GBAtemp Advanced Fan

    Member
    596
    1,860
    Mar 21, 2014
    United States
  2. Reisyukaku

    Reisyukaku Onii-sama~

    Member
    1,184
    2,303
    Feb 11, 2014
    United States
    Well I guess i cant make fun of your programming skills anymore lol.. looks good!
     
    Dylan the Tactician likes this.
  3. Huntereb
    This message by Huntereb has been removed from public view by Vulpes Abnocto, Jan 21, 2015, Reason: Worthless comment.
    Jan 21, 2015
  4. SciresM
    OP

    SciresM GBAtemp Advanced Fan

    Member
    596
    1,860
    Mar 21, 2014
    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#.
     
    I pwned U! likes this.
  5. Huntereb

    Huntereb GBAtemp Addict

    Member
    2,748
    949
    Sep 1, 2013
    United States

    Aw you're no fun.
     
  6. liomajor

    liomajor GBAtemp Maniac

    Member
    1,463
    1,065
    Jun 10, 2008
    United States
    Could you add another line for storing romfs instead asking where to save it?

    Example:

    [​IMG]
     
  7. Apache Thunder

    Apache Thunder I have cameras in your head!

    Member
    4,112
    4,063
    Oct 7, 2007
    United States
    Levelland, Texas
    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.
     
  8. Reisyukaku

    Reisyukaku Onii-sama~

    Member
    1,184
    2,303
    Feb 11, 2014
    United States
    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.
     
    Margen67 likes this.
  9. SciresM
    OP

    SciresM GBAtemp Advanced Fan

    Member
    596
    1,860
    Mar 21, 2014
    United States

    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?
     
  10. Apache Thunder

    Apache Thunder I have cameras in your head!

    Member
    4,112
    4,063
    Oct 7, 2007
    United States
    Levelland, Texas
    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
     
  11. SciresM
    OP

    SciresM GBAtemp Advanced Fan

    Member
    596
    1,860
    Mar 21, 2014
    United States

    Right. .3DS generation with no need for rsf based on exheader+romfs+exefs is, I believe, the current goal.
     
    Margen67 and I pwned U! like this.
  12. hackotedelaplaqu

    hackotedelaplaqu GBAtemp Advanced Fan

    Member
    543
    161
    Jan 10, 2009
    France
    Very appreciated.
    Congrats and thanks.
     
    Margen67 likes this.
  13. Tomato Hentai

    Tomato Hentai baja boner blast

    Member
    3,782
    6,202
    Oct 30, 2014
    Canada
    actually north korea. please send help
    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?
     
  14. Asia81

    Asia81 In my Ecchi World <3

    Member
    5,137
    2,562
    Nov 15, 2014
    France
    Albi
    thanks, very useful :)
     
    Margen67 likes this.
  15. gamesquest1

    gamesquest1 Nabnut

    Member
    GBAtemp Patron
    gamesquest1 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    14,150
    9,504
    Sep 23, 2013
    doesnt seem to work for NSMB2...will be good once there is a fully working alternative to ctr_makerom, good work anyway :)
     
  16. Nic333

    Nic333 GBAtemp Regular

    Member
    146
    70
    May 3, 2014
    Brazil
    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
     
  17. alejakaiser

    alejakaiser Member

    Newcomer
    21
    2
    Jan 23, 2015
    I think something was wrong with the RomFS Builder 1.0...

    [​IMG]

    25,4GB?
     
  18. Apache Thunder

    Apache Thunder I have cameras in your head!

    Member
    4,112
    4,063
    Oct 7, 2007
    United States
    Levelland, Texas
    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.
     
  19. SciresM
    OP

    SciresM GBAtemp Advanced Fan

    Member
    596
    1,860
    Mar 21, 2014
    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
     
    hippy dave and Margen67 like this.
  20. DarkFlare69

    DarkFlare69 GBAtemp Psycho!

    Member
    4,744
    2,602
    Dec 8, 2014
    United States
    Ohio
    Now all we need is a good ROM builder! Nice work.
     
    Margen67 likes this.
  21. hippy dave

    hippy dave Butts Butts Megabutts

    Member
    2,592
    1,805
    Apr 30, 2012
    Thanks for this. It appears to work fine under OS X using Mono.