mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-02-04 00:54:33 +00:00
PS1 Mode 2 file extraction issues #959
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HeroponRikiBestest on GitHub (Feb 25, 2023).
Version
Development commit
Commit hash
6.0.0~alpha9+5164a154
Tested debug version?
Which operating systems have you used?
What is the architectural bit size you're using?
What processor are you using?
Image format
bin/cue
Application that created the image
DiscImageCreator/Redump
What were you doing when it failed?
Destination image format
No response
Filesystem
No response
Description
I was trying to extract blazing dragons on ps1 for use with scummvm. It says on their wiki "follow a guide to extract the *.STR and DTSPEECH.XA" where it talks about how
The data is stored as CD-ROM Mode 2 Form 1 (video frames) and CD-ROM Mode 2 Form 2 (audio frames). We require that the data be dumped as raw off the disc, meaning it contains all 2352 bytes/sector.and that most things that extract the files strip them down to 2048 bytes per sector. When i try and extract the files with aaru, it sure enough tells me the str and xa files havent been extracted properly. Tested with and without -x on5.3.2~rc2+35725afa, the latest release of 6.0 on the releases page, and6.0.0~alpha9+5164a154, although it crashes with -x on the latter of the three. Also, -d crashes on the latest commit too.Exact command line used
./aaru fs extract -x "Blazing Dragons (USA).cue" "/media/bestest/A49876039875D470/ps1/Blazing Dragons (USA)/dfg"
Expected behavior
I expected the .str and .xa files to be extracted properly from the filesystem.
Actual behavior
The .str and .xa files were not extracted properly from the filesystem, although I am not sure what the particular issue is.
Output of command execution with debug output enabled
-x on the latest commit:
Affected image
http://redump.org/disc/7300/
@HeroponRikiBestest commented on GitHub (Apr 20, 2023):
Oh, something thats a lot easier to check; if you try and open/scan the STR file with https://github.com/m35/jpsxdec (ps1 FMV/AUDIO format convertor) it won't find anything if it hasn't been extracted as 2352 byes/sector.