Line 47: |
Line 47: |
| [[Media:WIILOAD.zip|ZIP Download]] | | [[Media:WIILOAD.zip|ZIP Download]] |
| I don't like sig.(s) [[User:Elosnoc_iiw|Elosnoc Iiw]] 01:50, 11 September 2009 (UTC) | | 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 == | | == 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) | | 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 == | | == On the fly IP-setting == |
Line 84: |
Line 84: |
| :: wow, that was as speedy reply! Thankyou. [[User:Lordelph|Lordelph]] 17:17, 19 December 2009 (UTC) | | :: wow, that was as speedy reply! Thankyou. [[User:Lordelph|Lordelph]] 17:17, 19 December 2009 (UTC) |
| | | |
− | == New link? == | + | == 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) |
| | | |
− | Does anyone know where to find wiiload?
| + | 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? |
− | --[[User:Polocatfan|Polocatfan]] 13:07, 6 May 2010 (UTC)
| |