Emuforums.com

Go Back   Emuforums.com > PS2 Emulation > PCSX2 Forum
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

WON'T YOU JOIN US?
You are not a registered member and
are viewing this site as a guest.
Registration is simple and FREE.
Join this CrowdGather community today.
Registration offers the following perks:

» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging

join

Reply
 
Thread Tools Display Modes
Old May 27th, 2006, 23:35   #1
CKemu
It's a Spinning Smile!
 
CKemu's Avatar
 
Join Date: Oct 2001
Posts: 5,305
IPU Freeze Fix Patch [PAL FFX and FFX demo]


When IPU does a VDEC or FDEC decode command (dont ask) it puts the result in the IPU_CMD data field, this patch NOP's a line of code that is waiting for data to just be 0x4 and nothing else. Un-patched it's never getting 0x4, thus branches and causes the video to freeze, this patch simply tells it to 'not worry' about it being 0x4.

This MAY fix a variety of video freezes (caused by in-accurate emulation, that will eventually be fixed), but came about due to me 'researching' the Final Fantasy X and X demo freeze during the Zanarkand intro movie.

Refraction took my patch work and produced a simple HEX string for you guys to use, below is a simple tutourial on how to make a patch for this kind of video freeze, and attached are the two patches I produced.

This won't make a game magically work even when you are past a video

Step 01
You will firstly need ps2dis099_23.zip. Extract this into a folder such as C:\ps2dis or where ever you wish to.

Step 02
Insert your game CD or DVD into a drive (of course you will need a DVD drive to read DVD discs). Or if for whatever reason (we don't wish to know) you are using a ISO of the game, mount the ISO onto a virtual drive, using such tools as Nero, Alchol 120% or Daemon Tools.

Step 03
Load up PS2dis from wherever you put it, browse to the drive where the game is via File>Open and select the main exe (aka ELF).

The main game executable will loook like AAAA_###.##. Where 'AAAA' is SCES / SLES / SCUS / PBPX / SLPM. ###.## will be a series of numbers.


Step 04
Now go to Edit>Find Pattern:


Next tick As Hex String and put the following into the search box: 0000428CFFFF5030DBFE0316

You should have something like the image below:


Step 05
This should of jumped to a line similiar to below:


Read down from the highlighted line, where it should say bne s0, v1, $******** (-*** ▲__********) (normally two lines down), this is the line you are going to patch. On the far left there will be an 8 long number (called an address ), in this case it's 0015e760, make a note of YOUR number (eg, not the one in this example). Double check you got it written down correctly!!!! a single number / letter out will make your patch USELESS.

Step 06

Now it is time to make the patch, make a new text file, and paste the following into it:
Code:
gametitle=NAME OF YOUR GAME
comment=Skips Video Freeze
//Skip Videos
patch=0,EE,YOUR NUMBER,word,00000000
Replace 'NAME OF YOUR GAME' with well you guessed it Replace 'YOUR NUMBER' with that number you got from ps2dis, AGAIN MAKE SURE YOU GOT IT DOT ON!!!, save the text file!

Step 07

Put the *.txt file you just made into the patch's folder of PCSX2. Boot PCSX2, and enable Console and patchs

Yes I know this is a shot from an old build, but I couldn't be fussed to make a new shot when the GUI is identical except V number and image


Then run the emulator (making sure it's setup to read from the drive you have your game in!

PCSX2 will not be able to find the patch, don't panic! In the console output (which you just enabled), the CRC of the game will be meantioned, in this case A39517AB. Make a note of YOUR CRC.


Close the emulator, and go into your patch folder, rename the text file with your patch in it, to YOUR CRC.pnach (replace 'YOUR CRC' with the number you just got from the console title.

Voila you just made a patch, re-run the emulator (making sure you leave 'enable patches' ticked), and the game may get further, if you get any results, post your patch with screenshots in the screenshots thread.
Attached Files
File Type: 7z FFX plus FFXdemo Video Freeze Patch.7z (472 Bytes, 1843 views)
__________________

» Beta Tester for PCSX2 | ZeroGS KOSMOS | Satourne | nullDC | Dolphin | Misc Projects «
» Intel Core i7 950 D0 @ 3.7GHz | GeForce GTX 480 | Corsair Dominator 6GB @ 1866MHz «
CKemu is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old May 28th, 2006, 02:28   #2
RealOne
PCSX2 FAN
 
RealOne's Avatar
 
Join Date: May 2005
Location: Male', Maldives
Posts: 767
Nice.. Let me check this and yea post results on Screenshots thread
__________________

General Emulation Forums : Linking Emulation Together
RealOne is offline   Reply With Quote
Old May 28th, 2006, 08:10   #3
Qwin
 
Qwin's Avatar
 
Join Date: Dec 2005
Location: Netherlands
Posts: 643
nice CKemu
__________________
yooooo cool cool ..... no realy .... cooool!!!!!!
click here for pcsx2 1.0 beta works full speed
Qwin is offline   Reply With Quote
Old May 28th, 2006, 11:16   #4
jesusrp
pcsx2 fan!
 
Join Date: Dec 2004
Location: Quite near to you!
Posts: 20
Great CKEmu, as usually.

Is there a way to know that one game is freezing because of this problem? or is just a matter of try making the patch?

if this: '0000428CFFFF5030DBFE0316' exists means that the game will freeze or it exists always?

Thanks
jesusrp is offline   Reply With Quote
Old May 28th, 2006, 11:22   #5
refraction
PCSX2 Coder
 
refraction's Avatar
 
Join Date: Jan 2004
Location: Plymouth, UK
Posts: 10,037
Quote:
Originally Posted by jesusrp
Great CKEmu, as usually.

Is there a way to know that one game is freezing because of this problem? or is just a matter of try making the patch?

if this: '0000428CFFFF5030DBFE0316' exists means that the game will freeze or it exists always?

Thanks
not necesseraly, it means that its a possible place that it will freeze, if you know the game to freeze on the video and it has that string, patching it might solve the problem.
__________________

http://www.pcsx2.net
Intel i7 920 @ 3.4Ghz, POV GTX 570 1.3Gb, 1.8Tb HD space, 6Gb OCZ Reaper PC3-14400 Triple Channel
Dont PM me for help, use the forums, thats what its for!


My Chip16 Emulator RefChip16 http://code.google.com/p/refchip16/
refraction is offline   Reply With Quote
Old May 28th, 2006, 11:56   #6
TWave
A Square Fan!
 
TWave's Avatar
 
Join Date: May 2005
Location: Spain, Berriz
Posts: 592
I know lots of games that freeze on the video (sometimes).
I have to start testing know

Tanks CK
__________________
My shared Folder
TWave is offline   Reply With Quote
Old May 28th, 2006, 12:42   #7
NexXxus
it'se miku!
 
NexXxus's Avatar
 
Join Date: Jan 2006
Location: Cologne, Germany
Posts: 3,609
okay thx for that patch

But i have another questiom:
Cheat tools like AR Max or Xplorer uses hex strings to to apply an cheat right?
so would it possible to apply an cheat as Patch?

i post this question a long time ago and i don't want to bother.
NexXxus is offline   Reply With Quote
Old May 28th, 2006, 12:46   #8
cyclonmaster
EmuAddict-_-;;
 
cyclonmaster's Avatar
 
Join Date: Apr 2005
Location: Sarawak, Malaysia
Posts: 2,736
Yes, you can make a cheat for some games. Refer to Nachbrener patch guide site here:
http://www.pcsx2.net/nachbrenner/
__________________

Win XP SP3 | Monitor BenQ FP 91G+|Intel Core i3-530 2.93GHz | GA-P55-USB3L - GIGABYTE | Albatron 6600GT 128MB PCI-E | Corsairs 2GB DDR3

Laptop Lenovo z460 : Win XP SP3 | Intel Core i5-460M(2.8GHz) | NVidia G310M CUDA DDR3 1GB | 2GB DDR3 Memory | 500GB HDD SATA | 14.1 WXGA LED Display


Please Answer This Survey. Thank You.
cyclonmaster is offline   Reply With Quote
Old May 28th, 2006, 12:51   #9
CKemu
It's a Spinning Smile!
 
CKemu's Avatar
 
Join Date: Oct 2001
Posts: 5,305
it's possible to cheat via the pnach system, but you would have to convert the AR code to raw HEX via a decryptor (they are readily available), and I would assume do something with the master code as well, but you have a debugger and thus essentially all you need to write cheats.
__________________

» Beta Tester for PCSX2 | ZeroGS KOSMOS | Satourne | nullDC | Dolphin | Misc Projects «
» Intel Core i7 950 D0 @ 3.7GHz | GeForce GTX 480 | Corsair Dominator 6GB @ 1866MHz «
CKemu is offline   Reply With Quote
Old May 28th, 2006, 14:35   #10
NexXxus
it'se miku!
 
NexXxus's Avatar
 
Join Date: Jan 2006
Location: Cologne, Germany
Posts: 3,609
hmm
where i can download phaste ?
i can't find anything on this site: http://hp.vector.co.jp/authors/VA018359/
NexXxus is offline   Reply With Quote
Old May 28th, 2006, 17:00   #11
cyclonmaster
EmuAddict-_-;;
 
cyclonmaster's Avatar
 
Join Date: Apr 2005
Location: Sarawak, Malaysia
Posts: 2,736
You can get phaste 1.20 here:
http://forums.ngemu.com/pcsx2-offici...-requests.html
__________________

Win XP SP3 | Monitor BenQ FP 91G+|Intel Core i3-530 2.93GHz | GA-P55-USB3L - GIGABYTE | Albatron 6600GT 128MB PCI-E | Corsairs 2GB DDR3

Laptop Lenovo z460 : Win XP SP3 | Intel Core i5-460M(2.8GHz) | NVidia G310M CUDA DDR3 1GB | 2GB DDR3 Memory | 500GB HDD SATA | 14.1 WXGA LED Display


Please Answer This Survey. Thank You.
cyclonmaster is offline   Reply With Quote
Old May 28th, 2006, 19:58   #12
NexXxus
it'se miku!
 
NexXxus's Avatar
 
Join Date: Jan 2006
Location: Cologne, Germany
Posts: 3,609
ok i got it.
But its complete in japanese and my computer displays only question marks.
is there an english translation?
NexXxus is offline   Reply With Quote
Old May 30th, 2006, 19:14   #13
Picao84
Registered User
 
Join Date: Apr 2006
Location: Portugal
Posts: 38
Hi, this patch only works on the Zanarkand video, or it works in every fmv in Final Fantasy X?
Picao84 is offline   Reply With Quote
Old May 30th, 2006, 19:47   #14
refraction
PCSX2 Coder
 
refraction's Avatar
 
Join Date: Jan 2004
Location: Plymouth, UK
Posts: 10,037
it should work with any that freezes
__________________

http://www.pcsx2.net
Intel i7 920 @ 3.4Ghz, POV GTX 570 1.3Gb, 1.8Tb HD space, 6Gb OCZ Reaper PC3-14400 Triple Channel
Dont PM me for help, use the forums, thats what its for!


My Chip16 Emulator RefChip16 http://code.google.com/p/refchip16/
refraction is offline   Reply With Quote
Old June 5th, 2006, 22:55   #15
Picao84
Registered User
 
Join Date: Apr 2006
Location: Portugal
Posts: 38
well, I tested it and... it only works in the Zanarkand movie, guys... too bad... well, thanks anyway and keep up the good work
Picao84 is offline   Reply With Quote
Old July 13th, 2006, 21:35   #16
jayanne
^-GeOsTiGmAtIsM-^
 
jayanne's Avatar
 
Join Date: Jul 2006
Location: Makati City, Philippines
Posts: 2
where can i find final fantasy X patch (US version) .. thankz
jayanne is offline   Reply With Quote
Old July 13th, 2006, 22:45   #17
Ex0skelet0r
Ellhniko Palikar
 
Ex0skelet0r's Avatar
 
Join Date: May 2005
Location: Earth
Posts: 70
With this patch we can watch the videos without problems or the videos with problems will be skiped?
Ex0skelet0r is offline   Reply With Quote
Old July 13th, 2006, 23:18   #18
Kekko12
Registered User
 
Join Date: Jul 2006
Location: Italia
Posts: 8
Hi!
I own a copy of Final Fantasy X Ita and I tried to create a patch that allows me to play, (I.E. skipping the main video).
I followed all the instruction but I get always an hang of Pcsx2.
Is, for this version of the game, different the hex number that I have to insert in Ps2dis, or is it a problem of different nature?

This is the content of my own patch

The CRC is a39517a9

gametitle=Final Fantasy X
comment=Skips Video Freeze By Kekko
//Skip Videos
patch=0,EE,0015e760,word,00000000

When I submit the Hex number (0000428CFFFF5030DBFE0316) I obtain your same blu screen without the number
after the delta(__0015e2d0).
Also the number of your CRC is different from mine.
I hope you can help me so that I can post a patch for all the owners of this version of the game

Thank you

Last edited by Kekko12; July 13th, 2006 at 23:32..
Kekko12 is offline   Reply With Quote
Old July 14th, 2006, 04:26   #19
Fragmaster
Registered User
 
Join Date: May 2006
Location: Pillow
Posts: 438
The crc should be different, as the version of the game is different. Each crc is unique to each game. As for the missing number, could you send a screenshot of what it looks like?
Fragmaster is offline   Reply With Quote
Old July 14th, 2006, 15:40   #20
Kekko12
Registered User
 
Join Date: Jul 2006
Location: Italia
Posts: 8
The CRC requested from the game was a39517a9. It was displayed in the name bar of the console. So, I named the text file as a39517a9.pnach.
But now the game finds the patch but it crashes the same (without requesting me the patch).
So I suppose that the problem is in the hex number that should be different from the one in the guide. Is it correct?
(I don't now how to post a screenshot, sorry)
The file opened with ps2dis in the DVD is SCES-50493.

THANKS AGAIN
Kekko12 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 09:50.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.