Results 1 to 10 of 10
  1. #1
    Moderator Knuckles's Avatar
    Join Date
    Oct 2002
    Location
    Floating Island
    Posts
    1,780

    Dolwin 0.10 Games Patching Guide

    For anyone that knows how to use the debugger and wants to make patches for some games here's a little guide I wrote for some testers:




    -----------------------------------------------------------------------

    First what you need is a hex editor

    Take XVI32 if you don't have any(free):

    http://www.chmaas.handshake.de/delph...vi32/xvi32.htm



    Ok, first of all , patch files are used to add/modify instructions in the emu memory for a specific game. It will be loaded at the same time the map is loaded.

    Now, get your game ID and make a new file with the Id of your game, followed by .patch in your /data/ folder. After that, open your hex editor and go open your patch file you just created.

    Now how it works :

    Code:
    XX XX XX XX    XX XX       XX XX     XX XX XX XX           XX XX XX XX
    ADDRESS         FREEZE      SIZE      NOP INSTRUCTION     DUMMY DATA
    address: CPU effective address to apply patch there
    freeze: Apply patch after every VI frame, if 1
    size: size of data to write at address (in bytes)
    data: patch data (size : 1, 2, 4 or 8 bytes)
    data bytes are started right from this offset,
    not matter what size of data is applied.
    unused bytes of data can be used as small comment


    60 00 00 00 is the nop instruction, no need to put it in with the ASCII format, the instruction number is enough.If you need to get the number of other opcodes, just look in the debugger, it's the number in
    green next to the adress.



    example: put 'nop' opcode at the adress 0x8000B494
    Code:
    80 00 B4 94       00 00        00 04      60 00 00 00       00 00 00 00
    address           freeze        size        nop opcode       dummy data
    it makes : 80 00 B4 94 00 00 00 04 60 00 00 00 00 00 00 00
    then you can enter another adress right after, no need to put anything between.


    -Doc made by Knuckles for the GameCube emulator Dolwin by org
    Last edited by Knuckles; January 18th, 2005 at 21:37.


    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  2. #2
    EmuTalk Member Nifty's Avatar
    Join Date
    Mar 2004
    Posts
    16
    Will it be possible to use patches that other people made, or is it different on every computer?
    Because I don't think I fully understand how to make a patch

  3. #3
    aka Chrono Archangel _Chrono_'s Avatar
    Join Date
    May 2004
    Posts
    244
    Quote Originally Posted by Nifty
    Will it be possible to use patches that other people made, or is it different on every computer?
    Because I don't think I fully understand how to make a patch
    youll be able to use patches from others, as long as its the same game from the same region. a pack is currently being made by the team. a release is due tonight.
    --- Intel Pentium 4 2.6GHz - 1024MB DDR400 - Geforce 6600GT AGP8X ---
    --- WD 160GB - WD 120GB - CD-R/RW 52X/32X/52X - Sony DVD+/-RW ---


  4. #4
    An Alright Guy DarthDazDC's Avatar
    Join Date
    Jun 2004
    Location
    Somewhere where i dont know where i am
    Posts
    520
    would this also be able to make certain games in Dolphin run as well?
    Specs:
    Windows XP Pro SP2
    3.2GHZ HT Pentium 4
    1GB 3200 DDR memory Dual Channel
    Gigabyte Mainboard
    Geforce FX 5600 Ultra
    DVD-RW DL Drive
    DVD reader
    Floppy Disk Drive
    120GB 7200RPM Hard Drive

  5. #5
    Moderator Knuckles's Avatar
    Join Date
    Oct 2002
    Location
    Floating Island
    Posts
    1,780
    patches are game specific, it's using the game ID (like GM4P41), if you have a game that got that ID, you can use the patch for this game.

  6. #6
    Graphics Designer Dysprosium's Avatar
    Join Date
    May 2004
    Location
    Newfoundland
    Posts
    610
    Quote Originally Posted by DarthDazDC
    would this also be able to make certain games in Dolphin run as well?
    No, because Dolphin does not use a patch system. Remember, Dolwin has a lot more options to toy with then Dolphin. ;P

  7. #7
    An Alright Guy DarthDazDC's Avatar
    Join Date
    Jun 2004
    Location
    Somewhere where i dont know where i am
    Posts
    520
    Oh, whoops! I thought this meant patching the games using a patching program instead of using the emulator.
    Specs:
    Windows XP Pro SP2
    3.2GHZ HT Pentium 4
    1GB 3200 DDR memory Dual Channel
    Gigabyte Mainboard
    Geforce FX 5600 Ultra
    DVD-RW DL Drive
    DVD reader
    Floppy Disk Drive
    120GB 7200RPM Hard Drive

  8. #8
    EmuTalk Member
    Join Date
    Jun 2004
    Posts
    18
    How can I get ID of the game that I want to patch?

  9. #9
    Seek 'n' Destroy NintenDS's Avatar
    Join Date
    Jun 2006
    Location
    Inside the CPU of my PC
    Posts
    86
    Where you rom list is, in the middle is the GAME ID, I think...

    If I am incorrect, snapshot will be heading this way.
    Hi there! This is Matthew Coburn's or NintenDS's signature! There is nothing much to see, but I have a website. Click here to visit SMB Central!

  10. #10
    EmuTalk Member zaba_3's Avatar
    Join Date
    Jan 2004
    Posts
    486
    Quote Originally Posted by NintenDS
    Where you rom list is, in the middle is the GAME ID, I think...

    If I am incorrect, snapshot will be heading this way.
    stop reviving old threads
    vampireuk pwned you in irc

    clever words by groepaz:
    "i wonder how small your dick has to be that you have to put your system specs into your sig :=P "

Similar Threads

  1. Dolwin 0.10 Shots
    By JinXD in forum Dolwin
    Replies: 25
    Last Post: June 29th, 2006, 13:36
  2. Dolwin 0.10 released!!
    By _Chrono_ in forum Dolwin
    Replies: 6
    Last Post: January 15th, 2005, 18:34
  3. Dolwin 0.10 Game FPS
    By swl in forum Dolwin
    Replies: 6
    Last Post: January 14th, 2005, 09:20
  4. Dolwin 0.10 Released!
    By Knuckles in forum Emulation64.com News
    Replies: 5
    Last Post: January 11th, 2005, 18:48
  5. Jabo - Mappers Help for you.
    By Nick_kidid0 in forum Jnes
    Replies: 2
    Last Post: October 1st, 2002, 00:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •