Separate names with a comma.
Discussion in 'Wii - Emulation and Homebrew' started by stfour, Jun 30, 2011.
Last holidays week
...and you better enjoy it. I don't WANT to see an update before then.
Does anyone have a guide on return-to-postLoader from emulators work? I figured out the ROM path is split between argv and argv, but argv points to a forwarder .dol that doesn't exists on my system. Is that only supposed to be tried after trying to launch the channel ID it sends? And what about argv, which is just "postLoader"?
Also, do other forwarders follow this format?
"postLoader" is what tells it that you've launched it through a special section of postLoader. There is the same thing in SE GUI. Check out "postloader.c" and "main.c" in the source code.
I looked at your code, and it looks like it loads a booter stub that launched a .dol file loaded into memory. But nowhere in your code does it show where it's loaded.
All I really need is to figure out the .dol file I should load on exit, since that forwarder .dol it lists in the arguments (sd://ploader/plugins/forwarder.dol) doens't exists for me, so it might not exist for other users.
EDIT: Actually, even the version of SNES9x GX included in that emulator pack doesn't return to postLoader correctly. It just spits me out to the Wii System Menu. What would cause that?
The forwarder.dol is no more used by emulators mod by fix. But the official postloader channel is required (v4 or v5) to have return to postloader working
I have a problem. I can't use my USB drive to load apps when using sneek2o. Is this normal? I am using the latest version of PostLoader. I really want it to work with sneek2o, so I can use Devolution to load games from my USB drive instead of an SD card.
If the forwarder.dol isn't used anymore, would it be possible to replace that with the location of the postLoader .dol so I can load that? I just don't want users to be forced into installing the channel to get return to loader working.
I think that fix has removed the support for calling a dol on exit. So you have to ask him to add it back. The forwarder.dol is just the dol in the channel.
I never tested sneek2o, only (u)neek2o. When I will be back I will give a try
Sorry, but who is "him"? I thought you were the author of postLoader.
All I need is for some way to return to postLoader from a loaded emulator without requiring a channel to be installed.
He is. He's just on vacation right now, so he has no access to any programming tools. I have commit access to the postLoader SVN as well as stfour, so if you have something in mind, I could upload it. I don't know what changes you need made though, so feel free to let me know.
him = fix = FIX94
My idea is if the path to the forwarder.dol isn't used anymore, how about replacing it with the path to the postLoader .dol? It shouldn't be too difficult to get this when launched from HBC. And if it's launched from the channel it can just send an empty string, which the return to loader code won't reach since it'll try to load the channel ID first.
EDIT: On a side note:
Do you happen to have the source to stub.bin? After a quick search I could not find it.
see wiiflow google code repo...
T.K., If you are adding any support to return back from loader, note that both postloader and wiiflow update the stub with the correct one. So just an exit(0) will do the trick. I think then it will be a user choice to install the channel (required).
If you prefer execute the forwarder.dol this is the source (it support only fat, ntfs soon)
For joostin s.e.gui I've experimented another method, postloader copy itself to end of mem2 before executing s.e. This is the faster method, but uses 3Mb of mem2.
If you have any request or need help, I'm here
You want to send me that code please? Even if we don't use it, I'd like to take a look. I've been adding more and more stuff (mostly small) to v1.8, and trying to make the transition smoother between postLoader and SE GUI. That way it will almost appear as if it's built in.
The only issue I have with the current setup is the requirement for the channel. I want to try to make the program launcher agnostic, so I would rather want to avoid scanning for postLoader/wiiflow/etc. program locations if launching the channel fails, since while they will probably be at (sd|usb):/apps/postLoader/boot.dol most of the time, it's possible to move them somewhere else.
The method used for S.E. GUI will not work for my case, since in the emulator we very often find ourselves using most if not all of MEM2.
Stfour, I'm having a problem getting to postloader from neek using the forwarder channel.
I recently had to make a new nand and haven't been able to get it working yet. I deleted all the cfg files from /ploader/. Then start neek. Select ploader forwarder channel. The screen comes up about the config file, i hit make. Then, when i hit ,ok, i get a 3 second code dump and booted back to neek. From then on, selecting the postloader channel from neek gets a black screen.
Postloader channel v4
afaik stfour didn't work neek2o 90+ support yet.
He said he'll look into this when he's back from vacation