Old Gecko OS Source

Started by SifJar, February 12, 2010, 12:58:09 PM

Previous topic - Next topic

SifJar

Does anyone have the source of Gecko OS, a version before 1.7b. Basically, I want to investigate the old remove savegame copy protection hook and compare it to the current one. Anyone have the source, or a link to it?

Romaap

you can find some sources here but I dont know if the older versions are on there.

SifJar

The only source there is the 1.9.2 and I'm fairly sure the source under the "source" tab is too new as well, even if I go back as far as rev2, which is when source code was first added. So I'm afraid that's not got what I want...But thanks for trying. If anyone has the source for 1.07 or any earlier version and could upload it, that'd be great.

WiiPower

Here's a "working" source for 1.07b:
http://www.mediafire.com/?zqydxizyyrt

It was never uploaded in a compilable way, there were missing parts and an infinite loop in it. And it's written for a very old libogc, so you have to change some sd card code in order to get it to work.

SifJar

Sorry, its before 1.07b I want. It was in 1.07b that the NoCopy hook was changed afaik, and I want to investigate the old version. I don't want to compile Gecko OS, I only really need patchcode.c and patchhook.S (I think). Thanks anyway.

WiiPower

Ok i never saw an older one. Anyways, why do you want to know more about it. And what you want to know? The version that is in Gecko OS 1.07b is most likely only working on system menu 3.2, maybe even only on the PAL one. And the older one would be for 3.2 or even older.

From what i understood, it patches the system menu to allow copying all saves you want to sd card, no matter if it's protected or not. Does it have the advantage of being able to copy these saves to Wiis that don't have any homebrew on them? That's the only reason that would make me use it.

SifJar

In 1.07b, the hook for copying NoCopy games was changed. Before that, it just ignored the copy protection, and let you copy the saves. From 1.07b onwards, the NoCopy flag was actually removed from the game save, meaning the saves could be copied to any Wii, even a Wii without homebrew. The current Remove Copy Protection patches for preloader/priiloader and StartPatch are the former patch, which just ignores the NoCopy flag, instead of removing it. I wanted to compare the two in Gecko OS, to see if I could figure out how to make a priiloader/preloader and StartPatch patch which removed the NoCopy flag, instead of simply ignoring it. This would mean that NoCopy saves could be extracted and installed on an unmodified Wii.

However, it should be noted that some games (the only one I know of so far is COD4) will read saves that have the flag changed as corrupt gamesaves, meaning the old method should be used for them.

WiiPower

? The current patches in Gecko OS 1.07b and the most recent version patch the system menu to remove the copy protection on copy, so it's not part of the save anymore, right? And the available patches for priiloader and co just ignore it and a copied save still contains it, right? If yes, it should be easy: Modify Gecko OS' code to get the info what it patches and where. Gecko OS even works on the same offsets as preloader. Preloader offsets are the offsets inside the system menu .dol when it's written where it belongs, and Gecko OS writes the .dol where it belongs before doing the patches.