QuoteDaidI think you lack quite a bit of knowledge about C and strings in C. (I spot lots of ways that your code will crash) Nothing wrong with that, you'll learn as you go. yeah, i am used to coding in php (i even did compiled php to make things easier) and kept my php habits to make coding in c and c++ less daunting. the other lines that may cause crashes havent been fixed because theby SteelSLasher - Coding
counterstrike might be interesting, i think portal is also open source so that would be pretty cool on the wiiby SteelSLasher - Ideas, requests
QuoteDarknessQuoteSteelSLasherjust to point out, most tvs wont support teletext in a few years anyway since teletext is being dropped by tv networks and tvs themselves Source? Almost all my TV-channel's have Teletext, and all new TV's in store have teletext support and I think they won't drop it for a long time. Digital switchover in uk warranted a drop of teletext by bbc itv chaby SteelSLasher - Ideas, requests
char * redirect; Its declared straight after the includes, if it was not declared it would cause a compile error If the second line is "Location: " I would expect redirect to be "http://www.google.co.uk/", just to point out that this actually does work when using strcpy here is the entire scriptby SteelSLasher - Coding
Quotemaxin_013im not gonna compile, im gonna mess with the code on my comp and wii and see if i can get some form of progress on it. hell, i may even start a project of my own, but im still learning much about C and whatnot couldn't you just addon improvements and features?by SteelSLasher - Ideas, requests
I would put it in SVN but i promised the next revision would be a stable one Also, using the debug data outputted from my app the source pointer is not null infact it is correct since the last debug message recieved is the "Location" header after which the app crashes and also in previous runs the destination would output fine after strcpy but is somehow NULLed later on. Using this infoby SteelSLasher - Coding
Quoteg_manI'll have a look at that. Libwiigui looks very powerful, but it was very hard for me to figure out what the program did, and how it worked by the docs, and example program. It has potenetial, but it needs more examples. Being able to decipher how libwiigui works without external resources such as the tut for it really does help to improve your level of understanding of advanced tby SteelSLasher - Coding
Just some extra details: The occurrence of dol loading is found in most if not all wii games that have several dols to load examples being mortal kombat armageddon, metroid prime wii make and cod3, the technical term for this is IOS Reload. Games which use non-nintendo hardware may also use this technique, apparently boogie is supposed to be a tri-dol game but i cannot confirm that myself.by SteelSLasher - Ideas, requests
maxim i am not sure you understood sscanf, he is saying that even if you comple very little can be done with it so there is little point in compiling in the first placeby SteelSLasher - Ideas, requests
nothing is crashing, basically all that happens is that i copy the string and when the source pointer is nulled that char in which the string is copied to is also nulled for some reason, will try using memcpyby SteelSLasher - Coding
just to point out, most tvs wont support teletext in a few years anyway since teletext is being dropped by tv networks and tvs themselvesby SteelSLasher - Ideas, requests
you could have a look at libwiigui, it is very useful for creating guis for wii apps and it does print text to screen in a font. It should intergrate well with libwiisprite but i have only used libwiiguiby SteelSLasher - Coding
When i use strcpy or strncpy with the destination as a char, and not the pointer variant, and the source pointer is free'd and nulled at a later point after which i attempt to use the destination char an exception is thrown at me. So what i need is a function that does soemthing similar to strcpy but does not use pointers to copy a string, i want it to physically copy the contents of theby SteelSLasher - Coding
QuoteHyperHackerPirate loaders already intercept disc access and read the data from another source instead. Patching could work exactly the same, except you'd only redirect for certain regions of certain files, and store only the modified regions on the external device. (Though for efficiency's sake you might just keep it in RAM instead of reading every time.) Thats what i said!by SteelSLasher - Ideas, requests
just as a addon question, would we need to use homebrew for creating the control settings or could this be done on the PC using a bluetooth adapter and creating a code to patch a gamecube gameby SteelSLasher - Software
^ Done As far as I am aware SDL should have no negative effects on libwiigui so it we might get a full browser a bit fasterby SteelSLasher - Ideas, requests
QuotejsmasterWii Xplore doesn't really have any features right now... Yes it does, the version on my pc can parse HTTP responses, yeah beat that, just need to iron out a few hiccupsby SteelSLasher - Ideas, requests
bushing made a thread about thisby SteelSLasher - Software
i didnt know this was possible, last i checked ida didnt support PPC architecture, but that might be because i used an older versionby SteelSLasher - Software
Just my 2cents here, ida pro doesnt support the PPC architecture, its main uses is for windows programs and is used by crackers to find algorithms for serial keys, i have use ida pro for that purpose but only on testing apps not real copyrighted appsby SteelSLasher - Software
i suggested we store the patched version to reduce the complications of run-time patching, but from the manner of your post it seems that we cant do that? Sorry if i am pushy on the pathing thing but from what you have said it seems almost certain it can be done through your workby SteelSLasher - Ideas, requests
Its more awkward now, a http response is returned which has nothing in it and this causes "break;" to be called and this causes an exception i updated the code in SVN the link takes you directly to the lineby SteelSLasher - Coding
the code was originally made by bushing for patchmii, used in wiiearth, and now here, i guess these errors occur because i finally understood what the "*" thing is unless that has nothing to with a pointer i think i can fix it now, thanks and now to learn a bit about variables before getting back to work also, i made read null to stop a warning, god the ironyby SteelSLasher - Coding
Tempus here's a legal idea, user puts in disc loads patcher patcher checks disc for validity, checks game id for compatibility and available patches if patches exist continue else exit check patch details (what is patched, the main.dol, an image or a seperate executable) if an image is "patched" or updated, use a patched ios to forcefully load that image instead of the one on the disby SteelSLasher - Ideas, requests
Here is the for loop in which i get stuck: btw i commented out the sscanf since it causes an exception but left it there for reference for (linecount=0; linecount < 32; linecount++) { Debugs("tcp_readIn"); char *line = tcp_readln (s, 0xff, gettime(), HTTP_TIMEOUT); // debug_printf("tcp_readln returned %p (%s)\n", line, line?line:"(null)"); if (!line) { http_status = 404;by SteelSLasher - Coding
For language patching i think i know someone who can help you, but he is on a forum which supports wads and wii roms so its a bit iffy. Basically, this guy was able to patch a japanese copy of the metroid 1+2 wii control game so all the strings where in english (no translations of pictures), apparently it works great and with no bugs or glitches so it might help to contact him Edited Outby SteelSLasher - Ideas, requests
btw, strcpy, strncpy and any other function does not work in the place i was going to but instead i transfer the second line to another variable which is later used to be processed. my sscanf is completely fineby SteelSLasher - Coding
If we can make a model or system which can allow simple patching of a game and then find a FUBARed game to patch, record footage of the game patched and unpatched, we might then be able to pull some support from bigger people Tempus, the DS has an ARM cpu so maybe looking at devkitarm might help youby SteelSLasher - Ideas, requests
Quotedaniel_c_w*cough* GeckoOS *cough* Last time i checked, every Wii sold comes with wii sports not the HBC, and some games do not work with gecko os, an example being my copy of MoHH2 pal, since region free isnt needed we only need the patching system not the region check bypassby SteelSLasher - Ideas, requests
For some odd reason this gives an exception sscanf (line, "Location: %s", read) the variable line is retrieved from: char *line = tcp_readln (s, 0xff, gettime(), HTTP_TIMEOUT); which is called in a for loop until the end of the http response, the exception is only shown on the second loop when the "Location: [...]" is contained in the http responseby SteelSLasher - Coding