Line 85:
Line 85:
To build your homebrew, open a Bash shell as described above, browse to the folder of the homebrew you wish to compile, and run <code>make</code>.
To build your homebrew, open a Bash shell as described above, browse to the folder of the homebrew you wish to compile, and run <code>make</code>.
−
* This will build a .elf file and a .3dsx file (the homebrew executable itself).
+
* This will build a .elf file and a .3dsx file (the homebrew executable itself) together with a .smdh file (the icon).
−
** The Homebrew Launcher can only run homebrew in the 3DSX format.
+
** The Homebrew Launcher can only run homebrew in the 3DSX format, and can only display SMDH icons.
+
+
* To build a CCI (.3ds) file, you need to strip the .elf file and use makerom on it (with the provided RSF file):
+
arm-none-eabi-strip '''[ELF file]'''
+
makerom -f cci -o '''[.3ds file]''' -rsf '''[RSF file]''' -target t -exefslogo -elf '''[ELF file]''' -icon '''[icon file]''' -banner '''[banner file]'''
= Troubleshooting =
= Troubleshooting =