Create Emulators and Homebrews ISO/WBFS to DVD/HDD

Discussion in 'Wii - Emulation and Homebrew' started by knm, Jun 12, 2015.

  1. knm

    knm Advanced Member

    Sep 30, 2012
    United States
    Hey guys, I found this tutorial that show you how to create emulators and homebrew to iso and/or wbfs on Wii Mode. I also found this on WODE website forum ( few years ago, but its gone. And I have to copy, paste it, and save on the notepad or wordpad before it deletes. It create same guy ( that create PunEmu ( And he wrote left this tutorial so it might help you. And He saids:

    -I have recently created a Wii image (.wbfs file) that lets you store emulators and roms on your wode HDD and play the game from the disc channel or a homebrew game loader. This is working in WII mode, so you can use all your classic controllers and wiimotes. I thought I would share the process for those of you that wanted to try it out for yourself.

    -Before I get into the nitty-gritty, heres a video of the thing in action...


    -I do not have anything all packed up, so this will require some coding and/or haxxoring on your part. This IS the homebrew forum, so I assume that people here will have knowledge of making and using wii hombrew. I don't know that I have all the source code readily available, so distributing a binary of an emulator I modified would be a violation of the GPL.

    -you need...
    • devkitPPC
    • source code & required libs for the emulator to be modified
    • the fst devotab library from wiixplorer/FTPii
    • a banner to use, or knowledge of how to make your own
    • wit ( wiims ISO tool ). get the most recent version you can. ive tested this using r1214.
    • wii homebrew ISO template (
    • IOS with the signing bug on your wii
    1) Editing the emulator ( this is without a doubt the hardest step )...
    a) Either build the fst library and install it or add the files to the source code of the emulator.

    b) maybe not necessary, but change the entrypoint of the emu to 0x80004000 to match official dols.

    c) tweek the emulator so that it correctly uses the new "DVD" devotab. i used wiixplorer as a guide for this part.

    d) remove the update code so that if snes9x ever gets a newer version, you wont be bothered to update every time you play your ISO.

    2) creating the first draft of an ISO...
    a) using wit, unpack the homebrew ISO template
    wit COPY <path/to/iso> <path/to/where/you/want/to/extract/the/files> --fst

    b) go into the folder where you extracted the files and find "DATA/sys/main.dol" and replace that with your modified emulator.

    c) recompose the ISO. you need to make sure to use an IOS that has the fakesigning bug, the correct region ( or just let wode patch that ), and a TID that the system menu will accept. (4.2 system menu can be extra picky). here is as example command to create a .wbfs file
    ./wit CP <path/to/extracted/files> /media/wiiHDD/wbfs/snes9x.wbfs --region=1 --ios=36 --id=SNSE9X '--name=Snes9x emulator Disc' --modify=DISC,BOOT,TMD,TICKET

    * the name here will not be shown in the system menu. this is the default name shown in most homebrew loaders.

    d) now you should have a wbfs file with the emulator as the main.dol. booting this game should start your emulator. if you start the system menu with a trucha-bugged IOS, you will get the "gamecube" banner but it will still boot the emu.

    3) adding a banner...
    a) i kinda cheated on this step. i just found a wad for a snes9x channel floating around on the interwebz. then i unpacked the wad, opened the in a hex editor, and chopped off the first 0x40 bytes. this wont work for all wad banners out there, but theres a good chance it will. you can see the name right there near the start of the file. this is the text that will show when you use the system menu. now is a great time to change that name if you want to.

    b) save that as "DATA/files/opening.bnr" inside your extracted files. it has to have this path and no other name or folders in it.

    4) adding roms...
    a) simply put all your roms in any folder structure inside "DATA/files/". whatever makes you happy should work.

    5) build the ISO again...
    a) issue the exact same command to wit that you did before. it should spit out a complete game image.

    The paths used in the fst devotab and wit while talking about the ISO are not actual paths. This is to say, there really is nothing in the ISO that says "DATA/files/" is a path. The path is just a way to deal with imaginary files. Because of this, the filesystem will appear a bit different when you load it in the emulator.
    "DATA/files" in wit is the same as "DVD:/0" in the fst devotab.

    If I can find all the necessary source code, I will try to remember to post a compiled dol and/or pre-built ISO ( without roms ). This should allow even the noobiest of noobs to create an emulator disc.​
    Last edited by knm, Jun 10, 2016
  2. knm

    knm Advanced Member

    Sep 30, 2012
    United States
    Sorry about that, I should put this on the tutorial section so it might help you.
    Last edited by knm, Aug 4, 2015
  3. dishe

    dishe Member

    Apr 11, 2018
    United States
    This is cool, but I found it while just searching for a working link for snes9x ISO. Seems like a lot of work when all I want is a forwarding entry to sit alongside my other wii games in a USB launcher.
    Anyone have just an iso for snes9x?