Spelkontroll  ::  Emulation64  ::  DCEmu.co.ukNetwork Sites:    About  ::  Hosting  ::  Donate 
Home Files Forums Reviews Guides Articles Interviews



Welcome to EmuTalk.net

Go Back   EmuTalk.net > GC Emulation > Dolwin

Welcome to EmuTalk

Reply
 
Thread Tools Display Modes
Old January 18th, 2005, 22:31   #1
Knuckles
Moderator
 
Knuckles's Avatar
 
Join Date: Oct 2002
Location: Floating Island
Posts: 1,781
Knuckles is a name known to all
Send a message via MSN to Knuckles
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
--------------------
CLICK PLZ!: <nothing atm>

Official Beta tester of : Gekko, Dolphin and Dolwin!
My UT2004 Perfect Dark website and the Forum

Last edited by Knuckles : January 18th, 2005 at 22:37.
Knuckles is offline   Reply With Quote
Old January 18th, 2005, 22:48   #2
Nifty
EmuTalk Member
 
Nifty's Avatar
 
Join Date: Mar 2004
Posts: 16
Nifty is just really nice
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
Nifty is offline   Reply With Quote
Old January 18th, 2005, 23:01   #3
_Chrono_
aka Chrono Archangel
 
_Chrono_'s Avatar
 
Join Date: May 2004
Posts: 241
_Chrono_ is just really nice
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 ---

_Chrono_ is offline   Reply With Quote
Old January 18th, 2005, 23:18   #4
DarthDazDC
An Alright Guy
 
DarthDazDC's Avatar
 
Join Date: Jun 2004
Location: Somewhere where i dont know where i am
Posts: 509
DarthDazDC is a glorious beacon of light
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
DarthDazDC is offline   Reply With Quote
Old January 18th, 2005, 23:20   #5
Knuckles
Moderator
 
Knuckles's Avatar
 
Join Date: Oct 2002
Location: Floating Island
Posts: 1,781
Knuckles is a name known to all
Send a message via MSN to Knuckles
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.
--------------------
CLICK PLZ!: <nothing atm>

Official Beta tester of : Gekko, Dolphin and Dolwin!
My UT2004 Perfect Dark website and the Forum
Knuckles is offline   Reply With Quote
Old January 18th, 2005, 23:39   #6
Dysprosium
Graphics Designer
 
Dysprosium's Avatar
 
Join Date: May 2004
Location: Newfoundland
Posts: 609
Dysprosium is just really nice
Send a message via AIM to Dysprosium Send a message via MSN to Dysprosium
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
--------------------
Dysprosium is offline   Reply With Quote
Old January 19th, 2005, 00:01   #7
DarthDazDC
An Alright Guy
 
DarthDazDC's Avatar
 
Join Date: Jun 2004
Location: Somewhere where i dont know where i am
Posts: 509
DarthDazDC is a glorious beacon of light
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
DarthDazDC is offline   Reply With Quote
Old May 8th, 2005, 11:24   #8
kzez1986
EmuTalk Member
 
Join Date: Jun 2004
Posts: 18
kzez1986 is just really nice
How can I get ID of the game that I want to patch?
kzez1986 is offline   Reply With Quote
Old June 28th, 2006, 10:03   #9
NintenDS
Seek 'n' Destroy
 
NintenDS's Avatar
 
Join Date: Jun 2006
Location: Inside the CPU of my PC
Posts: 86
NintenDS has a spectacular aura about
Send a message via MSN to 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.
--------------------
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!
NintenDS is offline   Reply With Quote
Old June 29th, 2006, 14:34   #10
zaba_3
EmuTalk Member
 
zaba_3's Avatar
 
Join Date: Jan 2004
Posts: 482
zaba_3 is just really nice
Send a message via MSN to zaba_3
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 "
zaba_3 is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dolwin 0.10 Shots JinXD Dolwin 25 June 29th, 2006 14:36
Dolwin 0.10 released!! _Chrono_ Dolwin 6 January 15th, 2005 19:34
Dolwin 0.10 Game FPS swl Dolwin 6 January 14th, 2005 10:20
Dolwin 0.10 Released! Knuckles Emu64 News 5 January 11th, 2005 19:48
Jabo - Mappers Help for you. Nick_kidid0 Jnes 2 October 1st, 2002 01:43


All times are GMT +1. The time now is 20:26.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.