• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
1 2 3 4 5 ... 111 Next »

How to manually install a WAD file
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
How to manually install a WAD file
01-14-2021, 02:25 AM (This post was last modified: 01-14-2021, 02:39 AM by Leseratte10.)
#1
Leseratte10 Offline
Wiimmfi-Team
**
Posts: 37
Threads: 7
Joined: Apr 2019
Hi everyone,

I'm trying to write a particular Wii application that's supposed to run on a Wii, not on Dolphin, but during testing I ran into an issue on Dolphin that'll probably also occur on a Wii, and I thought that maybe one of the Dolphin developers has an idea how to fix this issue.

Long story short - if I have write access to a Wii's NAND (or to Dolphin's /Wii folder from the host OS), is there any way I can install a WAD file manually and have it work?

Lets say I have a WAD file with a channel (a homebrew I compiled myself, no illegally downloaded WiiWare or something). I then extract that WAD file and get a bunch of 000000xx files, a TMD and a Ticket.
Then I take the ticket and place it in /ticket/00010001/xxxxxxxx.tik (with xxxxxxxx being the title ID of my channel), I place the 000000xx files and the title.tmd into /title/00010001/xxxxxxxx/content/, and I put the banner.bin into /title/00010001/xxxxxxxx/data/

Then I start the Wii menu in Dolphin, but my new channel is missing. When I go to "Data Management", I see a question mark with "???" as name, which seems to be my new channel (at least it displays the correct number of blocks, and when I delete that ghost channel, my new folders under /title/ go away).

Which step am I missing? What do I need to do to make the Wii Menu recognize and use this new channel I manually injected? Is there some kind of database where the System Menu keeps track of all channels that were installed through the "official" way, and then refuses to use my channel because it's missing?

The channel itself is perfectly valid, when I install the WAD file through Dolphin's "Install WAD" menu the channel shows up and works. If I install it onto a Wii with a WAD manager it also works. But I'd like to install it manually, without using any Dolphin/IOS/Wii functions, just with write access to the NAND.
I have not yet tested if this same way of installing a channel (manually copying the files to the NAND) works on a Wii as I don't want to brick it and currently can't use my bootmii@boot2-Wii.

Does anyone happen to know what I need to do to make this channel show up?

Leseratte10
Find
Reply
01-14-2021, 03:16 AM (This post was last modified: 01-14-2021, 03:52 AM by DacoTaco. Edit Reason: fuck it )
#2
DacoTaco Offline
His royal bitchness Tacoboy
*******
Moderators
Posts: 1,125
Threads: 31
Joined: Mar 2009
i think your method is flawed and i wonder why youre trying to install a title manually if youre working in dolphin, have the source of the channel, have the wad AND the install wad menu works.
there is not really a reason what youre doing makes any sense to me.
[Image: PeachSig.jpg]
[Image: 566286.png]
[Image: 2280403.png]
Website Find
Reply
01-14-2021, 03:47 AM (This post was last modified: 01-14-2021, 03:50 AM by Leseratte10.)
#3
Leseratte10 Offline
Wiimmfi-Team
**
Posts: 37
Threads: 7
Joined: Apr 2019
You're correct, what I'm doing right now on Dolphin doesn't make sense. It's just the first test. The end goal is to get this to run on a Wii, to install a title with just NAND write access but none of the ES_* IOS functions that are normally used to install a WAD file. And I did look at the source code but it's pretty convoluted with all the sub calls to ES functions, and I thought someone might know what I'm missing.
Find
Reply
01-14-2021, 03:50 AM (This post was last modified: 01-14-2021, 04:03 AM by DacoTaco.)
#4
DacoTaco Offline
His royal bitchness Tacoboy
*******
Moderators
Posts: 1,125
Threads: 31
Joined: Mar 2009
Quote:The end goal is to get this to run on a Wii, to install a title with just NAND write access but none of the ES_* IOS functions that are normally used to install a WAD file.
that makes no sense to do.
its wrong, its nasty, its f*cked up , has major brick potential and there is no reason why you should be doing that.
why do you even need to do that?

there are tools to make wads, there are tools to install them, even on unpatched IOS'
hell, i MADE a tool that helps you make the boot/binary/dol .app file for channels for that reason, and it works on wiiu's vwii too.
[Image: PeachSig.jpg]
[Image: 566286.png]
[Image: 2280403.png]
Website Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode