Setting up Development Environment: Difference between revisions
No edit summary |
|||
Line 39: | Line 39: | ||
To build your homebrew, it works the same way as for building ctrulib. Open a terminal, browse to your homebrew's folder and run make. | To build your homebrew, it works the same way as for building ctrulib. Open a terminal, browse to your homebrew's folder and run make. | ||
* This will build a .elf file and a .3dsx file together with an icon. The icon and .3dsx file | * This will build a .elf file and a .3dsx file together with an icon. The icon and .3dsx file are the format required for the [[Homebrew Channel]]. | ||
* To build a Gateway-compatible .3ds file you need to strip the .elf file and use makerom on it (with the provided RSF file): | * To build a Gateway-compatible .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] | arm-none-eabi-strip [ELF file] | ||
makerom -f cci -o [.3ds file] -rsf [RSF file] -target d -exefslogo -elf [ELF file] -icon [icon file] -banner [banner file] | makerom -f cci -o [.3ds file] -rsf [RSF file] -target d -exefslogo -elf [ELF file] -icon [icon file] -banner [banner file] |