Separate names with a comma.
Discussion in '3DS - Homebrew Development and Emulators' started by Schrax, Oct 2, 2016.
I want to convert homebrew programs source code to an elf file how can I do?
You can compile a source code as an elf. No converter needed.
How can I do to compile it?
If you don't know how it is best you don't mess with it. However depending on what you want to compile the readme.md should tell you how.
Why do you need a 3ds homebrew in Elf format?
Every 3ds homebrew when is compiled is first pached in Elf format, than (if you use the standard makefile of devkitarm) is converted in 3dsx format that is a simplified version of the Elf format.
I can't see any good reason for dealing directly with an Elf format
To make CIA versions of a homebrew that does not currently have one compiled.
:facepalm: if that is the case. You do know that you can convert 3ds homebrew to cia woth little effort nstead of turn it into .elf then cia...
You can't convert from 3DSX to CIA. You can compile the homebrew as ELF and convert it to CIA, though.
You need DevKitARM to compile source code. More on this here: https://www.3dbrew.org/wiki/Setting_up_Development_Environment
Out of curiosity, why do you need the ELF file? It's not like those can be executed straight on the 3DS.
As someone already said, install devkitarm , set the eviroment variables ad use the command "make cia".
But a 3ds homebrew in cia format needs some custom code to handle the interaction with the home menu, or it will likely crash the system on exit.
Some people don't release in CIA format because they don't like the proprietary format, but others don't make CIAs for the additinal work they need.
Yep, I know, I did it with FTBrony after the commits the removed the My Little Pony references and attached it here. If you were trying to reply to the OP, that'd be @Schrax