How to make sure if an app is an elf or dol

What you need is HxD (a hex editor), and the homebrew app to test.

Now, a file might be a boot.dol in reality, but it could just be renamed to boot.elf. If you aren't sure if it's really a boot.dol or boot.elf, follow these steps.

1. Open HxD.
2. Press Ctrl+O.
3. Navigate and select the homebrew app's executable (dol/elf)

On the first line, if a boot.dol is present, it should show:

00 00 01

As the first few bits of code.

On a boot.elf, they are:

7F 45 4C 46 01 02 01

Hope this helps someone.

For the more technical people, these are the file signatures of any Wii .dol or .elf.
 

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
Or you could just, you know, look at the file extension. I'm fairly certain apps are almost always named correctly (considering the file names are usually generated by the MAKEFILE, which will name them correctly unless the developer has messed up the MAKEFILE). And even if they aren't, HBC can probably still load them fine.
 

Anon10W1z

Well-Known Member
OP
Member
Joined
Feb 18, 2012
Messages
1,112
Trophies
0
Location
Somewhere over the rainbow
XP
184
Country
United States
Or you could just see if its a boot.dol or boot.elf
*ahem*. Dude, what if the user changes the file extension to an elf and forgets its really a dol, and then tries to use an elf loader on the ".elf"? He would need to make sure it's a real elf, which he can do by reading this guide.

This goes for @SifJar too.

@[member='JoostinOnline']: If a mod thinks this thread should be moved, they will move it.
 

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
Or you could just see if its a boot.dol or boot.elf
*ahem*. Dude, what if the user changes the file extension to an elf and forgets its really a dol, and then tries to use an elf loader on the ".elf"? He would need to make sure it's a real elf, which he can do by reading this guide.

This goes for @SifJar too.

@[member='JoostinOnline']: If a mod thinks this thread should be moved, they will move it.
If the user is a moron who decides it's a good idea to change the extension of a dol to an elf, they will be too stupid to even find this thread. (Alternatively, if they had a valid reason for changing the extension [I cannot think of any, but maybe there is one], they'll not be idiotic enough to forget and need to check. If they did, they'd open it in a hex editor and see if it the first few bytes contain "ELF" in ASCII fairly easily)
 

Luigi2012SM64DS

G-old member
Banned
Joined
Aug 27, 2011
Messages
2,060
Trophies
0
Location
Minecrapt
XP
422
Country
Canada
Or you could just see if its a boot.dol or boot.elf
*ahem*. Dude, what if the user changes the file extension to an elf and forgets its really a dol, and then tries to use an elf loader on the ".elf"? He would need to make sure it's a real elf, which he can do by reading this guide.

This goes for @SifJar too.

@[member='JoostinOnline']: If a mod thinks this thread should be moved, they will move it.
What dude would do that?
 

Anon10W1z

Well-Known Member
OP
Member
Joined
Feb 18, 2012
Messages
1,112
Trophies
0
Location
Somewhere over the rainbow
XP
184
Country
United States
Or you could just see if its a boot.dol or boot.elf
*ahem*. Dude, what if the user changes the file extension to an elf and forgets its really a dol, and then tries to use an elf loader on the ".elf"? He would need to make sure it's a real elf, which he can do by reading this guide.

This goes for @SifJar too.

@[member='JoostinOnline']: If a mod thinks this thread should be moved, they will move it.
What dude would do that?
A stupid user who thinks changing .dol to .elf will make a dol an elf.
 

Slimmmmmm

GBAtemp MoNkEeE
Member
Joined
Nov 1, 2007
Messages
1,770
Trophies
0
Location
the land of lol
XP
528
Country
There is no harm in the information.

However, if you want suggestions then I would add more dol/elf information, an obvious one would be converting them but many other small guides like compressing them etc could all add up to a decent dol/elf basics guide.

You could add anything really like extracting dols from wads, replacing them etc etc....

Always look for the positive and try to help someone when they are trying to help others.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Sonic Angel Knight @ Sonic Angel Knight: :ninja: