Hacking USB Loader GX

  • Thread starter Thread starter blackb0x
  • Start date Start date
  • Views Views 8,066,324
  • Replies Replies 30,226
  • Likes Likes 74
Ocarina, yes, I just tested it with mario. and Dimok corrected an old bug on the same time, where it was impossible to use Ocarina with alt dol from SD/USB. (will be committed on next revision)

What video patch do you talk about ?
The Patch VIDTV, and Force PAL60/NTSC/etc. ? I didn't try that out, as pop doesn't need it.
Do you have a game which need both video patch and wip to test ?

I can try force pal60+wip on POP.
Edit : working fine.
 
Thx cyan
smile.gif
 
Just wanted to say thanx to all involved. Finally got PoP running with r932 and the wip file.

Haven´t played enough to check the chest crashes or any other issues (have to watch "soccer"), just happy to be able to play at all, even if it turns out to just be a demo.
 
Kira99 said:
Can someone explain what a WIP patch is/for, for those of us not so experienced? I get the feeling its not work in progress...This is a way to apply a patch to main.dol on the fly. It's easier to correct the Anti Piracy from New Mario or Prince of Persia.

Instead of :
- extracting the main.dol from the iso, patching main.dol manually with hex editor (often newbie don't know how to patch, and it's not allowed to link to the patched .dol), copy the file on SD, configuring the loader to run the new alternative dol.
You can :
- copy GAMEID.wip to SD:/wip/ (or SD:/neogamma)
Done

QUOTE(callmebob @ May 29 2010, 09:15 PM) Just wanted to say thanx to all involved. Finally got PoP running with r932 and the wip file.

Haven´t played enough to check the chest crashes or any other issues (have to watch "soccer"), just happy to be able to play at all, even if it turns out to just be a demo.
You can test if the .wip patch worked by pressing Home, if it works the patching is successful.
 
yes, it does.
it's reverted to 921 state, and the return to loader is now disabled.


Edit :
In fact, no it doesn't
tongue.gif

Because reverting to 921 removed the compatibility for cIOSx
 
Cyan said:
This is a way to apply a patch to main.dol on the fly. It's easier to correct the Anti Piracy from New Mario or Prince of Persia.

Instead of :
- extracting the main.dol from the iso, patching main.dol manually with hex editor (often newbie don't know how to patch, and it's not allowed to link to the patched .dol), copy the file on SD, configuring the loader to run the new alternative dol.
You can :
- copy GAMEID.wip to SD:/wip/ (or SD:/neogamma)
Done

Huh, I didn't realize that New Super Mario Bros need to be patched manually with a hex editor...but I guess that's because I just used the fix in the "New_Super_Mario_Bros_Wii_USA_PROPER_FiX_Wii-iND" release to patch the iso. I was kinda expecting the scene to release a similar fix for PoP...

Thanks Cyan for explaining what WIPs are, but I have another question. Where do we get WIP files?
 
Kira99 said:
Cyan said:
This is a way to apply a patch to main.dol on the fly. It's easier to correct the Anti Piracy from New Mario or Prince of Persia.

Instead of :
- extracting the main.dol from the iso, patching main.dol manually with hex editor (often newbie don't know how to patch, and it's not allowed to link to the patched .dol), copy the file on SD, configuring the loader to run the new alternative dol.
You can :
- copy GAMEID.wip to SD:/wip/ (or SD:/neogamma)
Done

Huh, I didn't realize that New Super Mario Bros need to be patched manually with a hex editor...but I guess that's because I just used the fix in the "New_Super_Mario_Bros_Wii_USA_PROPER_FiX_Wii-iND" release to patch the iso. I was kinda expecting the scene to release a similar fix for PoP...

Thanks Cyan for explaining what WIPs are, but I have another question. Where do we get WIP files?

The wip patch info for PoP is on the last page. Just make a txt file with that info in it and save it as xxxxx.wip, where xxxxx is the games title id & put it in sd:/wip/
 
Might be stupid but on which "last page" ?
tongue.gif

I looked at the "PoP on GX" thread and didn't find the WIP file.
Except if it contains 3 lines only but I though it was bigger....

EDIT : ok, found one in NeoGammaB9R13 release : http://dl.free.fr/phzNwF8g7

But now, if I understand well, all NeoG provided WIP files are not in correct format ?
 
not all, Prince of persia is good, while Mario is not.

