Opened 18 years ago
Closed 18 years ago
Last modified 18 years ago
#1931 closed defect
EXTRACT: Failure to recompress Sam & Max (floppy)
|Reported by:||SF/alxyz||Owned by:||Kirben|
|Cc:||Game:||Sam and Max|
When trying to recompress MONSTER.SOU from Sam & Max (floppy disk version, 2,256,495 bytes), the produced file MONSTER.SOF is only 4 bytes long. No error messages are given. If trying to use mp3 and produce MONSTER.SO3, the result is the same.
Ticket imported from: #1144526. Ticket imported from: bugs/1931.
Change History (10)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
No output at all, that's why I'm so confused about what to do next. The command line I used is "extract --flac --best -b 1152 -f MONSTER.SOU". Is there any way to try to analyse the offending file?
By the way, the "-f" key of flac should probably be introduced into the readme; the recompression does not work without it as flac.exe refuses to overwrite the temporary output file by default.
comment:3 by , 18 years ago
Something I forgot to mention: these four bytes in the generated MONSTER.SOF (or MONSTER.SO3) are all zeros.
comment:4 by , 18 years ago
Ok, I just found what is wrong with it. Instead of using standard VCTL markers, MONSTER.SOU from "Sam&Max Demo" and "Sam&Max (floppy)" use VTTL. There seems to be no other differences. I've made a necessary correction to extract.c; please find it attached.
by , 18 years ago
by , 18 years ago
comment:5 by , 18 years ago
To make things simpler for you, I've just introduced the necessary correction into the latest version of this tool (compress_scumm_sou.c, ver.1.4). Since I've started working on it, I'll probably sort out passing the parameters to FLAC, using compress.c (ver.1.7) as the starting point.
comment:6 by , 18 years ago
|Status:||new → closed|
comment:7 by , 18 years ago
Thanks for the patch, I add it to tools cvs.
For future patches, please provide a diff instead and use the patch tracker.
comment:8 by , 18 years ago
What output does the tool produce?