Page 1 of 1
This disk does not have raw headers Audio may not be detecte
Posted: August 27th, 2015, 2:48 am
by Samez
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:
Should look like:
Would be much appriciated if you guys could give me some ideas because im almost all out,
Many thanks,
Sam
Re: This disk does not have raw headers Audio may not be det
Posted: August 27th, 2015, 6:39 am
by Orion_
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:
http://www.psxdev.net/forum/download/file.php?id=136
http://www.psxdev.net/help/psx_extended ... cture.html
Re: This disk does not have raw headers Audio may not be det
Posted: August 27th, 2015, 7:44 am
by Samez
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.
Re: This disk does not have raw headers Audio may not be det
Posted: August 27th, 2015, 12:03 pm
by Administrator
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
[email protected]
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.
Re: This disk does not have raw headers Audio may not be det
Posted: August 27th, 2015, 6:52 pm
by Orion_
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...
Re: This disk does not have raw headers Audio may not be detecte
Posted: March 1st, 2020, 11:29 pm
by THeLoRD
Hi!
I guess this post is useless as this forum seems inactive for ages, but I'm the author of PSX2HD. I found back (parts of) the source code. It's a very easy code, I could post it here if someone wanted to. Or rewrite something a bit "cleaner". I was 16-17 at the time so before learning CS at uni

Re: This disk does not have raw headers Audio may not be detecte
Posted: March 2nd, 2020, 10:13 am
by Administrator
I think I have the source code to PSX2HD, but it's been a long time. I might only have the binary for it. If you can upload it that would be useful so we can keep it archived.
Re: This disk does not have raw headers Audio may not be detecte
Posted: February 3rd, 2021, 5:38 pm
by the7thchild
Hi THeLORD.
We are anticipating your post for the source code. I am working on a psx2HD Windows 10 version.
Thank you for your help!
best regards
Charles