ELF files

Discussion in '3DS - Homebrew Development and Emulators' started by Schrax, Oct 2, 2016.

  1. Schrax
    OP

    Schrax Advanced Member

    Newcomer
    1
    May 27, 2016
    France
    Dans le paradis du rubis
    I want to convert homebrew programs source code to an elf file how can I do?
     
  2. xtheman

    xtheman GBAtemp Guru

    Member
    13
    Jan 28, 2016
    United States
    ???
    You can compile a source code as an elf. No converter needed.
     
  3. Schrax
    OP

    Schrax Advanced Member

    Newcomer
    1
    May 27, 2016
    France
    Dans le paradis du rubis
    How can I do to compile it?
     
  4. xtheman

    xtheman GBAtemp Guru

    Member
    13
    Jan 28, 2016
    United States
    ???
    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.
     
  5. nop90

    nop90 GBAtemp Advanced Maniac

    Member
    11
    Jan 11, 2014
    Italy
    Rome
    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
     
    Last edited by nop90, Oct 2, 2016
  6. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    9
    Apr 20, 2007
    United States
    To make CIA versions of a homebrew that does not currently have one compiled.
     
  7. Shah Isah

    Shah Isah GBAtemp Regular

    Member
    2
    Sep 7, 2016
    :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...
     
  8. Roomsaver

    Roomsaver GBAtemp Advanced Fan

    Member
    3
    Sep 7, 2015
    United States
    garfield kart grand prix
    You can't convert from 3DSX to CIA. You can compile the homebrew as ELF and convert it to CIA, though.
     
  9. B_E_P_I_S_M_A_N

    B_E_P_I_S_M_A_N can't think of anything creative to put here

    Member
    8
    Jun 7, 2016
    Antarctica
    Hell
  10. nop90

    nop90 GBAtemp Advanced Maniac

    Member
    11
    Jan 11, 2014
    Italy
    Rome
    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.
     
  11. zoogie

    zoogie playing around in the dsiware

    Member
    19
    Nov 30, 2014
    Micronesia, Federated States of
  12. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    9
    Apr 20, 2007
    United States
    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
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice