Setting up Development Environment: Difference between revisions

No edit summary
m Rolled back to previous edit
Line 55: Line 55:
To build your homebrew open a terminal, browse to your homebrew's folder and run make.
To build your homebrew open a terminal, browse to your homebrew's folder and run make.


* This will build a .elf file and a .3dsx file together with a .smdh. The .smdh and .3dsx file are the format required for the [[Homebrew Channel]].
* 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]