Homebrew postLoader4

Etheboss

Official LULWUT supporter
Member
Joined
Feb 24, 2009
Messages
2,445
Trophies
0
Location
Around somewhere
XP
851
Country
Netherlands
@[member='Wever'], did DM 2.2 (or any DM 2 version) worked already before?
And what neek rev. are you using?

Just curious...because i had no such luck, also i don't see an updated DM 2.2 for neek anymore on the DM download page..
So i can't try if DM2.2 solves my problem...
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
Ok, problem time, I'm running the latest beta of PL and the latest beta of CFG mod. CFG works from the HBC and I can launch CFG normally from within PL but if I set CFG to autoboot it won't work it code dumps with the following:

80a97920: 81690100 2F8B0000 7D635B78 419E0018
80a97930: 4BFFFA99 801EFE68 3BFF0001 7D20EA14
80a97940: 93890100 3BBD010C 9B490000 7F9DD800

If it helps I have the latest priibooter installed under priiloader and so my Wii will autoboot PL and then PL should then autoboot CFG but as I said it code dumps.

I can reproduce this as well. It's crashing in covercache.c on line 64 and 114 for him. I get a slightly different dump:
Code:
Exception (DSI) occurred!
GPR00 00000000 GPR08 00000000 GPR16 00000000 GPR24 80BF6C38
GPR01 80CD90F0 GPR09 00000000 GPR17 00000000 GPR25 80A9E208
GPR02 80C16040 GPR10 00000000 GPR18 00000000 GPR26 00000000
GPR03 00008600 GPR11 80CD8848 GPR19 00000000 GPR27 00008600
GPR04 00000430 GPR12 CD006438 GPR20 00000000 GPR28 00000000
GPR05 00000000 GPR13 80C18EC0 GPR21 00000000 GPR29 00000000
GPR06 00009032 GPR14 00000000 GPR22 00000002 GPR30 80C20000
GPR07 D7321EAA GPR15 00000000 GPR23 00000001 GPR31 00000000
LR 80A97B00 SRR0 80a97b08 SRR1 00009032 MSR 00001000
DAR 00000100 DSISR 04000000

STACK DUMP:
80a97b08 --> 80a97b00 --> 80a00348 --> 80afb3b4 -->
80afb364

CODE DUMP:
80a97b08:  81690100 2F8B0000 7D635B78 419E0018
80a97b18:  4BFFFA99 801EE860 3BFF0001 7D20EA14
80a97b28:  93890100 3BBD010C 9B490000 7F9DD800

Mine's crashing on covercache.c lines 221, 223, 224.

The crash seems to occur with ANY autoboot application, not just CFG.

