wiiflow gets the first magic number from the source button magic= line. then takes it to find the background filename in platform ini.
you will need to have 3 plugins. first 2 are inluded in the plugin pack. the 3rd you will have to make.
1. channels.ini
2. emuchannels.ini
3. bothchannels.ini
here is number 3:
[PLUGIN]
magic=424E414E
dolfile=boot.dol
arguments={device}:/{path}/|{name}
romdir=nands
rompartition=-1
filetypes=.wad
displayname=Nand Both
coverfolder=Channels
covercolor=ffffff
bannersound=
consolecoverid=
next, make a source button with all 3 magic numbers but make sure the first one is #3 (424E414E). now add to platform ini 424E414E=bothchannels.
name your background bothchannels. this should work unless i missed something. i'm short on time today. hopefully someone gets what im saying.
Thanks for that. It throws up a few questions:
1) Is there a difference between loading (for example) the Wii games coverflow via the built-in string "source=wii" and using a plugin? Presumably there is, and if we used plugins for all of the built-in types I guess we would hide all tier-changing buttons, as we would only have the plugins tier whose content would be altered via the sourcemenu system.
2) In the above bothnands plugin setup, is the purpose of the 3rd plugin solely so we can link a dedicated background image via the name string in platform.ini? How are duplicates avoided if we are asking for nand + emunand + bothnand channels? nand + emunand would give us the full list.
3) In the channels plugin ini files, do the
romdir and
filetypes settings actually do anything? There are no actual .WAD files in (emu)nands. If
romDir actually does something, does it allow us to create two emunand plugins which point, via different
romDir values
, to two different emunands stored in differently-named parent directories, e.g. "...nands\default" and "...nandsTwo\default"? If not, it seems like that would be a relatively straight-forward possible future enhancement (says me, ignorantly). I guess at the moment when your code sees a channels plugin you are just calling a separate method instead of calling the general method that handles all normal plugins where
romDir and
filetypes is actually important
4) Does the name string which is linked to a magic string in the platform.ini do anything except allow linkage to a background image?
None of the above is important. Cheers.
When we tell WiiFlow to shutdown it seems like it sometimes does it whilst the HDD is still being read or written. I have come across corrupt files in the
WiiFlow\Settings folder a couple of times. Just thought it was worth mentioning. It might have been my fault.