ELF to DOL Converter Wii

From GameBrew
ELF to DOL Converter
Elftodolconverterwii2.png
General
AuthorYossi, Pegasus23, sk8rboy
TypePC utilities
Version1.3
LicenseGNU GPL
Last Updated2008/10/30
Links
Download
Website

When Homebrew Channel Beta 9 came out, it no longer supports any invalid .elf files. So if you had invalid .elf files, the only way to converted them to .dol format is to use some little program that got buried in some directory when/if you installed devkitPPC. This script was written to automate the task of converting all your stuff. It even comes with that little program so you don't need to install the entire devkitPPC.

Note: Old devkitPPC releases actually had broken .elf support and applications should not have been distributed as .elf files. Modern versions of devkitPPC produce valid .elf files that are acceptable as well as .dol files. This script is really only for old .elf releases where the author has yet to release a valid .elf or .dol.

User guide

Just put the other 2 files in your apps folder on the SD card (you need that sd card reader again).

Then run the elf-dol_converter file and follow the directions on the screen.

On Linux and on Mac OS X you may need to do chmod +x elf-dol_converter.sh first.

When you are done, you can leave the files on your SD card, or remove them, whatever floats yer boat.

What does it do

This script looks inside any folders in the same folder that it's in and converts any file it finds that's named boot.elf into a file that's named boot.dol.

If everything goes as planned, the new boot.dol will be in the format HBCb9+ likes.

So you can run it, and it will convert all your apps in one go, as long as they were already setup the way HBC likes them (/apps/app_name/boot.elf).

Notice

  • This script will affect files named boot.elf; files named boot.dol may also get overwritten if they are in the same folder as a boot.elf. Unless your .elf file is named boot.elf, and located in the right place, this script will not touch it.
  • This script deletes the old .elf files after it's done with them. If you want to keep them either back them up beforehand, or edit the script to not erase.
  • There are some valid .elf files out there. Running this script on them will cause them to stop working. Backup your apps folder before you run this.
  • The Linux (and Mac?) version has a little bug where if a directory directly under /apps has a space in its name, the script will complain and not look in that directory.
  • The Windows version has a bug/feature that it will also convert a boot.elf file that is in the same directory as itself (exempli gratia, \apps\boot.elf).

Apps with valid .elf files

These apps should not be run through this converter. Backup these programs before running this script, as it doesn't have the smarts to avoid them. Please add to this list if you find (or release) something that should be in it. So far the list is:

Cheapo workaround is to rename (not convert) each valid boot.elf to boot.dol. HBC still loads it just fine, and this script will ignore it.

Screenshots

elftodolconverterwii3.png

External links

Advertising: