Emuforums.com

Go Back   Emuforums.com > PSX Emulation > ePSXe Discussion > ePSXe Archive
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

 
 
Thread Tools Display Modes
Old April 24th, 2001, 14:23   #1
Danner
Registered User
 
Danner's Avatar
 
Join Date: Apr 2001
Posts: 12
Post

This is the core of the matter:

I'm dying to try out FF9 on epsxe. However, I own the norwegian version (Pal UK-type), thus making that a little difficult. Realising the problems of no low-level read support of the emulators, I was wondering if we could... we... simply add it as a cheatcode.

The libcrypt system has a routine that reads some data off the CD, encrypts it and stores it in the clipboard of your psx. Another routine then checks that magic word and crashes if it's not correct. Crackers (paradox) disables the second routine by hacking into the code of the CD and altering teh second routine to not crash. Howeverm they haven't released the PAl UK version and probably won't.

My idea: Let the check work, don't hack. Low level read is done by calling register $1f80180x and getting some specific data off the media. I am yet usure of what data, but to my (rather limited) knowledge of the matter, the only thing varying from cd to cd would be the registration number. Since the game only uses $1f80180x to do lowlevelreading, why don't we just PROVIDE the correct data straight to the PSX cheat function? It's even simple.

And then the problem. I need to find what data is different from cd to cd. Because, obviously, the game should not work with a burned copy. So far, the cd registration number won't work, though it fits nicely in the 32 bit registers. So, anyone able to redirect me to some info on the psx media?


--
Danner
Danner is offline  

Advertisement [Remove Advertisement]
Old April 24th, 2001, 15:00   #2
Lewpy
Emu author
 
Lewpy's Avatar
 
Join Date: Apr 2001
Location: Southern England
Posts: 520
Re: Technical CD Question

For some public info on the PSX system components, check out THE PADUA PLAYSTATION RESOURCE. It's packed with all kinds of good stuff.
Now, the register range you have quoted ($1f80180x) actually covers all the CD registers, so basically anything could be happening.
There is all kinds of things the game could be looking at. Maybe it's sub-channel information? I don't have a PSX development system, so can't do any debugging
Lewpy is offline  
Old April 24th, 2001, 15:24   #3
Danner
Registered User
 
Danner's Avatar
 
Join Date: Apr 2001
Posts: 12
Re: Technical CD Question


Thanks for the input, though I had been at the site already. A good site by the way.

I was just wondering how much of a cd can be different through one burn? Since the entire system was designed to block burned cd's, the answer must lie in that difference. Sadly, I don't have any debugging tools either....

Oh well. The futile quest continues
Danner is offline  
Old April 24th, 2001, 15:31   #4
Bgnome
Who Da Gnome?
 
Bgnome's Avatar
 
Join Date: Apr 2001
Location: At Home
Posts: 2,441
Re: Technical CD Question

this is a little bit of info i managed to dig up..
i dunno if it helps at all

Quote:
Anti-Copy Protection:
---------------------

The PSX compact disc copy protection is based upon the premise that most (if
not all) CDRs and pressing stations pre-mastering processes will automatically
regenrate a 'corrupt' sectors EDC/ECC code.

Sectors 12 through 15 contain a zeroised EDC/ECC checksum (impossible) so
if the PSX reads and doesn't see an invalid EDC/ECC then it knows that the
CD in the drive is a copy. (The EDC is simply a CRC type hash that is used as
a checksum to determine if the sector was read correctly. The ECC is used to
recreate the sectors data).

The entire range of sectors are written in a RAW format (2352 bytes) and are
completely zeroed, even the XA sub-header and EDC/ECC are zeroed. When it is
copied on a CDR, these sectors are exact, except for the EDC/ECC code which is
(correctly) written as 0x3F13B0BC.
__________________
May the Gnome™ be With You
Bgnome is offline  
Old April 24th, 2001, 15:58   #5
Danner
Registered User
 
Danner's Avatar
 
Join Date: Apr 2001
Posts: 12
Re: Technical CD Question

Indeed, ff9 uses that protection (or so my hexeditor tells me).
But as I use the original CD; that shouldn't be a problem. Thanks anyway
Danner is offline  
Old April 24th, 2001, 18:41   #6
Zell
The Sword Saint
 
Zell's Avatar
 
Join Date: Apr 2001
Location: Death Zone
Posts: 1,750
Re: Technical CD Question

*deleted* it may solve some of your problems

*edited by Bgnome
__________________
Kuzuryusen ! God-like speed to attack all nine vital points in one stroke. Impossible to dodge and defend ! How want's to stop me

E-Mail
Zell is offline  
Old April 24th, 2001, 19:08   #7
Bgnome
Who Da Gnome?
 
Bgnome's Avatar
 
Join Date: Apr 2001
Location: At Home
Posts: 2,441
Re: Technical CD Question

you guys really gotta stop posting the url to that site..
it has warez content and thus is not allowed on these boards.
__________________
May the Gnome™ be With You
Bgnome is offline  
 

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 05:40.

© 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.