Line 15: |
Line 15: |
| == Download stops at 77% and says "Unknown error" == | | == Download stops at 77% and says "Unknown error" == |
| | | |
− | Hey guys, when I've added the environment variable and everything, downloaded the program and everything but when i try to load a program on the wii, it starts running and everything, i see the progress bar on my computer and on the wii, and then at 77% (at least with this one program, haven't tried others yet) is says "Transfer Failed. Unknown error" Help? | + | Hey guys, when I've added the environment variable and everything, downloaded the program and everything but when i try to load a program on the wii, it starts running and everything, i see the progress bar on my computer and on the wii, and then at 77% (at least with this one program, haven't tried others yet) is says "Transfer Failed. Unknown error" Help? <small>—Preceding unsigned comment added by [[User:Lemonpieman|Lemonpieman]] ([[User talk:Lemonpieman|talk]] • [[Special:Contributions/Lemonpieman|contribs]]) 22:44, 15 January 2009</small> |
| + | |
| + | I believe this is a firewall issue. I have Comodo Firewall and to send files to the Wii properly I physically need to disable the firewall security - I havent found a way to allow an exception yet.[[User:Steaky1212|Steaky1212]] 12:09, 18 August 2009 (UTC) |
| + | |
| + | :I was having a similar problem with wiiload, that's why I created my own tool to send files to my Wii. If you are running in a Windows environment and are interested check [[WiiBuilder]]. --[[User:Crayon|Crayon]] 13:24, 18 August 2009 (UTC) |
| | | |
| == Sending to wii == | | == Sending to wii == |
Line 26: |
Line 30: |
| seem to find the Wiiload download ;( --[[User:Toagac|Toagac]] 22:30, 18 May 2009 (UTC) | | seem to find the Wiiload download ;( --[[User:Toagac|Toagac]] 22:30, 18 May 2009 (UTC) |
| | | |
− | == not clear about downloading elf package == | + | == Not clear about downloading elf package == |
| | | |
| it's writen : "''First, download the .elf package, which includes all version of Wiiload, from the official homebrew channel site.'' " | | it's writen : "''First, download the .elf package, which includes all version of Wiiload, from the official homebrew channel site.'' " |
Line 34: |
Line 38: |
| | | |
| * Probally because of the Hackmii Installer... Someone got the wiiload binary for Linux? EDIT: Go to $DEVKITPPC/bin and there is Wiiload (at DevkitPPC linux) [[User:Drag0nflamez|Drag0nflamez]] 17:20, 2 June 2009 (UTC) | | * Probally because of the Hackmii Installer... Someone got the wiiload binary for Linux? EDIT: Go to $DEVKITPPC/bin and there is Wiiload (at DevkitPPC linux) [[User:Drag0nflamez|Drag0nflamez]] 17:20, 2 June 2009 (UTC) |
| + | |
| + | == .tar inside a .tar.gz? == |
| + | |
| + | Why don't you just use .zip? It's a small download, and WHO wants to extract 2 times? |
| + | |
| + | Here's a .zip reupload: |
| + | |
| + | [[Media:WIILOAD.zip|ZIP Download]] |
| + | I don't like sig.(s) [[User:Elosnoc_iiw|Elosnoc Iiw]] 01:50, 11 September 2009 (UTC) |
| + | : Because .tar.gz is a compressed version of an archive. Tarball (.tar) archives store multiple files in a single archive file, and GNU-Zip (.gz) archives compress a single file into a smaller file. Combine them together (.tar.gz or .tgz), and you get an archive that stores multiple files in a single, smaller file. --[[User:Reap3r119|Reap3r119]] 23:01, 24 July 2012 (CEST) |
| + | |
| + | == Result too large == |
| + | For people who are having the Result too large error with the wiiload that comes with devkitpro, get the newest wiiload, and you probably won't have any problems anymore. [[User:KolakCC|KolakCC]] 20:45, 17 October 2009 (UTC) |
| + | |
| + | Remember to exit the last app you ran before you try to run a new one or you will get this error too. |
| + | |
| + | == On the fly IP-setting == |
| + | For those of you who don't want to set the env variable, or their Wii's IP changes a lot, you can use this under devkitpro: |
| + | <pre> |
| + | export WIILOAD := tcp:192.168.0.102 |
| + | run: $(BUILD) |
| + | wiiload $(TARGET).dol |
| + | </pre> |
| + | [[User:KolakCC|KolakCC]] 14:42, 18 October 2009 (UTC) |
| + | |
| + | == transfer failed to HBC 1.06 == |
| + | |
| + | Here's what I see when I use wiiload 0.4 to send to my Wii running HBC 1.06... |
| + | <pre> |
| + | /opt/devkitPro/devkitPPC/bin/wiiload WiiGame1.dol |
| + | wiiload v0.4 |
| + | coded by dhewg |
| + | |
| + | connecting to 192.168.100.149:4299 |
| + | sending upload request |
| + | sending file size (209120 bytes) |
| + | sending datasend failed: Connection reset by peer |
| + | transfer failed. |
| + | </pre> |
| + | |
| + | Seems I was using an older wiiload which came with devkitPro, I switched to v0.5 and all was well. |
| + | |
| + | [[User:Lordelph|Lordelph]] 17:07, 19 December 2009 (UTC) |
| + | : use the latest version (0.5) --[[User:Crayon|Crayon]] ([[User talk:Crayon|talk]]) 17:14, 19 December 2009 (UTC) |
| + | :: wow, that was as speedy reply! Thankyou. [[User:Lordelph|Lordelph]] 17:17, 19 December 2009 (UTC) |
| + | |
| + | == Arguments == |
| + | |
| + | Wiiload passes its first argument as argv[0] |
| + | |
| + | According to the standard C, argv[0] should be the name of the file and the first passed argument should be argv[1] |
| + | |
| + | [[User:Oibaf|Oibaf]] 10 March 2013 (UTC) |
| + | :Unless I'm missing something, that's how it should be - wiiload's first argument is the name of the program that will be executed. Unless you want your wii programs to receive "wiiload.exe" as argv[0]? [[User:Tueidj|Tueidj]] ([[User talk:Tueidj|talk]]) 15:49, 10 March 2013 (CET) |
| + | |
| + | Exactly. Argv[0] should be wiiload.exe. Also the first argument passed through meta.xml of homebrew applications is passed as Argv[1]. |
| + | During the test of some wiibrew emulators I got crazy before finding out that wiiload passed the first argument as Argv[0]. |
| + | [[User:Oibaf|Oibaf]] 19 March 2013 (UTC) |
| + | :You said "According to the standard C, argv[0] should be the name of the file" so how does it make sense for a wii program to receive "wiiload.exe" as argv[0] regardless of what the program's real name is? If you start a program in windows do you expect it to receive "explorer.exe" as argv[0]? [[User:Tueidj|Tueidj]] ([[User talk:Tueidj|talk]]) 13:07, 19 March 2013 (CET) |
| + | |
| + | Sorry, I was wrong. Argv[0] should contain the dol file and argv[1] should contain the first argument passed to the dol file whilst currently the argument is passed as argv[0]. |
| + | [[User:Oibaf|Oibaf]] 19 March 2013 (UTC) |
| + | :That's exactly how it currently works (argv[0] = name of dol/elf), not sure how you're seeing anything different. [[User:Tueidj|Tueidj]] ([[User talk:Tueidj|talk]]) 22:13, 19 March 2013 (CET) |
| + | |
| + | I verified that argv[0] = name of dol/elf if wiiload is launched from a command window but argv[0] = "first argument" if wiiload is launched from programmer's notepad (windows environment) setting the parameters in Notepad as "$(ProjectName).dol argument". Is it a notpad issue? |