This disk does not have raw headers Audio may not be detecte

General PSX CD Troubleshooting, PSX CD-ROM Mastering and Disc Creation
Post Reply
Samez
What is PSXDEV?
What is PSXDEV?
Posts: 3
Joined: November 7th, 2014, 1:18 am

This disk does not have raw headers Audio may not be detecte

Post by Samez » August 27th, 2015, 2:48 am

Basically i have ripped resident evil 2 changed something rebuilt it with two programs now and both say same thing the game uses xa Tracks i believe and the video files are a STR format, so how do i make my disc bootable?

Looks like:Image

Should look like:Image


Would be much appriciated if you guys could give me some ideas because im almost all out,

Many thanks,

Sam

User avatar
Orion_
Legendary Programmer
Legendary Programmer
Posts: 225
Joined: August 13th, 2012, 2:48 am
I am a: Programmer
PlayStation Model: Net Yaroze
Location: France
Contact:

Re: This disk does not have raw headers Audio may not be det

Post by Orion_ » August 27th, 2015, 6:39 am

the XA file is a multiple audio tracks file, and STR file is a video+audio file, the data of these particular files are not just like ordinary data file you can find on any cd-rom.
An audio CD have a sector size of 2352 bytes, and a classic data CD-rom have a sector size of 2048 bytes, The difference of 304 bytes is used as data for error correction (in case the cd have scratches)
Sony used the extra 304 bytes to store additional data such as audio + video for the STR and XA file format, thus obtaining a higher bitrate.
That's why your ordinary PC CD-rom and file browser can't read/copy these STR or XA files correctly, you must use a special program, or use a raw cd image extractor program.
I don't think there is a tool (beside official sony tools) that can recreate a cd image with XA/STR file correctly inserted.
so if you try a classic cd image creator, it won't work, and an homebrew psx cd image creator such as PSXISOMaker, it won't work either.
You need to use the official sony cd tool, and it's not "easy", first it only works under DOS system, so you need DOSbox, and you need to understand how to create a CTI file that describe your cd layout, use stripiso, etc...
I made a "dir2cti" tool one day but I don't know where it is, I should find it to release it.

example of how to create a cd image using sony tools:
download/file.php?id=136
http://www.psxdev.net/help/psx_extended ... cture.html
Retro game development on Playstation and other consoles http://orionsoft.free.fr/

Samez
What is PSXDEV?
What is PSXDEV?
Posts: 3
Joined: November 7th, 2014, 1:18 am

Re: This disk does not have raw headers Audio may not be det

Post by Samez » August 27th, 2015, 7:44 am

Thanks for your reply i will look into it i have alot off time on my hands at the moment and would like to get to grips with it,

Many thanks sam.

User avatar
Shadow
Admin / PSXDEV
Admin / PSXDEV
Posts: 2232
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

Re: This disk does not have raw headers Audio may not be det

Post by Shadow » August 27th, 2015, 12:03 pm

Orion explained it exactly correct. You will need to dump the disc and essentially re-create the CTI sheet manually.
I too have a program that makes a CTI sheet automatically, but if my memory serves me correctly, it either crashed, or did not rip XA tracks correctly. If you can release yours Orion, that would be great. Otherwise, in my free time, I might have a go at making one myself (a fair of programming to be undertaken).

The program I have is called 'PSX2HD' by 'THeLoRD' made in 1999.
Don't bother trying his hotmail, as I never heard back from him (because the account is dead).
When I run it under Windows 7 (32-bit), I get "Runtime error 200 at 0260:0091." (he says it it because of a 'Borland C' architecture problem). I used it ages ago under Windows 98, so you might have to use DOSBox.
I really wanted the source so I could fix it up, but that's not going to happen :|

Code: Select all

                           PSX2HD Version 1.1                      THeLoRD'99
                           ==================

                              Readme File
                              ===========

06/26/99
lord_rob26@hotmail.com
http://thelord-psx.virtualave.net

Contents
========
  1. What is PSX2HD ?
  2. What would it be usefull for ?
  3. What's new ?
  4. Registration.
  5. Setup PSX2HD.
  6. Using PSX2HD.
  7. How to use BuildCD to create a valid CD image from the files extracted
     from the CD.
  8. Known Bugs.
  9. Future projects.

1. What is PSX2HD ?
    
   PSX2HD is a simple tool that allows you to copy all the files from a PSX CD
   to your hard disk (including Streams and XA audio, which cannot be copied
   normally with the MS-DOS COPY function). At the same time, it also creates
   a CTI script file which is used with BuildCD, the CD image generator for
   PSX. Audio tracks are NOT extracted so you have to use an external program
   like Easy CD-DA Extractor to perform audio extraction.

2. What would it be usefull for ?

   When the files are on the HD, you can modify them as you wish. You can for
   example pictures music, pictures or videos of the game. With this tool, it
   should also be easier to code some intro or for example to code a little
   program to change video mode of the running program.

