m35 / jpsxdec

jPSXdec: cross-platform PlayStation 1 audio and video converter
http://jpsxdec.blogspot.com/
461 stars 24 forks source link

Crash Team Racing XA Audio #16

Closed fjay69 closed 5 years ago

fjay69 commented 5 years ago

Environment

jPSXdec version: 0.99.8 Operating system: Windows 7 x64 Java runtime environment: v8 u201

PlayStation Game

Name: Crash Team Racing Region code: SCUS-94426

Description

Can't convert XA audio. The program produces 4 or 8 kilobyte files. Index.log contains lots of strings like: [WARNING] Detected corruption in sector 0. This may affect identification and conversion.

m35 commented 5 years ago

Try it again, then please attach the debug00.log file to this issue.

fjay69 commented 5 years ago

debug00.log

m35 commented 5 years ago

Thanks. There's definitely something wrong with your file. It is missing the raw sector headers required to decode XA audio. If the file had the raw sector headers, it would be about 7940352 bytes in size. The method you used to extract the file S20.XA did not include the raw sector headers.

One way to extract the file with the raw sector headers is to open the game's full .BIN disc image in jPSXdec and use it to extract the file. Then it will contain the required sector headers.

fjay69 commented 5 years ago

Indeed. After scanning full disk image all XA audios are playing fine now. Thanks.