PS-X homebrew cdrom master with Wobble Groove data

Discussion in 'Sony Programming and Development' started by gwald, May 1, 2016.

  1. gwald

    gwald Net Yaroze '99

    Joined:
    Jan 6, 2016
    Messages:
    105
    Likes Received:
    36
    Has anyone ask CD duplicators about CDROM mastering which can press CDs (not burn CDRs - replicators) with the PS-X wobble groove data? (the nanometers thin range near the center of the disc).

    I'm sure they would do it, at a cost and a decent press run (1k+), I guess.
    I'm asking around my area.
     
  2. tkeely4777

    tkeely4777 Rapidly Rising Member

    Joined:
    Mar 9, 2013
    Messages:
    77
    Likes Received:
    5
    For what purpose, are you a developer?

    Not sure if they still exist in any capacity, but look into Thin Ice Media. Back in the day, these guys were responsible for pressing (I think) the Gameshark and Action Replay discs for PSone and 2.
     
    gwald likes this.
  3. gwald

    gwald Net Yaroze '99

    Joined:
    Jan 6, 2016
    Messages:
    105
    Likes Received:
    36
    Thanks man!
    yeah, for homebrew.. just wondering if it's possible at this stage.
    I think Thin Ice Media is now datel?
    http://datel.co.uk/pages/Development.aspx
    I emailed them asking if they would do 'indie' runs but they never got back to me
     
    Last edited: May 10, 2016
  4. TriMesh

    TriMesh Site Supporter 2013-2017

    Joined:
    Jul 3, 2008
    Messages:
    2,324
    Likes Received:
    750
    Thin Ice Media was always Datel - they called it that because they were well aware they were operating in something of a legal grey area.

    According to someone I talked to who used to work for Sony DADC they had some specific machines that they used for making PlayStation glass masters - the machines could also be used for making other kinds of CDs, but were modified with a specific operating mode for recording the PSX wobble data - there was a similar arrangement for the PS2. Once they had the glass master, the rest of the disc manufacturing process was identical to any other disc except for the substrate material, which was visually black but transparent to IR light.

    Also note that the frequency of the wobble is (presumably deliberately) very close to the wobble used on a CD-R pregroove to control the disc speed during the writing process. which is why you can't make a CD-R with this data pre-recorded on it.
     
    gwald and tkeely4777 like this.
  5. tkeely4777

    tkeely4777 Rapidly Rising Member

    Joined:
    Mar 9, 2013
    Messages:
    77
    Likes Received:
    5
    I haven't thought about PlayStation copy protection in years. Hypothetically, is it possible to alter a CD burner (firmware, maybe) in some way to overwrite this area on the disc?
     
  6. tkeely4777

    tkeely4777 Rapidly Rising Member

    Joined:
    Mar 9, 2013
    Messages:
    77
    Likes Received:
    5
    I might be getting my history mixed up, but didn't Datel "grow" their own bootable discs by replicating the wobble from an official disc and physically fusing it with the data they wanted to boot?
     
  7. BLUamnEsiac

    BLUamnEsiac ɐɹnɔsqO ʇᴉq-8

    Joined:
    Aug 26, 2011
    Messages:
    672
    Likes Received:
    100
    You might be thinking of Action Replay for Gamecube.
     
    tkeely4777 likes this.
  8. Mystical

    Mystical Resolute Member

    Joined:
    May 3, 2011
    Messages:
    935
    Likes Received:
    35
    yeah i think they used an EA sports game data (NHL???) on the GameCube to get the boot code, apparently it was just enough to ensure boot compatability which kept them on the right side of the law, so long ago now cant remember exactly

    the PSX discs that you may be thinking of were the boot discs that were released at the end of the PSX life, rumours said they cut the wobble from an original disc and added it into the boot disc but i cant see it myself, however happy to be proven wrong
     
    gwald and tkeely4777 like this.
  9. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,879
    Likes Received:
    245
    That trick of using the inner ring of a original disc was done on PS2 discs because there's more data than just the license letters encoded on the "wooble" there.
    You need that "wooble" data (it matches the DISC ID, which happens to be the name given to the boot file for the disc) to be correct and it is why PS2 datel DISCs had IDs taken from proper retail games (Crazy Taxi, TimeSplitters and other early CD-ROM titles). Without that data the "PlayStation 2" logo won't xor properly and the game elf file won't start even if the disc managed to unlock the drive for low level data access.
     
    tkeely4777, BLUamnEsiac and gwald like this.
  10. smf

    smf mamedev

    Joined:
    Apr 14, 2005
    Messages:
    1,255
    Likes Received:
    88
    All CD's wobble, PSX just has a data signal modulated on the wobble.

    https://en.wikipedia.org/wiki/Wobble_frequency

    All you need to do is change from a hard coded sine wave, to waveform that includes the region (or regions) you want to boot (I have a boot disc that will boot on any region)

    The reason why you can't burn it onto a CD-R is that the wobble is pre-determined and is required for writing. It's not like a wax disk that you're scratching a track into wherever you want.
     
    tkeely4777 and gwald like this.
  11. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,879
    Likes Received:
    245
    Actually, the "blank" which is used to make the "positive" which will then press the final plastic discs is actually a sort of "wax disc" made of a thin layer of gold and then glass as substrate. The mastering laser burn holes on the gold and that is filled with the other metal (nickel? tin?) which is used to then form the positive mask which will be used to make the final consumer discs. What I believe trimesh meant is that the actual mastering equipment had it's firmware modified to in addition to encode the standard information required for the standard disc mastering, it would do the PlayStation wobble imprint on the glass master.
     
    tkeely4777 and gwald like this.
  12. TriMesh

    TriMesh Site Supporter 2013-2017

    Joined:
    Jul 3, 2008
    Messages:
    2,324
    Likes Received:
    750
    No, only the recordable discs have wobble - I can absolutely assure you that a regular audio CD or CR-ROM has a linear spiral, which is precisely why Sony were able to put a modulated wobble onto the PSX discs without affecting anything. The reason you can't do it on a CD-R is that they *do* have a wobble and it has to be constant and continuous for the entire pregroove because it's the reference signal for the spindle servo when writing.
     
    gwald, tkeely4777 and BLUamnEsiac like this.
  13. tkeely4777

    tkeely4777 Rapidly Rising Member

    Joined:
    Mar 9, 2013
    Messages:
    77
    Likes Received:
    5
    Is it theoretically possible that, maybe one day, there will be a solution for producing self-booting PlayStation homebrew from a backup disc?
     
    gwald likes this.
  14. Gemini

    Gemini Retro developer

    Joined:
    Apr 1, 2008
    Messages:
    406
    Likes Received:
    88
    No idea if that's actually feasible, but you are probably better off with an AR cartridge and some code to unlock the console via CD commands. I guess the only down side to that is that PSone would be locked out due to having no expansion port.
     
    gwald likes this.
  15. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,879
    Likes Received:
    245
    As smf pointed out, writable discs already have a wooble in them while blank (PS1 use a different kind of modulation for the signal than what CDR do and one would interfere with the other, aka you can't have both at the same time) and the wooble isn't writable either.
     
    gwald likes this.
  16. gwald

    gwald Net Yaroze '99

    Joined:
    Jan 6, 2016
    Messages:
    105
    Likes Received:
    36

    http://www.psxdev.net/forum/viewtopic.php?f=24&t=967

    I haven't tried it myself, but kind of defeats the purpose... I imagine an AR cart is harder to get then a mod chip and installer :/


    Anyone know if the Sony PS1 CDR's had the Sony wobble on them also?
     
  17. Gemini

    Gemini Retro developer

    Joined:
    Apr 1, 2008
    Messages:
    406
    Likes Received:
    88
    An AR cart isn't really that hard to find, plus you can pretty much reuse it on any console laying around, which makes it a lot more versatile and easier to deal with than a mod chip.
     
    gwald likes this.
  18. TriMesh

    TriMesh Site Supporter 2013-2017

    Joined:
    Jul 3, 2008
    Messages:
    2,324
    Likes Received:
    750
    No, they were perfectly standard CD-Rs, which is why they only booted on debug stations.

    I guess you might be able to make a CD-R with this data on it, but it would require a special recorder - without getting into too much detail, the basic problem with CD-Rs is that the recorder has to know how fast the disc is spinning. On a regular CD, the speed is controlled by monitoring the symbol rate out of the EFM decoder, and adjusting the spindle speed until this matches the required data rate.

    This obviously won't work on a CD-R, because until it's recorded there is no data to monitor - and the solution that was chosen was to put a wobble on the pregroove in the disc that the recorder could pick up - this is also modulated to carry address information, since that normally comes from the subcode in a CD-R, and again there is no subcode until the disc has been written (the "ATIP" is a special case of this - it's an encoded value that's written in place of the normal ADIP information in the disc lead-in so that the recorder can identifiy the type of disc).

    So the basic problem is that this stuff is required on a pretty fundamental level for a CD-R to work - and the license data on the PSX is written in a way that would interfere with it (this is possibly deliberate...) - if you get one of the old PlayStations with the discrete component copy protection circuit, it's pretty easy to see this - if you play a regular audio CD then the output of this filter is basically just a little bit of low-level noise - but if you play a CD-R (even an audio one) there is a rather large constant signal coming out of this filter, which would make the license data basically impossible to recover.

    One interesting side effect of this is that if you have one of these old units with the discrete protection circuit and the wire that's supposed to ground out the input of the comparator comes off then you end up with a machine that will only boot pressed copies (I.E. "HK silvers"), and will reject both CD-Rs and original discs (because in both cases the wobble on the disc interferes with the modchip signal).
     
    -=FamilyGuy=-, gwald and BLUamnEsiac like this.
  19. gwald

    gwald Net Yaroze '99

    Joined:
    Jan 6, 2016
    Messages:
    105
    Likes Received:
    36
    Last edited: May 13, 2016
    tkeely4777 likes this.
  20. TriMesh

    TriMesh Site Supporter 2013-2017

    Joined:
    Jul 3, 2008
    Messages:
    2,324
    Likes Received:
    750
    The wobble is recorded in the ToC area of the disc and possibly at the end of the leadin, too. On all the discs I've looked at, it stops during the pregap for the first track, and hence is not present in any part of the user data area of the disc.

    This makes a lot of sense, since according to the ToC a PlayStation CD is simply an CD-ROM XA disc, and hence the CD controller has to know if this is a licensed disc before it finishes reading the ToC so it can distinguish between an XA CD-ROM and a PlayStation game.

    The other demonstration that the wobble is not present in the user area is given by Sony's modchip detection code - that seeks the drive into the user area, goes into x1 play mode and then starts looking for license strings, relying on the fact that an authentic disc does not have a license wobble in this area, but the early modchips just kept on sending.
     
    l_oliveira, gwald and tkeely4777 like this.
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page