PS CD-ROM encoding?

Discussion in 'Sony Programming and Development' started by H360, Apr 27, 2011.

  1. H360

    H360 Familiar Face

    Joined:
    Mar 5, 2011
    Messages:
    1,474
    Likes Received:
    1
    Hi. Now this has made me confused for years...

    How do you 'inject' into a PS CD-ROM the code so you do not need a modchip to play the games? Using the DTL-xxxx chipset??

    I mean, you dont need to have the 'special' black CD-ROMS as those are just a thin plastic or so layer I remember that Sony tried to protect their games from piracy and scratches.


    How do the game developers do it? How can hobbyist's do it??



    Thanks
     
  2. Alchy

    Alchy Illustrious Member

    Joined:
    Apr 6, 2004
    Messages:
    6,216
    Likes Received:
    19
    CD-R and CD-ROM are quite different, you seem to be confusing them. The PlayStation detects the type of disc and refuses to boot if it's a CDR, so you never get to "inject" any code. There's no way to burn a CD-R to make it appear like a CD-ROM disc, or at least not without designing a whole new kind of burner.

    If you want more technical details, google for "PSX wobble protection" or something like that. I don't remember the specifics.
     
  3. H360

    H360 Familiar Face

    Joined:
    Mar 5, 2011
    Messages:
    1,474
    Likes Received:
    1
    So CD-ROM and CD-R are different. huh.

    So the PS laser, etc will only read CD-R.

    I read some stuff on google. Pretty advanced stuff...

    This is what I got...




    (not written by Haunted360)

    Myth #1: The "bad blocks" found on early ps1 games were part of the protection.

    Fact: They were a red herring, and an artifact of the original mastering hardware

    Myth #2: The protection data is stored in sectors that cannot be reached with a PC drive.

    Fact: The protection is actually stored in the 2 sec pregap between the lead in and the first track.

    Here's EXACTLY how psx protection works.

    The pregap mentioned above is mastered with a WOBBLE in it's groove. The PSX's 3 beam pickup can follow and detect the wobble. A normal reader will only see normal data there, but the psx will see a wobbly groove with a constant frequency and changing amplitude. The amplitude changes form low to high and back form the basis of an encoding method that is used to encode the ASCII letters SCE(I/E/A) (Japan/Europe/America) over and over within those 2 seconds.

    This protection is considered (still!) impossible to duplicate on a CDR. this is because 1) no software yet will let you control the initial pregap and let you write it raw, and even if it did 2) no burner will let you write a wobble, and also 3) CDR media includes it's own wobble in the pregroove, which is used for Absolute Time In Pregroove (ATIP) this TIP is encoded into the roughly 22.05khz wobble by modulating it's frequency. Since no burner can obliterate the wobble, you're stuck. The only way to put the proper wobble on a disc is to master it on there. this is what the psx-change people did.

    Note that this wobble does not break any standards. as far as a normal single beam CD reader is concerned, the wobble doesn't' even exist, as it will simply plow through the center, and not see the edges of the wobble. ad a normal 3 beam reader will simply follow the wobble and see nothing out of the ordinary. but the psx has a special circuit that reads the wobble, an interprets the wobble code, shoving letters into the right place.

    all modchips work by inserting the boot code, replacing what is being sent by the psx circuit at the right time.

    Could a CD writer be made to write a bootable psx CD? the answer is YES. but it would have to be able to destroy parts of the atip wobble in the pregap to produce the proper pattern of "wobble-on/wobble-off"

    (not written by Haunted360)
     
    Last edited: Apr 27, 2011
  4. H360

    H360 Familiar Face

    Joined:
    Mar 5, 2011
    Messages:
    1,474
    Likes Received:
    1
    So,

    1) You need special discs with the 'wobbly groove' (IE: Sony PS Discs).
    2) You need a special burner (IE: DTL-xxxx).
    3) You need to know how to program it (PS C).
    4) You need to have a compiled game or program (.exe etc...)
    5) You need to burn it with the special burner.


    No point and no argument. Modchip FTW...
     
  5. Calpis

    Calpis Champion of the Forum

    Joined:
    Mar 13, 2004
    Messages:
    5,906
    Likes Received:
    21
    1) You don't need special discs, you need to make special discs.
    2) You don't need a special burner, you need special MASTERING equipment.
    3) WTF does the SDK / PS executables have to do with it? You'd need to use C (or any language) to write a program to generate the subcode and/or firmware for the equipment for this you can't buy.
    4) The actual track data is irrelevant.
    5) Redundant.
     
    Last edited: Apr 27, 2011
  6. H360

    H360 Familiar Face

    Joined:
    Mar 5, 2011
    Messages:
    1,474
    Likes Received:
    1
    Well, that was a nice post.


    1) How do you make the discs?
    2) MASTERING equipment?
    3) I said you need to use C. Read the post maybe?
    4) - cool -
    5) - cool -
     
  7. HI_Ricky

    HI_Ricky Intrepid Member

    Joined:
    Jun 7, 2007
    Messages:
    650
    Likes Received:
    187
    use CD GEN, or just burn your own cd software with iso9660 mode2
    did you google what is CD Mastering? ok, give you some word: CDR-900E, CDR-100
     
  8. H360

    H360 Familiar Face

    Joined:
    Mar 5, 2011
    Messages:
    1,474
    Likes Received:
    1
    Ah, thank you very much. Helpful by a long way.
     
  9. smf

    smf mamedev

    Joined:
    Apr 14, 2005
    Messages:
    1,255
    Likes Received:
    88
    Developers burnt cd's & the ps1 debug stations act like a modded retail console.

    To do what you want would require you to make a glass master with the ps1 protection on it and then take it to a cd pressing plant.
     
    Last edited: Apr 28, 2011
  10. H360

    H360 Familiar Face

    Joined:
    Mar 5, 2011
    Messages:
    1,474
    Likes Received:
    1
    Yea, unless you can buy the discs and the burner to burn into those 'wobbles' with the special code...
     
  11. HI_Ricky

    HI_Ricky Intrepid Member

    Joined:
    Jun 7, 2007
    Messages:
    650
    Likes Received:
    187
    yes, you can mod early PRO AUDIO CD Burner eg. Yamaha YPDR,CDR100 Sony 900E. to do that write wobbles code ...after that just sync copy by hardware it self what your want , that is done :)
     
    Last edited: Apr 28, 2011
  12. H360

    H360 Familiar Face

    Joined:
    Mar 5, 2011
    Messages:
    1,474
    Likes Received:
    1
    Has this been confirmed and done before? Link, images, video???
     
  13. HI_Ricky

    HI_Ricky Intrepid Member

    Joined:
    Jun 7, 2007
    Messages:
    650
    Likes Received:
    187
    no ,sorry , there no video,no image,or link

    get one master burner menu/pdf, they will let you know what they burn own code before TOC, :)

    and other channel, you can go get one non-mod Virtual Game Station, let see how they use pc drive check it a PSX or not (mod ver, it by pass ), may be not big help ,but still good for know what is it, :)

    btw, i will stop talking here ;)
    good luck
     
    Last edited: Apr 30, 2011
  14. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,879
    Likes Received:
    245
    Playstation discs are Pressed (stamped, like music discs in a mold of hot plastic against a platter of zinc with the grooves "pre-burnt" in).

    The only way of making such discs are replicating the stamp process but since you need professional mastering equipment to do that, you cant.

    That's where modchips come in. :shrug:
     
  15. Cyrem

    Cyrem Spirited Member

    Joined:
    May 5, 2011
    Messages:
    126
    Likes Received:
    0
    I once went searching for an answer to this question.

    I concluded that it was possible by doing these things:

    1. Invent time machine and go back to early 90's
    2. Become a PS game developer.
    3. Make a PS game, get it mastered.
    4. ?????
    5. PROFIT!

    Unfortunately, I'm stuck on step one. For some reason my flux capacitor is not working when I get to 88mph.

    But seriously now. As the other guys said, unless you have mastering equipment... you can't. We just have to make do with modchips...
     
  16. H360

    H360 Familiar Face

    Joined:
    Mar 5, 2011
    Messages:
    1,474
    Likes Received:
    1
    Ah, ok. Understood.

    Not worth it then huh.

    Sucks how you could not get that flux capacitor to work. Was it wired correctly? :rolleyes:
     
  17. Cyrem

    Cyrem Spirited Member

    Joined:
    May 5, 2011
    Messages:
    126
    Likes Received:
    0
    I think so, I got my AA battery in the right way and um.... I connect that to the positive and negative inputs on my flux capacitor...

    oooohh! maybe I should try two AA's.

    :p
     
  18. Buyatari

    Buyatari Well Known Member

    Joined:
    Jul 31, 2004
    Messages:
    1,804
    Likes Received:
    164
    Are there any bootlegs from Russia China etc done with mastering equiptment?

    Real bootleg discs that work on unmodified retail units.
     
  19. san186

    san186 Rapidly Rising Member

    Joined:
    Jan 20, 2006
    Messages:
    98
    Likes Received:
    0
    Hd advance on the ps2 was mastered n booted on retail consoles.
     
  20. san186

    san186 Rapidly Rising Member

    Joined:
    Jan 20, 2006
    Messages:
    98
    Likes Received:
    0
    Same fir all those swap magic disks too lol
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page