neogamma accept 2 different format :
1.
Address | 4Bytes originial data | 4Bytes new data
ie. with Mario PAL :
001AB750 9421FFD0 4E800020
001CEE90 38A000DA 38A00071
001CEEA8 388000DA 38800071

2.
Address: | any Bytes original data | any Bytes new data
ie. with Mario PAL (same as above) :
001AB750: 9421FFD0 4E800020
001CEE93: DA 71
001CEEAB: DA 71

The 2nd one is not compatible with GX.
The 2nd one is the format created by Wii Generic Patcher
It can easily be converted by padding with 00
Ex :
001CEE93 DA000000 71000000

if original byte doesn't match (is not 00), then it's not patched.
if original byte matches, then it's patched with same one, no changes at all.


Or making it more profesionnaly (but it's not necessary
tongue.gif
) :
open the main.dol, locate the adress and check the data to make it match.
001AB750 9421FFD0 4E800020
001CEE90 38A000DA 38A00071
001CEEA8 388000DA 38800071


I provided PAL and J for mario on the previous page, I can make one for U if someone ask, but GX already patch Mario internally, the .wip is not even needed.

as Free.fr keep the file only 30days without D/L, I give it again here, but thanks anyway OuahOuah !
007AAC6A 7A6B6F6A 6F6A7A6B
007AAC75 7C7A6939 69397C7A
007AAC82 7376686B 686B7376
007AAC92 80717570 75708071
007AAC9D 82806F3F 6F3F8280


That's too bad only 1 format is possible, and it's not compatible with the one WiiGenericPatcher creates.
maybe someone will add it later, but right now it created some address differences and couldn't patch the right place.
Dimok and me decided to commit it to svn anyway, so someone else can do it, and users can play POP
tongue.gif
 
The PoP wip file from Neogamma should be in the correct format and work with GX


Thank you very much to the GX team for all the updates in the last two days. Dimok you are really on fire! Thank you, very much appreciated.
 
davidnlta said:
how come even with beta revisions active i cant update to the latest one?
There was a bug in the Beta update function.
Dimok corrected it in r934.
You will have to update manually to that one, then it will work for future beta updates.

Thank you Dimok for the recent updates
smile.gif
 
Cyan said:
That's too bad only 1 format is possible, and it's not compatible with the one WiiGenericPatcher creates.
maybe someone will add it later, but right now it created some address differences and couldn't patch the right place.
Dimok and me decided to commit it to svn anyway, so someone else can do it, and users can play POP
tongue.gif

Well i could add the other formats as well. It's just stupid have thousands of different formats. That's why i though one format should be good enough to do about everything with the dol and i hope with that, that people will create now unique wip files for the games instead of different formats for each game.

I do though not care about it since i ain't using the wip patches anyway, so if the majority wants some other formats supported than i could add them.
 
Thanks for all explanation Cyan.

dl.free.fr = no waiting time before DL
wink.gif
but good idea to give it back here
smile.gif


If I can suggest : removing of Mario support IN the dol to use only WIP file
smile.gif


Anyway, I don't know what others games that come in WIP format with NeoGamma...

And maybe WiiPower can distribute his other WIP file on "good format"
smile.gif
 
Another clarification for USB LOADER GX

If I remember correctly r921 was not working properlly win HERMES V5 so it was necessary to use HERMES V4

Is it the same situartion from r934 which is based on r921 and not r929 ?

Regards

Olivier
 
dimok said:
Cyan said:
That's too bad only 1 format is possible, and it's not compatible with the one WiiGenericPatcher creates.
maybe someone will add it later, but right now it created some address differences and couldn't patch the right place.
Dimok and me decided to commit it to svn anyway, so someone else can do it, and users can play POP
tongue.gif

Well i could add the other formats as well. It's just stupid have thousands of different formats. That's why i though one format should be good enough to do about everything with the dol and i hope with that, that people will create now unique wip files for the games instead of different formats for each game.

I do though not care about it since i ain't using the wip patches anyway, so if the majority wants some other formats supported than i could add them.

Well the format from NeoGamma is:
8 characters offset, then you can insert anything you want, space, old value, anything you want, space, new value, end of line


Did you write your own code to parse it? Does your code support comments starting with '#' or ';'?

Anyways, since you didn't copy my code, i'm going to change the .wip files i have to your format to silence the mob.
 

Site & Scene News

Popular threads in this forum