3. Whats new ?
   
   A lot of bugs have been fixed thanks to Naitachal's help. Version 1.0 of
   PSX2HD was generating incorrect CTI files. A backslash was put infront of 
   each directory, which wasn't done with the beta version I used for 
   debugging.
   This Borland Pascal 7.0 program crashed with fast pentium (Runtime Error 200).
   This was a bug of Borland, not mine. But program has been patched with BP7PAT.
   Some other little minor bugs have been fixed too.
   I've also added an automatic CDRWIN CUEFile Generator.
   
4. Registration

   This program is of course a freeware. But if you use it regularly please
   "register" it by sending me an e-mail. I would just like to know how many
   people are using this proggy.

5. Setup PSX2HD

   PSX2HD needs to know where the license information file is located. You
   will have to set an environment variable called LICENSE containing the
   full path of this file.
   Example :
     SET LICENSE=C:\BUILDCD\LICENSEE.DAT

   PSX2HD also needs to use MSCDEX. If you are using WIN9x, MSCDEX is emulated
   so you do not need to load it in your autoexec.bat.

6. Using PSX2HD

   Very easy.
   PSX2HD CDROM: X:\MYFILE.CTI
   CDROM: is your CDROM drive letter.
   X:\MYFILE.CTI is the destination path of the target CTI file.
   A subdirectory called by the same name of your CTI file will be created
   and all the files from the CDROM will be put on (keeping the directory
   structure).
   All you have to do now is waiting...
   This is the main problem of PSX2HD : it's very slow, especially when
   copying files with XA sectors. It's a 16-bit program and reading sectors
   with the CDROM driver is a great lost of time.

7. How to use BuildCD to create a valid CD image from the files extracted
   from the CD.

   It's very boring to do all these steps !
   1. Create a BuildCD CD Image :
        BUILDCD MYFILE.CTI -iMYIMAGE.IMG
        BuildCD will read the CTI script and convert it to a propietary
        CD image format. It cannot be burnt on a CD.
   2. Convert this image to a standard ISO CD image :
        STRIPISO S 2336 MYIMAGE.IMG MYIMAGE.ISO
        The S option means that STRIPISO must keep the license information.
        2336 is the sector size.
   3. Create a CUE file used for DAO/CDRWIN
        Example :
          FILE C:\CD\MYIMAGE.ISO BINARY
            TRACK 01 MODE2/2336
            INDEX 01 00:00:00
          POSTGAP 00:02:00

          FILE C:\CD\AUDIO1.RAW BINARY
            TRACK 02 AUDIO
            PREGAP 00:02:00
            INDEX 01 00:00:00

        The audio track data must be RAW 16-bit-44Khz-Stereo sample. Note
        that PSX2HD does not perform audio sector copy from the orignal CD
        so you will have to use an external program like Easy CD-DA
        Extractor.
        Note that PSX2HD v1.1 automatically generates a CDRWIN CUEFile for the
        Data track.
   4. When you have made all these steps, you can finally burn your CD with
      CDRWIN/DAO.

8. Known bugs

   - The original CDROM volume name is not extracted correctly. Only the 11
     first characters are retrieved. But in fact, that does not really matter
     because BuildCD don't put back the CD Volume name (or perhaps it's another
     bug of my program).
   - Surely plenty of other ones.

9. Future projects

   - Single file extraction at the command line.
   - Win32 port. I think it should be faster if I used WINASPI32 instead of
     MSCDEX.
   - Perhaps a BuildCD replacement that would directly output ISO CD Images.

Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

Development Computer: Windows 98, Pentium 3 [400MHz], 128MB SDRAM, DTL-H2000, DTL-H201A, 21" Sony Trinitron CRT, CD-ROM burner, 3.25" and 5.25" Floppy Diskette Drives and a ZIP 100 Diskette Drive.

User avatar
Orion_
Legendary Programmer
Legendary Programmer
Posts: 225
Joined: August 13th, 2012, 2:48 am
I am a: Programmer
PlayStation Model: Net Yaroze
Location: France
Contact:

Re: This disk does not have raw headers Audio may not be det

Post by Orion_ » August 27th, 2015, 6:52 pm

in fact my tool is not to rip PSX CD like yours.
I made "dir2cti" so I can create psx cd image from my own files without doing it manually (i.e: writing the cti file myself)
I simple put all the file of my psx cd in a directory, and my tool will create the cti file from that directory structure, (and specify XA stuff when it encounter an .xa or .str filename)
it's just to simplify cd mastering when creating a psx cd game.
I didn't release it because I felt I had to explain in the readme of the tool, how to create a cd using the official tool, and since it's not an easy task, I was lazy...
Retro game development on Playstation and other consoles http://orionsoft.free.fr/

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest