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
    456
    91
    Dec 29, 2016
    United Kingdom
    0xD0000000 - 0xD3FFFFFF
    Just curious
     
  2. CatmanFan

    CatmanFan I can't believe I'm using my PS3 again.

    Member
    1,258
    380
    Aug 14, 2016
    Morocco
    W H Y
    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
    456
    91
    Dec 29, 2016
    United Kingdom
    0xD0000000 - 0xD3FFFFFF
    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,567
    1,112
    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
    456
    91
    Dec 29, 2016
    United Kingdom
    0xD0000000 - 0xD3FFFFFF
    Thank you
     
    ScarletDreamz likes this.
  6. ScarletDreamz

    ScarletDreamz [Debug Mode]

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