Unable to run WII examples.

support for the powerpc toolchain
Post Reply
MrMagu
Posts: 4
Joined: Tue Dec 08, 2009 7:55 pm

Unable to run WII examples.

Post by MrMagu » Tue Dec 08, 2009 8:03 pm

Hi folks.

I've installed (what I think to be) the latest DevKitPro via the Installed, devkitProUpdater-1.5.0.exe. I have no problems compiling the examples, but when I attempt to run them on my WII I get the following error (via homebrew channel):

"This is not a valid wii application."

I'm using wiiload.exe.

Specs :

Latest DevKitPro (via updater/installer) [so i think]
Wii 4.1U
Example Used : {devkitpro}/examples/wii/template/

EDIT :: I have HBC 1.0.3 (not latest as I only have 4.1U on my WII [scared to update])

Anyone have suggestion as to what may be the problem? Thank you.
Last edited by MrMagu on Tue Dec 08, 2009 8:30 pm, edited 1 time in total.

User avatar
Izhido
Posts: 107
Joined: Fri Oct 19, 2007 10:57 pm
Location: Costa Rica
Contact:

Re: Unable to run WII examples.

Post by Izhido » Tue Dec 08, 2009 8:30 pm

In order for us to help you, we'll need to ask you about the exact steps you followed to attempt to run the application... is it possible that you didn't specify a .dol (or .elf) file to wiiload?

MrMagu
Posts: 4
Joined: Tue Dec 08, 2009 7:55 pm

Re: Unable to run WII examples.

Post by MrMagu » Tue Dec 08, 2009 8:32 pm

Here is my output of "make":

Code: Select all

> "make" 
template.c
linking ... template.elf
output ... template.dol

> Process Exit Code: 0
> Time Taken: 00:01
Here is my output of "run":

Code: Select all

> "make" run
wiiload template.dol
wiiload v0.5
coded by dhewg

compressing 228704 bytes... 48.23%
connecting to 192.168.1.141:4299
sending upload request
sending file size (110299 bytes)
sending data.
sending arguments (14 bytes)
done.

> Process Exit Code: 0
> Time Taken: 00:01
EDIT :: Sorry I neglected to include my steps taken, they are:

Load Programmers Notepad.
File > Open Project(s) : [opened] {devkitpro}/examples/wii/template/template.pnproj
Tools > Clean
Tools > Make
Tools > Run

Side note, WII is sitting on HBC [world is active].
Last edited by MrMagu on Tue Dec 08, 2009 8:41 pm, edited 1 time in total.

User avatar
Izhido
Posts: 107
Joined: Fri Oct 19, 2007 10:57 pm
Location: Costa Rica
Contact:

Re: Unable to run WII examples.

Post by Izhido » Tue Dec 08, 2009 8:40 pm

Hm... everything seems normal so far.

There is, however, a thing we should need to clear up. What version do you have of the Homebrew Channel? If I recall correctly, receiving *compressed* data from wiiload wasn't implemented until recent releases. What version does your HBC say it has?

MrMagu
Posts: 4
Joined: Tue Dec 08, 2009 7:55 pm

Re: Unable to run WII examples.

Post by MrMagu » Tue Dec 08, 2009 8:42 pm

I am currently running 1.0.3 (which works with my 4.1U WII). I'm scared to update to 4.2 as I'm not sure if the update will brick my WII.

User avatar
Izhido
Posts: 107
Joined: Fri Oct 19, 2007 10:57 pm
Location: Costa Rica
Contact:

Re: Unable to run WII examples.

Post by Izhido » Tue Dec 08, 2009 8:46 pm

That's it. :)

Compression was not implemented in HBC until 1.0.5. Upgrade your HBC to the latest version, then try again.

http://wiibrew.org/wiki/Homebrew_channel#1.0.5

MrMagu
Posts: 4
Joined: Tue Dec 08, 2009 7:55 pm

Re: Unable to run WII examples.

Post by MrMagu » Tue Dec 08, 2009 8:48 pm

Ahh, okay thanks for helping me. I wasn't sure if it was a WII problem, Toolchain problem, or something else. Glad to know. Thanks again.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests