teclilla18 / wiicoverflow

Automatically exported from code.google.com/p/wiicoverflow
0 stars 0 forks source link

12a on USB crashes after "Loading textures" when launched from forwarder channel. #390

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Put CoverFloader 1.2a in /apps/CoverFloader on USB FAT partition.
2. Install forwarder channel
3. Launch through forwarder channel

What is the expected output? What do you see instead?

I expect to launch CoverFloader from the system menu.

Instead I get "Loading textures" then a code dump.

CODE DUMP:
80a49e30: 800B0034 2F800000 419E0034 7FC3F378
80a49e40: 7FE4FB78 7FA5EB78 7C0903A6 4E800421
80a49e50: 80010024 83A10014 83C10018 7C0803A6

I really hope that's all you need, I'd rather not list all the registers
etc, but if it'll help I will.

What version of the product are you using? On what operating system?

12a r941 and r943
cIOS rev 14

Original issue reported on code.google.com by cwstjden...@gmail.com on 1 Sep 2009 at 3:06

GoogleCodeExporter commented 8 years ago
This might be related...  see issue 358 and follow instructions there and see 
if this
fixes your problem.

Original comment by bluekngh...@gmail.com on 1 Sep 2009 at 9:37

GoogleCodeExporter commented 8 years ago
It's not related but thanks anyway. I'm not even sure now if the forwarder 
looks on
USB. What I was seeing might just be some rubbish left in RAM. If someone can 
let me
know if I can redistribute a version of the of the official channel with a 
different
forwarder dol then I'll post it on here and the GBAtemp thread for anyone else 
who'd
like to not have to use an SD card.

Original comment by cwstjden...@gmail.com on 2 Sep 2009 at 6:13

GoogleCodeExporter commented 8 years ago
Hi. sorry just relised this isn't anything to do with the channel, it's 
CoverFloader
itself. All the versions I try crash if there is no SD card in the Wii unless 
the
loader passes arguments to it. I'm guessing this bit of code doesn't work right 
for
some reason

if(!bootDevice_found)
        {
                //try USB
                struct stat st;
        if((stat("USB:/apps/CoverFloader/boot.dol", &st) == 0) ||
(stat("USB:/apps/CoverFloader/boot.elf", &st) == 0))
                        strcpy(self.bootDevice, "USB:");
        }

because if I change it to just

if(!bootDevice_found)
        {
                     strcpy(self.bootDevice, "USB:");
        }

it works fine. But I'm also guessing this would break things for people with no 
fat
partition on the HDD.

Original comment by cwstjden...@gmail.com on 8 Sep 2009 at 5:04

GoogleCodeExporter commented 8 years ago
@cwstjdenobs

Please try r960 and report...

Original comment by LoudBob11@googlemail.com on 9 Sep 2009 at 6:27

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
That fixes it crashing if no arguments are passed to the app, but in typical 
form
causes a couple of new problems that are bigger than the one just fixed

1) If there's no usb hard drive you don't get a nice little message it just 
crashes
with the same code dump as above.

2)If there is no WBFS partition on the usb hard drive it freezes at "Loading
Textures", with or without an SD card in the slot.

TBH I've started counting this as more of a problem with some forwarders and 
wiiload
(though you can't really blame wiiload). The only other time people are going 
to have
problems is using one of the stand alone channels with no SD card

Original comment by cwstjden...@gmail.com on 9 Sep 2009 at 9:55