I don't have much experience with creating forwarders or with CustomizeMii but when you return to WiiFlow from the hidden channel
(which you can get as part of the plugin pack here
http://code.google.c...ate.7z&can=2&q=)
it always shows the plugins first. Maybe if you extract the DOL from that and use it in your forwarders (assuming you could still change the target folder name) you could get it to work.
Hi Maxternal! Thanks for the tips. I managed to get what I want done. =)
What I did was:
1) I looked into hidden channel source code and realized that it calls the wiiflow executable with a EMULATOR_MAGIC argument, that causes the wiiflow to starts in the plugins window.
2) I looked into the wiiflow source itself and found a function to copy files, it is in the fileOps.c.
3) I downloaded the the Configurable USB Loader Forwarder source code, from
this thread.
4) I modified the
forwarder_no_splash_v12_no_args to copy a special ini file to wiiflow.ini in the same folder the boot.dol is and then it executes wiiflow passing the EMULATOR_MAGIC argument.
5) I inserted these DOLs into channels and it's done. Now my daughter can use the WII the way I wanted she use.
She now has one channel that starts wiiflow only with genesis games, other only with cartoons that will play on mplayerce, etc.
I think this solution was nice because when you exit the game or movie the hidden channel still works as expected and restarts wiiflow on the last item. But there is one problem: You cannot make changes to the wiiflow from the interface because these changes are saved to the wiiflow.ini and this file is overwritten every time you launch the forwarder channel. Well, to me this is not a real problem, if I made some change into the wiiflow.ini, I just rename it to the default.ini and the next time I launch a channel the changes will be there.
I was reading all I wrote above and I think my explanation it's a bit confusing (sorry, my English is very limited). So, I will try to explain how it works.
1) I created several custom forwarders. Each one copys a template ini file to a wiiflow.ini file and then it calls the wiiflow executable passing the EMULATOR_MAGIC argument. I created several custom forwarders:
A snesgx forwarder will copy a file named snesgx.ini to wiiflow.ini, then launches wiiflow.
A mplaycer forwarder will copy a file named mplaycer.ini to wiiflow.ini, then launches wiiflow.
The wiiflow forwarder will copy a file named default.ini to wiiflow.ini, then launches wiiflow.
...and so on. This is nice because I can have one configuration for each forwarder, changing the themes, nand configuration, etc. But again, when I change the settings using wiiflow I need to remember to copy this altered wiiflow.ini to this template file, using sdexplorer.
2) I created a channel for each of these forwarders. In fact, I modified the oficial wiiflow channel and some channels by
mastershoes to use IOS249 (It was necessary to use a IOS with file write support, and I installed d2x v8 base 57 on this slot) and my DOLs.
And that's it!
PS: If anyone is interested on this DOLs, source code or even the forwarder channels, let me know and I will find a way to put it for public download. Just don't pay to much attention to the source code, because my knowledge of C++ is near to nothing and all I did was 98% copy and paste from existing wiiflow code, so I my solution may not be the best one, but it worked for me.