My current speculation: it's trying to flush the covercache even though it's not needed(no need to load it if we won't see it due to autoboot), and before the covercache thread is started:
Code:
Querying for interactive mode
vars.tempPath = usb://ploader/temp
Video_LoadTheme(0)
CoverCache_Flush

I'm trying to find where this stray call is at.


Okay, I've fixed it. It was another simple fix in dol.c:
Code:
Index: dol.c
===================================================================
--- dol.c	(revision 110)
+++ dol.c	(working copy)
@@ -143,7 +143,11 @@

Video_LoadTheme (0); // Make sure that theme isn't loaded

-	CoverCache_Flush ();
+	if(!config.autoboot.enabled)
+	{
+		Debug("Autoboot not enabled. Flushing covercache");
+		CoverCache_Flush ();
+	}

sprintf (path, "%s%s", run->path, run->filename);
if (LoadHB (path, EXECUTE_ADDR)
 

Taleweaver

Storywriter
Member
Joined
Dec 23, 2009
Messages
8,691
Trophies
2
Age
43
Location
Belgium
XP
8,102
Country
Belgium
@[member='Wever'], did DM 2.2 (or any DM 2 version) worked already before?
And what neek rev. are you using?

Just curious...because i had no such luck, also i don't see an updated DM 2.2 for neek anymore on the DM download page..
So i can't try if DM2.2 solves my problem...
I think I just mentioned that in the NEEK2O thread: just install the wad on your real nand. I do not know why, but for some reason, DM uses the real nand MIOS in neek2o. It was like that since the first version I tried (0.14 or something).

As for my neek rev: one of the beta versions Overjoy wanted me to test out to fix my bootmii@boot2 loading issues (I think he called it r90, but aside from a possible patch, it was no different from the former latest version). It didn't solve the issue, by the way. But afaik, it's pretty stable otherwise.


(oh, and I know my post could be read as if DM 2.2 didn't work before. That's not what I wanted to say. I simply didn't have time to test it before due to being busy with devolution & neek2o...and non-wii related things :P ).
 

Troelzkii

Active Member
Newcomer
Joined
Apr 26, 2009
Messages
28
Trophies
0
XP
76
Country
Again thanks for a great app that just becomes better and better. Is it possible to implement playback of video files the same way you implemented games via cfg or other usb loaders? Maybe it could use wiimc or similar to play? I am thinking about having a seperate page showing the video files you have in a specified folder on the USB drive (or maybe even om SMB...). The reason for asking is besides it would make PL even more versatile also that I would like to have covers on my cartoon collection for the children so they are able to select themselves... This is only a request to hear if it is possible to do and if it is something you think about adding in the future?
 

Etheboss

Official LULWUT supporter
Member
Joined
Feb 24, 2009
Messages
2,445
Trophies
0
Location
Around somewhere
XP
851
Country
Netherlands
@[member='Wever'], did DM 2.2 (or any DM 2 version) worked already before?
And what neek rev. are you using?

Just curious...because i had no such luck, also i don't see an updated DM 2.2 for neek anymore on the DM download page..
So i can't try if DM2.2 solves my problem...
I think I just mentioned that in the NEEK2O thread: just install the wad on your real nand. I do not know why, but for some reason, DM uses the real nand MIOS in neek2o. It was like that since the first version I tried (0.14 or something).

As for my neek rev: one of the beta versions Overjoy wanted me to test out to fix my bootmii@boot2 loading issues (I think he called it r90, but aside from a possible patch, it was no different from the former latest version). It didn't solve the issue, by the way. But afaik, it's pretty stable otherwise.


(oh, and I know my post could be read as if DM 2.2 didn't work before. That's not what I wanted to say. I simply didn't have time to test it before due to being busy with devolution & neek2o...and non-wii related things :P ).
Hehe, ok..

Anyway good news..OverjoY has compiled a neek version of the latest DM 2.2 for real nand and that one does work in Neek2o...
So i hope Crediar will upload a new Neek version of 2.2 again soon.
 

stfour

Well-Known Member
OP
Member
Joined
May 24, 2011
Messages
1,592
Trophies
0
XP
350
Country
Italy
Did that test build I uploaded a day or so ago fix the cover issues/autoboot crash issue for you guys? Just curious..

It is clear why it doesn't show covers and why the patch solves it.... but what I can't understand is any connection to a possible crash. I will upload an official build soon.

What I can't reproduce is the dump in homebrew browser.... I need more details if possible.

@AbdallahTerro, regarding back to postloader, you are referring to homebrews or channels ? In the last case there is no return to loader yet, but with homebrews it should work ;)
 

stfour

Well-Known Member
OP
Member
Joined
May 24, 2011
Messages
1,592
Trophies
0
XP
350
Country
Italy
Ok, problem time, I'm running the latest beta of PL and the latest beta of CFG mod. CFG works from the HBC and I can launch CFG normally from within PL but if I set CFG to autoboot it won't work it code dumps with the following:

80a97920: 81690100 2F8B0000 7D635B78 419E0018
80a97930: 4BFFFA99 801EFE68 3BFF0001 7D20EA14
80a97940: 93890100 3BBD010C 9B490000 7F9DD800

If it helps I have the latest priibooter installed under priiloader and so my Wii will autoboot PL and then PL should then autoboot CFG but as I said it code dumps.

Can you give a try with latest official cfg v70 ? I never tested any mod...

http://code.google.c...70.zip&can=2&q=

edit... sorry I've not read your message with the required attention... I'll check it tonight...
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
Did that test build I uploaded a day or so ago fix the cover issues/autoboot crash issue for you guys? Just curious..

It is clear why it doesn't show covers and why the patch solves it.... but what I can't understand is any connection to a possible crash. I will upload an official build soon.

It's a seperate issue. I think it was dumping for him because PL tries to Flush the covercache when the thread for cover cache management is never started/loaded(see my previous post that fixed it):

http://gbatemp.net/topic/299384-postloader4/page__view__findpost__p__4317097

I just added a check that makes sure we're not autobooting before flushing it if we're about to load a homebrew(implying the proper threads are all started anyway, by that point).
 

stfour

Well-Known Member
OP
Member
Joined
May 24, 2011
Messages
1,592
Trophies
0
XP
350
Country
Italy
Did that test build I uploaded a day or so ago fix the cover issues/autoboot crash issue for you guys? Just curious..

It is clear why it doesn't show covers and why the patch solves it.... but what I can't understand is any connection to a possible crash. I will upload an official build soon.

It's a seperate issue. I think it was dumping for him because PL tries to Flush the covercache when the thread for cover cache management is never started/loaded(see my previous post that fixed it):

http://gbatemp.net/t...ost__p__4317097

I just added a check that makes sure we're not autobooting before flushing it if we're about to load a homebrew(implying the proper threads are all started anyway, by that point).

Ouch, sorry, I miss this... it make sense...
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
I mean..I could be wrong about the real cause, but that seems to be the most likely candidate, given that it stops the crash, and I haven't seen any other dumps or issues with it.
 

stfour

Well-Known Member
OP
Member
Joined
May 24, 2011
Messages
1,592
Trophies
0
XP
350
Country
Italy
I mean..I could be wrong about the real cause, but that seems to be the most likely candidate, given that it stops the crash, and I haven't seen any other dumps or issues with it.

No, you are right, CoverCache_Start is called only when in interactive mode... CoverCache_Flush is always called at shutdown... this causes for sure a crash.
 
Joined
Jul 6, 2012
Messages
21
Trophies
0
XP
158
Country
Swaziland
I think I found a bug. Ocarina codes are not working for Virtual console and WiiWare games, both in real and emunand. In Gecko OS they are working fine, so it's not a problem of the cheats. I have the codes in the folder /codes on the root of the SD Card. It's also don't working if I have the cheats on USB.
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
I mean no offense by this, but you have enabled the cheats by pressing B over the VC/WW game you want to launch, and changing Ocarina from No Ocarina to Ocarina from USB or Ocarina from SD, right? Just starting with the basics. :)
 

stfour

Well-Known Member
OP
Member
Joined
May 24, 2011
Messages
1,592
Trophies
0
XP
350
Country
Italy
I mean no offense by this, but you have enabled the cheats by pressing B over the VC/WW game you want to launch, and changing Ocarina from No Ocarina to Ocarina from USB or Ocarina from SD, right? Just starting with the basics. :)

..also an hook must be selected ;)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    @K3Nv2, RIP Felix does great videos on the PS3 yellow-light-of-death.
  • Jayro @ Jayro:
    Eventhough the New 3DS XL is more powerful, I still feel like the DS Lite was a more polished system. It's a real shame that it never got an XL variant keeping the GBA slot. You'd have to go on AliExpress and buy an ML shell to give a DS phat the unofficial "DS Lite" treatment, and that's the best we'll ever get I'm afraid.
    +1
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    AncientBoi @ AncientBoi: I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2: