Line 330: |
Line 330: |
| :: OK - I did a test version of something similar to the website you mentioned (but with your awesome channel graphics) - at the moment it only displays the graphic (table style). I've put it up at [http://www.lukegrangerbrown.uni.cc/hbb/ http://www.lukegrangerbrown.uni.cc/hbb/]. --[[User:Lukegb|Lukegb]] 12:08, 13 July 2008 (CEST) | | :: OK - I did a test version of something similar to the website you mentioned (but with your awesome channel graphics) - at the moment it only displays the graphic (table style). I've put it up at [http://www.lukegrangerbrown.uni.cc/hbb/ http://www.lukegrangerbrown.uni.cc/hbb/]. --[[User:Lukegb|Lukegb]] 12:08, 13 July 2008 (CEST) |
| ::: Doesn't look too bad, are you reading all the applications from the list file? I probably should start zipping up the games so that they can be linked to. Wonder if there will be enough interest in this sort of thing. --[[User:Teknecal|Teknecal]] 14:00, 13 July 2008 (CEST) | | ::: Doesn't look too bad, are you reading all the applications from the list file? I probably should start zipping up the games so that they can be linked to. Wonder if there will be enough interest in this sort of thing. --[[User:Teknecal|Teknecal]] 14:00, 13 July 2008 (CEST) |
| + | ::: Don't worry about zipping, I think I might link to the original archive... --[[User:Lukegb|Lukegb]] 05:47, 14 July 2008 (CEST) |
| :::: Yes - the script is reading from the listv020b.txt file on your server (which I discovered by running strings boot.elf | grep HTTP). Easy - thanks to PHPs EXTENSIVE string handling, parsing and processing functions! --[[User:Lukegb|Lukegb]] 15:14, 13 July 2008 (CEST) | | :::: Yes - the script is reading from the listv020b.txt file on your server (which I discovered by running strings boot.elf | grep HTTP). Easy - thanks to PHPs EXTENSIVE string handling, parsing and processing functions! --[[User:Lukegb|Lukegb]] 15:14, 13 July 2008 (CEST) |
| ::::: Mmm, didn't know elfs contained plain text --[[User:Teknecal|Teknecal]] 15:15, 14 July 2008 (CEST) | | ::::: Mmm, didn't know elfs contained plain text --[[User:Teknecal|Teknecal]] 15:15, 14 July 2008 (CEST) |
| :::::: Well - yes. Because it's got to read the stuff to send out and print to screen _somehow_. And they do it by storing it as plain text. :) --[[User:Lukegb|Lukegb]] 16:13, 21 July 2008 (CEST) | | :::::: Well - yes. Because it's got to read the stuff to send out and print to screen _somehow_. And they do it by storing it as plain text. :) --[[User:Lukegb|Lukegb]] 16:13, 21 July 2008 (CEST) |
| ::::: How do you tell when something is new? Is it just a stored copy of the list (because obviously that wouldn't work for a web-side script) --[[User:Lukegb|Lukegb]] 22:16, 23 July 2008 (CEST) | | ::::: How do you tell when something is new? Is it just a stored copy of the list (because obviously that wouldn't work for a web-side script) --[[User:Lukegb|Lukegb]] 22:16, 23 July 2008 (CEST) |
| + | :::::: There is a timestamp for each application (app release + 48 hrs). HBB reads the time on the Wii console and figures out if the application is new that way. --[[User:Teknecal|Teknecal]] 13:03, 24 July 2008 (CEST) |
| :::: Also - if you can (I understand this is a long-term thing) - INCLUDE ZIP SUPPORT IN HBB ITSELF - fast downloads + easier to dl onto PC! :D --[[User:Lukegb|Lukegb]] 16:13, 21 July 2008 (CEST) | | :::: Also - if you can (I understand this is a long-term thing) - INCLUDE ZIP SUPPORT IN HBB ITSELF - fast downloads + easier to dl onto PC! :D --[[User:Lukegb|Lukegb]] 16:13, 21 July 2008 (CEST) |
| ::::: I've thought about doing this and it'd be much easier this way than separate files. I'm all about examples, if someone can provide me an example source code where unzipping is being done I'd put it in HBB much sooner. | | ::::: I've thought about doing this and it'd be much easier this way than separate files. I'm all about examples, if someone can provide me an example source code where unzipping is being done I'd put it in HBB much sooner. |
Line 339: |
Line 341: |
| :::::: Specifically the files at [http://sourceforge.net/project/showfiles.php?group_id=14481 7-zip SF.net page] containing 7zip and its LZMA SDK. --[[User:Lukegb|Lukegb]] 11:23, 22 July 2008 (CEST) | | :::::: Specifically the files at [http://sourceforge.net/project/showfiles.php?group_id=14481 7-zip SF.net page] containing 7zip and its LZMA SDK. --[[User:Lukegb|Lukegb]] 11:23, 22 July 2008 (CEST) |
| :::::: [http://code.google.com/p/mupen64gc/source/browse/trunk/main/unzip.h | mupen64gc] has code for unzip that (presumably) compiles for the Wii already --[[User:ProdigySim|ProdigySim]] 17:29, 22 July 2008 (CEST) | | :::::: [http://code.google.com/p/mupen64gc/source/browse/trunk/main/unzip.h | mupen64gc] has code for unzip that (presumably) compiles for the Wii already --[[User:ProdigySim|ProdigySim]] 17:29, 22 July 2008 (CEST) |
− | Don't worry about zipping, I think I might link to the original archive... --[[User:Lukegb|Lukegb]] 05:47, 14 July 2008 (CEST)
| |
| ::::::: [http://code.google.com/p/mupen64gc/source/browse/trunk/main/unzip.c mupen64gc C++] file - don't forget it --[[User:Lukegb|Lukegb]] 08:37, 23 July 2008 (CEST) | | ::::::: [http://code.google.com/p/mupen64gc/source/browse/trunk/main/unzip.c mupen64gc C++] file - don't forget it --[[User:Lukegb|Lukegb]] 08:37, 23 July 2008 (CEST) |
| :::::: Incidentally - [[Homebrew apps/Wii64|mupen64gc]] is under the GNU [http://www.gnu.org/licenses/gpl.html GPLv3]. The 7-zip LZMA SDK is under the GNU [http://www.gnu.org/licenses/lgpl.html LGPL] (link to v3, unknown v used for LZMA SDK). These usually mean (except for the LGPL, AFAIK) that the source must be released. --[[User:Lukegb|Lukegb]] 08:37, 23 July 2008 (CEST) | | :::::: Incidentally - [[Homebrew apps/Wii64|mupen64gc]] is under the GNU [http://www.gnu.org/licenses/gpl.html GPLv3]. The 7-zip LZMA SDK is under the GNU [http://www.gnu.org/licenses/lgpl.html LGPL] (link to v3, unknown v used for LZMA SDK). These usually mean (except for the LGPL, AFAIK) that the source must be released. --[[User:Lukegb|Lukegb]] 08:37, 23 July 2008 (CEST) |
| + | :::::: So this would mean I would need to release the HBB source or just say the function that I use the unzip function? Also if anyone could make a really simple function to unzip all files from an archive to the root of the SD card that would be great and all that I would need! Thanks. --[[User:Teknecal|Teknecal]] 13:03, 24 July 2008 (CEST) |
| : Also: if you can make the HBB access another URL, I could set up download statistics (PHP script). Does your webserver support PHP? --[[User:Lukegb|Lukegb]] 22:19, 23 July 2008 (CEST) | | : Also: if you can make the HBB access another URL, I could set up download statistics (PHP script). Does your webserver support PHP? --[[User:Lukegb|Lukegb]] 22:19, 23 July 2008 (CEST) |
| + | :: Yeah the server supports PHP. Seems like most developers want this. I might have to make this sort of script on the weekend or so. Might put it in v0.2.1. Might just make a DB with name/download count and get HBB to request another URL as you've suggested. --[[User:Teknecal|Teknecal]] 13:03, 24 July 2008 (CEST) |
| | | |
| == Homebrew Browser cannot download /temp/opentyrian-Wii.png == | | == Homebrew Browser cannot download /temp/opentyrian-Wii.png == |