Comments (7)
Sorry for taking ages to get back to this, but that method did work perfectly for both my NTSC Spyro 2 & 3 copies (but not my PAL Spyro 2 as it's too damaged to copy the SPEECH.STR file), thank you! I'll make sure to use this method in the future for any other PS1 games which don't rip straight from the disc.
from jpsxdec.
Thanks for the details of the issue you're seeing. CdReadException shouldn't happen if the disc data is just corrupted (other errors might appear, but not that one). Can you re-try what you've done, then look for the debug00.log file in the jPSXdec directory and attach it to this issue?
from jpsxdec.
Okay, I retried it with my GH NTSC Spyro 3 which gave the same error as always. The debug00 log is as follows:
jPSXdec: PSX media decoder (non-commercial) v0.99.8 (beta)
Windows 7 6.1
Java 1.8.0_201
2019-07-17 16:33:09
16:33 jpsxdec.cdreaders.CdFileSectorReader INFO: D:\SPEECH.STR
16:33 jpsxdec.cdreaders.CdFileSectorReader INFO: Attempting to identify as 2352/2448
16:33 jpsxdec.gui.Gui SEVERE:
jpsxdec.cdreaders.CdFileSectorReader$CdReadException
at jpsxdec.cdreaders.CdFileSectorReader.(CdFileSectorReader.java:240)
at jpsxdec.cdreaders.CdFileSectorReader.(CdFileSectorReader.java:186)
at jpsxdec.gui.Gui.openDisc(Gui.java:393)
at jpsxdec.gui.Gui._guiOpenDiscActionPerformed(Gui.java:783)
at jpsxdec.gui.Gui.access$700(Gui.java:82)
at jpsxdec.gui.Gui$3.actionPerformed(Gui.java:502)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at org.openide.awt.DropDownButton$Model.setPressed(DropDownButton.java:356)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.IOException: Incorrect function
at java.io.RandomAccessFile.readBytes(Native Method)
at java.io.RandomAccessFile.read(Unknown Source)
at jpsxdec.util.IO.readByteArrayMax(IO.java:482)
at jpsxdec.util.IO.readByteArray(IO.java:446)
at jpsxdec.util.IO.readByteArray(IO.java:426)
at jpsxdec.cdreaders.CdFileSectorReader$Cd2352or2448Factory.(CdFileSectorReader.java:734)
at jpsxdec.cdreaders.CdFileSectorReader.(CdFileSectorReader.java:219)
... 43 more
Spyro 3 Greatest Hits rips fine if I use a ROM as I tested it a few weeks ago, it's just (most of) my discs that are causing problems for me.
from jpsxdec.
Ah I think I know the issue. Reading files directly off the disc can have issues in some cases, so it's not recommended. The PlayStation disc format allows for some files to have extra data that can't normally be read, which causes errors when accessed by most programs. But programs used to rip entire disc images are able to correctly extract that data when saved to the BIN/CUE image format. Then pointing jPSXdec to the disc image allows it to access that extra data correctly.
from jpsxdec.
So you're saying i'd have to convert the game to a BIN? I was hoping that I wouldn't have to do that, as i've not really done so before and I wanted to try and get the music directly from the source without any potential changes to the files. I bet it probably is the copy protection causing these issues now, as SPEECH.STR cannot be directly copied off of the disc either on it's own (or at least I didn't manage to).
I also don't know what ideal program I should use for doing that with PS1 games.
from jpsxdec.
Unfortunately full disc ripping is the only reliable way I've ever found to retrieve the data correctly. But the rip will be byte-for-byte exactly what is on the physical disc.
Here is a recent video someone made that shows the process I use
https://www.youtube.com/watch?v=uaQDovo2qb8
from jpsxdec.
Thanks, it's extremely late here so I'll check it tomorrow and have a go.
from jpsxdec.
Related Issues (20)
- About replacing spoken dialog in Silent Hill HOT 2
- Broken Video - True Love Story - Remember My Heart (Japan) HOT 1
- Psychic Detective - MDC Files
- Crisis Beat (SLES-02793) .xa extraction results in noise HOT 2
- Putter Golf - Corrupted Sound
- Frame rate is displayed incorrectly HOT 1
- Brian Lara Cricket missing audio HOT 3
- Request: Support for Namco Museum TIP format
- Legend of Mana FIN.STR audio issue
- Add CD audio (CDDA) detection, extraction, and replacing
- Add ability to replace (ISO 9660) files
- Add support for detecting and extracting PS1 Sound Processing Unit audio
- Policenauts demo disc videos are not detected HOT 1
- Add support for detecting and extracting PS1 SEQ audio HOT 1
- Replacing audio files not working anymore. HOT 2
- How to extract Tim file for captain tsubasa j get in the tomorrow ps1 HOT 4
- Eagle One - Harrier Attack - No frames of video HOT 1
- Dance UK eXtra TraX - Videos with no video or audio HOT 2
- Sonic Wings Special - Broken Frames HOT 1
- Support for .VLC files HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jpsxdec.