PDA

View Full Version : ScummVM-Tools can not compress german Sam & Mac monster.sou


a.borque
06-24-2011, 10:43 AM
Hello!
I have already tried to solve this over in the ScummVM-Forums but did not get any reply. So I am trying here:
When trying to compress the monster.sou of the german floppy-disk version of Sam & Max hit the road I always recive the following error message: "Fatal Error Occured: Read beyond the end of file (E:\scumm\MONSTER.SOU)".
As it works on the english files and the corresponding monster.sou of german DOTT without any problem there must be a structural problem in this file.
A clean and error-free reinstallation from original disks did not solve the problem.
Can anybody confirm this / has anybody a solution?
Thanks
A.Borque

jestar_jokin
06-26-2011, 10:15 AM
Can you open the file in SCUMM Revisited?

http://goblin.cx/scumm/scummrev/

a.borque
07-01-2011, 07:25 AM
Hello!
Yes, Scumm Revisited opens the file but plays only one short piece of sound. the rest of data seems to be unknown to Scumm Revisited.
I can provide a version of this monster.sou for analysis, if anyone is interested.
Let me say once again, this file results from a fresh error-free installation from original disks!
Thanks
A.Borque

bgbennyboy
07-03-2011, 03:06 PM
I'll take a quick look if you give me a look at it.

a.borque
07-12-2011, 04:07 AM
I'll take a quick look if you give me a look at it.

Hello!
Thanks for your help on this.
I sent you a PM with all necessary information.
jestar_jokin also said he would take a look at the file.
A.Borque

jestar_jokin
07-13-2011, 09:51 PM
Sorry, I haven't had a chance to look at this yet (working on the image encoder and some bug fixes for Scummbler).

a.borque
07-27-2011, 11:54 AM
I'll take a quick look if you give me a look at it.

Hello bgbennyboy!
I don't want to rush you, but did you have a chance to take a look at the monster.sou? jestar_jokin is still busy developing a scumm V1 graphic encoder. So if you could take a look it would be very helpful for me!
Thanks
A.Borque

jestar_jokin
11-29-2011, 01:32 AM
I spoke with a.borque a while ago and resolved the issue, here's what I found.

MONSTER.SOU files contain two chunks per sound:

VCTL - contains lip synch data (also sometimes VTTL)
SOU - contains the Creative VOC file data


The German Sam & Max MONSTER.SOU seems to have a VCTL without an associated SOU entry.

I wrote a small tool to fix the MONSTER.SOU file - it will create a new MONSTER.SOU file and only copy data for each VCTL chunk that has a matching SOU chunk.

Perhaps a better solution would be to update the ScummVM tools to skip invalid sound entries.

Win32 Binaries
http://www.jestarjokin.net/sw/fix_sam_de_bin_20111001.zip

Python source code
http://www.jestarjokin.net/sw/fix_sam_de_src_20111001.zip

icanntspell
12-13-2011, 05:23 PM
The bug will also be fixed in the next release. Patch got accepted today.