Homebrew postLoader4

Toad King

Well-Known Member
Member
Joined
Aug 19, 2009
Messages
374
Trophies
0
XP
546
Country
United States
Does anyone have a guide on return-to-postLoader from emulators work? I figured out the ROM path is split between argv[1] and argv[2], but argv[3] 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[6], which is just "postLoader"?

Also, do other forwarders follow this format?
 

Toad King

Well-Known Member
Member
Joined
Aug 19, 2009
Messages
374
Trophies
0
XP
546
Country
United States
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?
 

stfour

Well-Known Member
OP
Member
Joined
May 24, 2011
Messages
1,592
Trophies
0
XP
350
Country
Italy
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
 

lakaiskateboarding

Well-Known Member
Member
Joined
Oct 1, 2007
Messages
287
Trophies
0
XP
136
Country
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.
 

Toad King

Well-Known Member
Member
Joined
Aug 19, 2009
Messages
374
Trophies
0
XP
546
Country
United States
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
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.
 

stfour

Well-Known Member
OP
Member
Joined
May 24, 2011
Messages
1,592
Trophies
0
XP
350
Country
Italy
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
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 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.

I never tested sneek2o, only (u)neek2o. When I will be back I will give a try ;)
 

Toad King

Well-Known Member
Member
Joined
Aug 19, 2009
Messages
374
Trophies
0
XP
546
Country
United States
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
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.
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.
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
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.
 

JoostinOnline

Certified Crash Test Dummy
Member
Joined
Apr 2, 2011
Messages
11,005
Trophies
1
Location
The Twilight Zone
Website
www.hacksden.com
XP
4,339
Country
United States
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
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.
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.
him = fix = FIX94
 

Toad King

Well-Known Member
Member
Joined
Aug 19, 2009
Messages
374
Trophies
0
XP
546
Country
United States
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.
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:
postLoader 4.0.6

* now using the open source stub by fix/megazig. Old stub.bin can be removed

Do you happen to have the source to stub.bin? After a quick search I could not find it.
 

stfour

Well-Known Member
OP
Member
Joined
May 24, 2011
Messages
1,592
Trophies
0
XP
350
Country
Italy
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)

http://code.google.c...warder%2Fsource

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 ;)
 

JoostinOnline

Certified Crash Test Dummy
Member
Joined
Apr 2, 2011
Messages
11,005
Trophies
1
Location
The Twilight Zone
Website
www.hacksden.com
XP
4,339
Country
United States
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.
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.
 

Toad King

Well-Known Member
Member
Joined
Aug 19, 2009
Messages
374
Trophies
0
XP
546
Country
United States
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)

http://code.google.c...warder%2Fsource

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 ;)
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.
 

masterjakeway

Well-Known Member
Member
Joined
May 3, 2012
Messages
121
Trophies
0
XP
43
Country
United States
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 4.0.8
Postloader channel v4
Uneek+di r92
 

AbdallahTerro

da KiNG
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
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 4.0.8
Postloader channel v4
Uneek+di r92

afaik stfour didn't work neek2o 90+ support yet.
He said he'll look into this when he's back from vacation :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @SylverReZ, lol +1