ROM Hack RELEASE hacbuild - The XCI rebuilder

Deleted member 191657

Well-Known Member
OP
Newcomer
Joined
Aug 10, 2009
Messages
87
Trophies
0
XP
1,315
Country
Italy
FhrcIla.jpg

An eShop only title as cartridge

Today we introduce hacbuild, a tool capable of rebuilding XCI files from scratch!

early warning: This is still developer oriented for now, there is not much to see for end users (yet)

This tool makes it possible (or rather will make it in the future) to:

- Rebuild games with edited files (rom hacks, translations)
- Ultra trim XCI games by removing the update partition (but leaving one file) and by having a more optimized HFS0 builder (this is already possible)
- Load eShop titles as (virtual) cartridges!
- Load homebrew as (virtual) cartridges! (I guess it's viable?)

Unfortunately there are a few limitations:
- XCI Signature becomes invalid (this is a non-issue with SX OS since it bypasses it)
- NCAs can't be edited for now (since there is no way to bypass their RSA signature yet)
- eShop titles won't launch due to the fact that, until we can edit NCAs, they still look for a ticket (should work if you own the game tho)


You can find more info on the GitHub page

We do appreciate (and encourage) helping hands! Here's a list of things to do
 
Last edited by Deleted member 191657,

ganons

Well-Known Member
Member
Joined
Jun 12, 2005
Messages
3,291
Trophies
1
XP
3,108
Country
So would it be possible to replace the roms in Street Fighter 30th Anniversary? They use arcade roms so maybe swap with a better version I.e. street fighter zero 2 alpha
 

Deleted member 191657

Well-Known Member
OP
Newcomer
Joined
Aug 10, 2009
Messages
87
Trophies
0
XP
1,315
Country
Italy
Remove the partition update

With a SX OS can I play Super Mario Odyssey in 3.0.0 ?

That's a good question. You can try but I don't think it'll work.

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

So would it be possible to replace the roms in Street Fighter 30th Anniversary? They use arcade roms so maybe swap with a better version I.e. street fighter zero 2 alpha

Not for now unfortunately. NCAs contain pretty much every resource of every game and we can't run edited ones (yet).
 

steven89

Well-Known Member
Newcomer
Joined
Dec 17, 2016
Messages
97
Trophies
0
Age
34
XP
1,356
Country
@LucaFraga i know this dev oriented but i do own a 3.0.0 switch to test such edits out i also have .xci's just no idea how to use this any directions i would gladly help
 
Last edited by steven89,

Deleted member 191657

Well-Known Member
OP
Newcomer
Joined
Aug 10, 2009
Messages
87
Trophies
0
XP
1,315
Country
Italy
@LucaFraga i know this dev oriented but i do own a 3.0.0 switch to test such edits out i also have .xci's just no idea how to use this any directions i would gladly help

I can't explain step by step, but here's a brief explaination:

- Extract the source xci using hactool
- Read the xci info to an ini file using hacbuild read xci xciname.xci
- Copy the generated ini inside a folder containing "secure", "normal" and "update" extracted from the source and rename it game_info.ini
- Do whatever modification you wish to do (for example delete all the update files but leave a non-empty file)
- Rebuild the xci with hacbuild xci_auto xci_folder out_xci.xci
 

Deleted member 191657

Well-Known Member
OP
Newcomer
Joined
Aug 10, 2009
Messages
87
Trophies
0
XP
1,315
Country
Italy
Say I wanted to load the homebrew app store from the home screen so I pack it as an XCI. How do I pack it as an xci from your tool, how do I customize the icon, and change the text is shows on the home screen?

Doing this requires a bit of knowledge of the NCA and XCI format.

For starters you'd need to edit the metadata NCA ( http://switchbrew.org/index.php?title=NCA for more info ) .
Having done that you'd have to pack your exeFS/romFS inside a NCA container

Having done that and that you can rebuild your XCI. Unfortunately we still can't forge/edit NCAs

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

Also, for anyone willing to help I laid out some Issues that could prove very useful in this tool development: https://github.com/LucaFraga/hacbuild/issues
 

ProNiteBite

Well-Known Member
Newcomer
Joined
Jan 27, 2015
Messages
49
Trophies
0
Age
37
XP
313
Country
United States
Quick question, how do you go about repacking exeFS/romFS to NCA?

Edit: Read a little closer and found out that it's not yet possible. Ignore me.
 
Last edited by ProNiteBite,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Speaking of old stuff those green og Logitech Xbox controllers still being listed around $100
  • The Real Jdbye @ The Real Jdbye:
    eyetoy was fun yeah
  • The Real Jdbye @ The Real Jdbye:
    super basic, but the minigames were well designed
  • The Real Jdbye @ The Real Jdbye:
    i'm sure there's at least 1 emulator out there that works with it
  • Psionic Roshambo @ Psionic Roshambo:
    I had the PS3 one too and The Eye of Judgement game lol was ass
  • The Real Jdbye @ The Real Jdbye:
    i had eye toy play on ps2
  • K3Nv2 @ K3Nv2:
    Microsoft ruined it with kinect
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, PCSX2 works with any web cam and emulates the EyeToy with it
  • K3Nv2 @ K3Nv2:
    I remember mic support for the n64 being janky
  • K3Nv2 @ K3Nv2:
    Emulation wise
  • Psionic Roshambo @ Psionic Roshambo:
    I had a kinnect.... It blew rotting goat balls
  • Psionic Roshambo @ Psionic Roshambo:
    Ken amazingly DraStic microphone support works better than real hardware lol
  • Psionic Roshambo @ Psionic Roshambo:
    On a phone of course
  • Psionic Roshambo @ Psionic Roshambo:
    Also touch is better.... Well at least better than the launch DS, the lite one improved that a ton
  • K3Nv2 @ K3Nv2:
    Touch
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I really need to dig out my USB Wii sensor bar and experiment with Wii emulation and synching Wii remotes with BT lol
  • Psionic Roshambo @ Psionic Roshambo:
    Sort of redundant since I have a Wii lol
  • Psionic Roshambo @ Psionic Roshambo:
    With HDMI lol
  • K3Nv2 @ K3Nv2:
    I also have a Wii
  • K3Nv2 @ K3Nv2:
    Tomorrow be may 4th
  • Psionic Roshambo @ Psionic Roshambo:
    Getting Wiid from Street Pharmacist Mario?
  • K3Nv2 @ K3Nv2:
    1tb SD card for whatever reason
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    USB adapter and use as a Wii hard drive? Lol
  • The Real Jdbye @ The Real Jdbye:
    @K3Nv2 yeah they really did
  • The Real Jdbye @ The Real Jdbye:
    kinect was a good idea, they just didn't release any good games for it
    The Real Jdbye @ The Real Jdbye: kinect was a good idea, they just didn't release any good games for it