Are .elf and .dol Files Compiled Differently or is the the Difference Just the File Extension?

Discussion in 'Wii - Emulation and Homebrew' started by HackingNewbie, Mar 7, 2017.

  1. HackingNewbie
    OP

    HackingNewbie GBAtemp Fan

    Member
    477
    96
    Dec 29, 2016
    United Kingdom
    Somewhere in 2008
    Just curious
     
  2. CatmanFan

    CatmanFan Merry Christmas New Year.

    Member
    1,339
    464
    Aug 14, 2016
    Morocco
    IMO, they probably have a different file structure. I heard there's an ELF to DOL converter or something like that.
     
  3. HackingNewbie
    OP

    HackingNewbie GBAtemp Fan

    Member
    477
    96
    Dec 29, 2016
    United Kingdom
    Somewhere in 2008
    Oh yes, I remember that. The homebrew channel refused to load some .elf's and they needed to be converted to .dol's.
     
  4. ScarletDreamz

    ScarletDreamz [Debug Mode]

    Member
    2,806
    1,206
    Feb 16, 2015
    United States
    California
    Quoting someone form other forum:

    Dol files are the pure binary native executable format of both the Wii and the Gamecube. ELF files are the format output by the linker which contain debugging information, dol files are created from the elf files. The dol format is the preferred and recommended format for distribution.
     
    HackingNewbie likes this.
  5. HackingNewbie
    OP

    HackingNewbie GBAtemp Fan

    Member
    477
    96
    Dec 29, 2016
    United Kingdom
    Somewhere in 2008
    Thank you
     
    ScarletDreamz likes this.
  6. ScarletDreamz

    ScarletDreamz [Debug Mode]

    Member
    2,806
    1,206
    Feb 16, 2015
    United States
    California
    You are welcome.
     
    HackingNewbie likes this.