Generic Wii Patcher

Discussion in 'Wii - Hacking' started by bailli, Mar 10, 2008.

Mar 10, 2008

Generic Wii Patcher by bailli at 7:37 PM (257,946 Views / 0 Likes) 132 replies

  1. bailli
    OP

    Member bailli GBAtemp Regular

    Joined:
    Oct 16, 2006
    Messages:
    179
    Country:
    Germany
    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
     


  2. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,741
    Country:
    United Kingdom
    Nice work bailli
    Picture of it in action for those wondering.
    [​IMG]

    edit better picture:
    [​IMG]
     
  3. syn13

    Newcomer syn13 Member

    Joined:
    Dec 27, 2007
    Messages:
    46
    Country:
    United Kingdom
    thanks a lot for that, i've been using those tools recently too and this makes it much easier for me [​IMG].

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

    Member bailli GBAtemp Regular

    Joined:
    Oct 16, 2006
    Messages:
    179
    Country:
    Germany
    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?
     
  5. bosscolor

    Member bosscolor GBAtemp Fan

    Joined:
    Dec 4, 2007
    Messages:
    469
    Location:
    Toulouse
    Country:
    France
    GR8 work from Bailli as always !

    Thx
     
  6. stev418

    Member stev418 GBAtemp Fan

    Joined:
    Sep 25, 2007
    Messages:
    492
    Country:
    Australia
    tried the error #001 check on wii chess, but the app didnt pick up the offset
     
  7. Astrax

    Newcomer Astrax Member

    Joined:
    Jan 30, 2008
    Messages:
    31
    Location:
    Dunno
    Country:
    United States
    Has anyone succesfully removed the drive check in brawl (US)?
     
  8. dweirdo

    Member dweirdo GBAtemp Regular

    Joined:
    Dec 6, 2007
    Messages:
    224
    Country:
    Lithuania
    impressing [​IMG] nice work man thank you [​IMG]
     
  9. lombers

    Newcomer lombers Advanced Member

    Joined:
    Aug 30, 2007
    Messages:
    56
    Country:
    Australia
    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.
     
  10. djsika

    Newcomer djsika Advanced Member

    Joined:
    Mar 5, 2008
    Messages:
    70
    Location:
    United Kingdom
    Country:
    United Kingdom
    removed drive check for a friend with ths tool on us brawl, it works great
     
  11. manias

    Member manias GBAtemp Maniac

    Joined:
    Aug 7, 2007
    Messages:
    1,258
    Country:
    Netherlands
    you should also add the update duplicate channel prevent hack really (tho that's not in main.dol)
     
  12. shadyboy

    Member shadyboy GBAtemp Regular

    Joined:
    Oct 31, 2007
    Messages:
    123
    Location:
    Norway, Sandesjoen
    Country:
    Norway
    wow.... nice [​IMG]
     
  13. bailli
    OP

    Member bailli GBAtemp Regular

    Joined:
    Oct 16, 2006
    Messages:
    179
    Country:
    Germany
    updated to v1.10.
    See first post.
     
  14. bubbleboy

    Member bubbleboy GBAtemp Regular

    Joined:
    Mar 2, 2008
    Messages:
    272
    Country:
    United States
    Great stuff.. if this had an update manager built it it would be The Must Have Wii App!
     
  15. pelago

    Member pelago Member

    Joined:
    Feb 20, 2006
    Messages:
    879
    Country:
    United Kingdom
    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?
     
  16. mrc2

    Newcomer mrc2 Newbie

    Joined:
    Mar 11, 2008
    Messages:
    3
    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
     
  17. SleepyPrince

    Member SleepyPrince GBAtemp Regular

    Joined:
    Aug 9, 2007
    Messages:
    173
    Country:
    Hong Kong
  18. mrc2

    Newcomer mrc2 Newbie

    Joined:
    Mar 11, 2008
    Messages:
    3
    Country:
    United States
    thanks , i'll check it out [​IMG]

    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 .
     
  19. ganons

    Member ganons GBAtemp Advanced Maniac

    Joined:
    Jun 12, 2005
    Messages:
    1,944
    Country:
    United Kingdom
    fantastic hope u keep updating when needed
     
  20. bosscolor

    Member bosscolor GBAtemp Fan

    Joined:
    Dec 4, 2007
    Messages:
    469
    Location:
    Toulouse
    Country:
    France
    nice update
     

Share This Page