Difference between revisions of "User talk:Linus"

From WiiBrew
Jump to navigation Jump to search
Line 25: Line 25:
  
 
I am working on a web browser and I need to know how you downloaded content that is chunk encoded as I noticed that geckocodes.org uses chunk encoding. I would really appreciate the help.
 
I am working on a web browser and I need to know how you downloaded content that is chunk encoded as I noticed that geckocodes.org uses chunk encoding. I would really appreciate the help.
 +
 +
Firstly I don't know anything about chunk encoding.
 +
Secondly I'm not releasing the source to prevent people from changing it to abuse the geckocodes server, but here is the link to the network code I used. http://code.google.com/p/wiihttp/source/browse/trunk/source/main.c Honestly I just copied and pasted this function in to my project.
 +
 +
Also there is the netsend example from teknecal here. http://wiibrew.org/wiki/File:Sample_netsend.zip
 +
 +
Or better still look at the source to wiiearth. http://code.google.com/p/wiiearth/source/browse/trunk/MyWiiEarth/source/http.c
 +
 +
and if thats not enough here is the source for fceu gx. http://code.google.com/p/fceugc/source/browse/trunk/source/ngc/http.cpp [[User:Linus|Linus]] 20:41, 9 August 2009 (UTC)

Revision as of 22:41, 9 August 2009

@Linus - Your Code Downloader is great. I use it all the time.

However: I have a squid transparent proxy, that adds X-Forwarded-For/etc to the response headers. The first two lines of the downloaded file (in txtcodes) are:

X-Cache: MISS from myserver.MYDOMAIN
X-Cache-Lookup: MISS from myserver.MYDOMAIN:3128

As-is, the file makes a save gct file that doesn't work (file name is X-Cache: MI.gct or something like that). Editing the txt file to remove the first two lines (and making the new first line the rzdt/etc game code) fixes the issue.

I'm a coder - I wouldn't mind working on this; shouldn't take too long and it would be a good way to get familiar with the API for the Wii. Otherwise, I can provide any additional information you may need.

Please email me at [1] when you get this, or if you want the help. --Slimjim8094 19:55, 10 March 2009 (UTC)

Sent email reply to Slimjim8094--Linus 21:36, 12 March 2009 (UTC)

Code Downloader not working again

I think that the database may be too big now. Thanks--FUNKAMATIC ~talk 17:37, 19 June 2009 (UTC)

Signing your posts

Hi there. In case you didn't know, when you add content to talk pages and WiiBrew pages that have open discussion, you should sign your posts by typing four tildes ( ~~~~ ) at the end of your comment. If you can't type the tilde character, you should click on the signature button Signature icon.png located above the edit window. This will automatically insert a signature with your name and the time you posted the comment. This information is useful because other editors will be able to tell who said what, and when. Thank you! LoganA (talkcontribs) 07:56, 4 August 2009 (UTC)

thanks Linus 16:28, 4 August 2009 (UTC)

Can I have a look at the networking source of the Code Downloader

I am working on a web browser and I need to know how you downloaded content that is chunk encoded as I noticed that geckocodes.org uses chunk encoding. I would really appreciate the help.

Firstly I don't know anything about chunk encoding. Secondly I'm not releasing the source to prevent people from changing it to abuse the geckocodes server, but here is the link to the network code I used. http://code.google.com/p/wiihttp/source/browse/trunk/source/main.c Honestly I just copied and pasted this function in to my project.

Also there is the netsend example from teknecal here. http://wiibrew.org/wiki/File:Sample_netsend.zip

Or better still look at the source to wiiearth. http://code.google.com/p/wiiearth/source/browse/trunk/MyWiiEarth/source/http.c

and if thats not enough here is the source for fceu gx. http://code.google.com/p/fceugc/source/browse/trunk/source/ngc/http.cpp Linus 20:41, 9 August 2009 (UTC)