PDA

View Full Version : SCUMM Revisited Range check error message - need help!!


Forceboat
04-12-2009, 08:01 PM
I hope someone can help me. I am using SCUMM Revisited to extract the audio from the Smush Animation Files from Jedi Knight: Mysteries Of The Sith. But I have hit a snag. One of the files doesn't read right. The rest of them were smooth as glass, save one. I click on the trees until I come to the IACT where the audio is stored. I hit play so it can read it, but I come back with an error box that says "Range check error" . And I try decompressing it to a WAV. Part of it rips, but the end of it sounds like it's scratchy. I even contacted a friend and he uploaded a copy from his game of the file I am trying to work with, but I got the same result. Help!! How can I fix this problem? Is it a damaged file, or is there a way to fix the problem, or is there another program I can use?

s-island
04-12-2009, 09:06 PM
Complete guesswork here, but range check error probably means that the sound file header reports a larger filesize than the actual filesize so when you save it, it ends up reading beyond the end of the sound and into whatever is stored next. That could cause the sound distortions.

Forceboat
04-13-2009, 07:50 AM
I think I understand what you are saying. So that means that if there is even the slightest transition in the file, even a pause in the sound until it picks back up again, that will cause this error, correct? That's what I was afraid of. This was the only SAN file in the entire bunch that has this problem. So there is no way to fix it. Okay, well, thanks for the help. I appreciate it.

s-island
04-13-2009, 07:05 PM
If the header in the sound file says it's 5 MB, but it's really only 4.8MB, it'll read beyond the end of the sound and put whatever is stored next into the resulting WAV. I'm guessing, but that could be it.

clone2727
04-15-2009, 08:57 PM
Forceboat: Which video in MotS are you trying to extract the sounds from?

Forceboat
04-15-2009, 10:48 PM
It's S2L1OCS.SAN.

clone2727
04-17-2009, 06:23 AM
I'm getting the same error, but I'm still able to extract it to a wave file. The resulting file is good all the way until the end where there is some static. It seems ScummRev gets hung up at block 453.

Forceboat
04-17-2009, 07:30 AM
Yep, that's what happened with me too. It just doesn't like the file, simple as that. I found a workaround, though, or should I say, I got the audio from something else.