User talk:Linus

From WiiBrew
Jump to navigation Jump to search

@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. —Preceding unsigned comment added by SteelSlasher (talkcontribs) 12:05, 9 August 2009 (UTC)

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)

Thanks for the info, oddly, all the source files you pointed to are variants of Bushing's http lib, I found what I was looking for though, Plaat had made some http lib which supports chunk encoding. BTW, I dont use the ocarina cheat engine anyway, I have yet to find a hard enough game to actually need to use cheats for it.

Moving cursor up and down

Hi, just as the guy above I would like to ask you a question about the source of Code Downloader — but a more noobish question. :P I'm currently considering porting a TB game I made over to Homebrew, but obviously I have to change the way you control the game since not all people have a keyboard for the Wii. What I wanted to ask you is the source that moves the cursor up and down the list of options in Code Downloader when you press on the D-pad. Diego_pmc Talk 07:42, 8 September 2009 (UTC)