Hacking Generic Wii Patcher

bailli

Well-Known Member
OP
Member
Joined
Oct 16, 2006
Messages
227
Trophies
1
Website
Visit site
XP
2,449
Country
Gambia, The
Hi,

I wrote a small patcher (win32 GUI) that does combine some existing ones.
For a feature list check out the readme. Please report any bugs/errors.

Update: 1.2 available

Attention: WGLPv2 features are still not implemented!
But the new version features an untested patch for the #002 error!



Readme:

Wii Generic Patcher 1.2
by b@iLLi

Thanks to:
- matsuken for the original video patch
- Waninkoko for Wii Video Mode Changer
- ReturnerS for the Wii Game Language Patcher
- QLeap for the #002-fix


Usage
=====

Before you can use any option you need to load a (main).dol file by
pressing "Load" and select your desired file.
After you applied the patches you have to press "Save". Otherwise no
data will be written!

Note: Always watch the log output for errors!

At the moment there are four aspects that can be patched:

1. The "Error 001" drive chip detection
2. The console language detection can be overriden (Wii Game Language Patcher)
3. The video modes can be changed (Wii Video Mode Changer)
4. The "country strings" or whatever you want to all them can be edited
(e.g. These are the strings you need to get cooking mama working)

a) Error 001

Just hit "Search" and let the program (hopefully) find the drive check.
After that just hit "Remove 001".
(The button will display "Restore 001" if the drive check is already disabled.
Consequently pressing "Restore 001" ENABLES the drive check again!)

b) Console language detection

Again just hit search and wait for the search result.
Just select the game's language from the dropdown list and and press
"Patch to new language".

c) Video Modes

Start by pressing "Search" (again...). Now you have three options:
You can either use the NTSC-2-PAL or PAL-2-NTSC button (essentially the
same as the smart patcher from the Wii Video Mode Changer). Both automatically
patch all video modes to PAL or NTSC (NTSC 480p -> PAL 480p and so on).
The last option is the "Advanced" button. You will get a list with all
video modes found in the file. You can edited them individually. Just right
click on a video mode and a popup menu with all available modes will show up.
If you checked the "Change all video modes" before the popup menu will change
all video modes to the selected mode. If you messed up just press cancel and
all changes are discarded. To apply your changes leave the video mode list by
pressing "Save".

d) Country Strings

Let's start with something new: Press "Search"!
After that you will see list with the current strings from the file.
(Of course in the same order as they are in the file).
To edit one string double click on the string. Keep in mind that these strings
are always three characters long!


The WiiP Patch File
==================

This is my atempt to make the current patches somewhat better arranged.
The changes applied to a file are saved as readable text in this format:

Offset: OldData NewData

Empty lines or lines starting with ":" are ignored.

Example: NMH NTSC-2-PAL:

CODE; #########################################
; # WiiP Patch for Wii *.dol executable #
; # generated by #
; # Wii Generic Patcher 1.10 #
; #########################################

; ### NTSC-2-PAL ###
004C4453: 00 14
004C448F: 02 16
004C44CB: 08 04
004C44CE: 01E001E0 02100210
004C44D8: 01E0 0210

a) Create a WiiP Patch

If you want to create a WiiP Patch you just need to apply the patches as usual
with patcher. Just hit "Save WiiP" instead of "Save" at the end and a .wip
file will be generated in the same directory as the .dol

b) Apply a WiiP Patch

Open the *.dol you want to patch. Press "WiiP Patcher" and a new window will come up.
Either write/paste a patch into the text field or load a .wip file from disk.
Then press apply patch (or respectively undo patch if you want to undo).
Finally you have to hit "Save" again to write the changes to the real file on the harddisk.



Changelog:
==========

1.2
- Included #002-fix by QLeap - UNTESTED!

1.11
- Some small bugfixes
- Better resolution patching (like VMC 2.3)
- renamed WIP to WiiP (but file extension .wip stays...)

1.10
- improved byte pattern for 001-fix (WiiChess works now)
- Added the option to create and apply WIP patches (see above)

1.0
- Initial release


Download: Generic Wii Patcher 1.2
 
  • Like
Reactions: SaulFabre

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,284
Country
United Kingdom
Nice work bailli
Picture of it in action for those wondering.
4in1wii.PNG


edit better picture:
4in1wii2.PNG
 

syn13

Well-Known Member
Newcomer
Joined
Dec 27, 2007
Messages
46
Trophies
0
XP
114
Country
thanks a lot for that, i've been using those tools recently too and this makes it much easier for me
smile.gif
.

although could you explain to me what the country strings are for? thanks.
 

bailli

Well-Known Member
OP
Member
Joined
Oct 16, 2006
Messages
227
Trophies
1
Website
Visit site
XP
2,449
Country
Gambia, The
I haven't really used these myself. But in the "nice and structured" modify und resign wii isos thread somebody mentions that you need to edit the first country string to JPN to make cooking mama (usa) work on jap wii
(found it: http://gbatemp.net/index.php?s=&showto...t&p=1017083)

EDIT: I have been thinking about this complete mess with patches to make game XY work on console Z.
I don't know if somebody here has ever played around with Siemens mobiles, but for these phones there
is an app around to patch their firmware. This software (V_KLay) uses readable files containing the patch information.
(The structure goes like this: Offset: OldData NewData where olddata and newdata are the hexvalues as a string.)
So you can add comments and post these files in boards and you just have to copy it and paste it into the patcher.

Do you think it might be a good idea to implement something like this into my patcher?
 

lombers

Well-Known Member
Newcomer
Joined
Aug 30, 2007
Messages
56
Trophies
0
XP
12
Country
bailli said:
EDIT: I have been thinking about this complete mess with patches to make game XY work on console Z.
I don't know if somebody here has ever played around with Siemens mobiles, but for these phones there
is an app around to patch their firmware. This software (V_KLay) uses readable files containing the patch information.
(The structure goes like this: Offset: OldData NewData where olddata and newdata are the hexvalues as a string.)
So you can add comments and post these files in boards and you just have to copy it and paste it into the patcher.

Do you think it might be a good idea to implement something like this into my patcher?

I think that would be a useful addition Bailli.

Also wondering if it's worth adding your update.inf patcher to this program somehow? I think all of these patchers in the one program would make a great tool.
 

pelago

Member
Member
Joined
Feb 20, 2006
Messages
1,019
Trophies
0
XP
565
Country
Nice. I'm not so sure about using the word 'WIP' for Wii Patch, as WIP normally means Work In Progress, often used for pre-release versions of apps, emulators etc.

Is the source available?
 

mrc2

New Member
Newbie
Joined
Mar 11, 2008
Messages
3
Trophies
0
XP
1
Country
United States
hey, how do i get a (main).dol file for super smash bros, i don't know how to make one, i'm trying to get rid of that 001 error when i load the game. thanks for any info on this
 

mrc2

New Member
Newbie
Joined
Mar 11, 2008
Messages
3
Trophies
0
XP
1
Country
United States
thanks , i'll check it out
smile.gif


Posts merged

i'm kinda confused there, don't see anything on making the (main).dol file or getting the 001 error fixed, maybe i'm missing something can you please point out what it may be? i'm new to this and would appreciate any help, sorry to be a bother to anyone, but thanks again for any help here. sounds pretty simple if i can get past this .
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: "Now I know why he took his own life"