#1931 closed defect
EXTRACT: Failure to recompress Sam & Max (floppy)
Reported by: | SF/alxyz | Owned by: | Kirben |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: | Sam and Max |
Description
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.
Attachments (2)
Change History (10)
comment:1 by , 20 years ago
comment:2 by , 20 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 , 20 years ago
Something I forgot to mention: these four bytes in the generated MONSTER.SOF (or MONSTER.SO3) are all zeros.
comment:4 by , 20 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 , 20 years ago
Attachment: | compress_scumm_sou.c added |
---|
comment:5 by , 20 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 , 20 years ago
Status: | new → closed |
---|
comment:7 by , 20 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 , 20 years ago
Owner: | set to |
---|
What output does the tool produce?