View Full Version : Grim Fandango cutscenes
11-21-2005, 04:11 PM
Is there anything that can play (or, better yet, convert) Grim cutscenes? They show a white screen for me in Residual, both with software rendering and without, and Benny's Smush player won't play them (but then it's not supposed to). I assume the Smush player from the game formats site won't play them either, but it doesn't work on my computer because it's a DOS application and my windows doesn't want to run them anymore.
The sticky says this about ScummRev5:
5 can do many of the things that 3 can but it can also open *some* .lfl files, have multiple files open at the same time, and best of all view and save SMUSH movie's (eg Grim Fandango and CMI cutscenes).
But, while it opens the movie LABs, the video viewer option is greyed out.
Less fortunate alternatives:
Is there any way to record them? I tried with Fraps, but it seems my computer isn't fast enough, I get skipping. And I don't know the framerate, either. I also tried playing windowed and recording with something that's not for games but for windows video screen capture, with poor results.
Any way to compile the player from Residual as a standalone thing, so that I could possibly get it working, maybe on another computer?
Lastly, and least likely as I have no programming knowledge (but two programmers for parents, for what that's worth), anything I could do on my own to make this happen?
11-21-2005, 06:59 PM
I know that ScummRev5 can play the CMI SMUSH cutscenes, but I think the SMUSH format changed for Grim so it looks like residual or a capture program might be your best bet. Perhaps try Hypercam instead of fraps.
The Residual source is all in CVS (http://cvs.sourceforge.net/viewcvs.py/scummvm/residual/) so perhaps you could get someone to hack out a standalone player with it.
Try a screen capture program on residual when its playing a grim cutscene, if you can get a decent capture with that then there is a wonky and time consuming way to do it. What you'd do is get my Resource File Creator/Dumper (http://quick.mixnmojo.com/software.php) tool and use that to extract the Move Lab file - you'd then get the cutscene that you want to play - give it the same name as the intro file and rebuild the lab. When you started the game it'd play the new cutscene as the intro. Thats massively time-consuming though and youd have to be pretty desperate to try it.
11-22-2005, 03:17 AM
Well. I've made some progress.
Messing around with the DirectSound acceleration, the DirectDraw acceleration and software mode, I got cutscenes in Residual to work sometimes (although I'm not sure what the settings are now, since now they seem to have stopped working).
On the other hand, in ScummRev5, when I stand on an SNM file inside a movie LAB, it lets me 'save decompressed zlib file'. This file can be played in the X-Wing Alliance cutscene player (http://www.geocities.com/v_d_d/snm_play.zip), from here (http://www.geocities.com/v_d_d/snm_play.zip).
Unfortunately the program only supports the extraction of individual frames, and has no frame by frame playback. Trying to capture the video directly from the screen still gives poor results.
Would there be any point in decompressing all the files and putting them back into a LAB file, so that either Grim itself or Residual takes up less resources playing them, thus making the capture less jerky?
Is there perhaps some way to expand on that player?
11-22-2005, 07:30 AM
The player uses one of LEC's own dll's to do the decoding, if you wanted to make a proper smush player you'd be much better using the scummvm source I think.
You can get a decent capture I think, I know I managed it when I did the GF Trailer (http://www.grimfandango.net/?page=trailers). I *think* I used hypercam and I *think* I used its recommended codec (as mentioned in the help file) and then converted the video later. You need to try and use a codec that captures quickly without being as hefty as raw avi.
I dont know if Grim and Residual would play the videos if they arent compressed, or if it would make much of a difference, you could always give it a go. My guess is that its the capture program/codec thats the bottleneck, not the game.
11-22-2005, 03:53 PM
Hiho, because I'm a really nice person (and had nothing else to do :)) I violently ripped out the Smush code from Residual and hacked it together into a messy pile of code that was the GriSp player.
It can play Grim's videos and - tada - convert them to Avi files.
I haven't tested it and basically just put it on the net to see what happens. I also have the source code for download if anyone's interested.
You'll only need the SDL library, the other details are in the readme.
I hope it works :)
You can download the exe from http://gamefileformats.the-underdogs.org/files/grisp-0.1.zip
The source code is here: http://gamefileformats.the-underdogs.org/files/grisp-0.1-src.zip
11-22-2005, 07:08 PM
Works great for me :)
I think quite a lot of people have wanted a tool like this at one time or another. Nice one!
11-22-2005, 07:39 PM
Well, I didn't do much. The ScummVM and Residual guys did the main work.
11-22-2005, 09:46 PM
Really, aquadran did most of the work, since he's pretty much our SMUSH (and iMUSE) master :)
11-23-2005, 09:20 AM
Well, I didn't do much. The ScummVM and Residual guys did the main work.
Well yes, but it needed someone to slot it all together :)
Btw did you ever get any further with lua for Psychonauts?
11-23-2005, 09:23 AM
No, it's just too complicated. The if/while stuff still doesn't work, I either need someone who knows about this stuff or something to read. I know there are Java decompilers etc. that do similar things so it's not impossible.
11-25-2005, 04:25 AM
This is too awesome for words.
Thanks to anyone who replied and/or made something.
11-26-2005, 04:30 AM
Well, naturally, not a day goes by and I find something to complain about...
Xvid seems to die when I try to use it, the video doesn't start playing. Any other codec I try (Alpary lossless, Huffyuv, uncompressed AVI) seems to not only drop frames (I get 130 out of 151 at best), but also to create frames like this, amalgamated from two separate frames:
And not only at scene changes.
I tried turning off hardware acceleration and changing the color quality of the display, since Hypercam seems to say those things can help, but no go.
11-26-2005, 05:46 PM
I know about the XviD/DivX/etc issues, it's the Avi output code that doen't work with all codecs.
And your PC seems really slow, what model is it? The problem is that even when writing Avi files the movie is played in realtime, i.e. it doesn't wait for one frame to be written into the Avi first before decoding the next one, that's probably also the reason for the "combined" frames. I'll have a look at the source code again, maybe I can change it so it works regardless of the PC/decoding speed.
11-26-2005, 07:48 PM
PIII, Celeron 1.7, 512MB RAM.
If you could get it to save all the frames as image files, and give the framerate of the video it's playing, the individual frames could be composed into a new video in VirtualDub.
12-24-2005, 03:19 PM
I'm not sure if this is what you were looking for (or if you are still trying to obtain the movies), but ninth-world.com has the cutscenes in wmv format here: http://ninth-world.com/videos.php
Hope that helps.
12-24-2005, 04:09 PM
Thank you for replying, but it seems the videos on the site suffer from the same issues I encontered trying to encode my own.
Again, John Doe, or any of you guys who can program, could you possibly make something that extracts the individual frames of the video?
12-25-2005, 01:14 PM
Hiho, I'll try to make a converter that outputs Png and Wav instead playing the files.
12-26-2005, 11:26 AM
01-02-2006, 03:34 PM
Hi, I finished the tool.
You can download it from http://gamefileformats.the-underdogs.org/files/grisc-0.1a.zip
I still consider it an "alpha" version since I didn't test it thouroughly but it did it's job.
Instead of playing the videos it now saves each frame as PNG file and the soundtrack to a Wave file.
The parameter is simply the name of the SNM file. The files will be created in the current directory.
This shouldn't drop any frames anymore, too.
01-17-2006, 04:08 PM
I was using this tool to get PNGs and WAWs from the SNM files and I end up with this issue.
I got 2813 frames from GF intro.snm that at 15 fps lasted 3'07'' and a wav file wich lenght was 3'10''.
After that I tried with loladies.snm and I got 1002 frames that at 15 fps lasted 1'06'' meanwhile the wav file lenght was 1'10''.
Does anyone know what is happening here? Does exist 14 and something fps instead of 15?
01-17-2006, 06:30 PM
First of all, John_Doe, thanks so much! Really, I am at a loss for words.
Elbiolin, judging by what happens with stump3c.snm, the WAV file is longer than the actual video. If I recall correctly from the game, the video ends, and the sound plays a bit longer when you get back to the normal view. I'm not sure about the framerate of the video, though.
01-18-2006, 10:33 AM
Well, first I have to say that I was using Quicktime - add scale option like my first choice - for this.
About the different lenghts I tried making enough copies from the last frame to equal the lenghts between video and audio - this time just pasting video and audio.
Also I tried the same thing at the begining. Neither way worked out. They were completley out of sinchrony both.
But if you say that worked out for you, I believe you.
Just wandering what could be the problem - if there's any.
01-20-2006, 03:49 PM
Also I forgot to thank john_doe for his application. Sorry.
10-06-2006, 03:27 PM
Amazing program john_doe, congrats :D (the video player)
but, the to convert to AVI, theres no sound ?
Tried with one some (znm) files from Force Commander.. and no sound.
02-22-2007, 08:40 PM
Sorry to necropost, but I can't seem to get the conversion part of john_doe's ZNM player to work. Whenever I press "a," the player just quits. I'm trying to get the lost scenes from the second Behind the Magic CD so I can use them in a fan-edit. Also, the alternate cantina footage looks like scrambled porn. Any ideas?
03-14-2007, 12:49 PM
While I realize this is an old thread, the links to john_doe's utilities do not seem to work. Could anyone either reupload them or point me in the direction of a link less dead?
03-14-2007, 02:13 PM
Here they are:
03-14-2007, 02:22 PM
While I am thankful for your quick and helpful answer, I'm afraid the third link still doesn't work.
03-15-2007, 02:08 AM
Now it should work.
03-16-2007, 06:18 AM
Sorry to bother you again, but they do not seem to wish to convert. The AVI converter will play the files, but when I press A it closes down and the PNG and WAV converter seems to be converting, but dumps no files when it is done.
Any idea what I am doing wrong?
03-16-2007, 07:21 AM
Any idea what I am doing wrong?
You need to enter the "A" at the command line, not when the movie is already playing.
Example: GriSp intro.snm A
04-20-2007, 04:26 AM
In case anyone's still wondering, the frame rate (if I remember correctly) is 15. The sound is indeed longer than the video, so just insert blank frames as necessary to get what plays beyond the end of the video.
There are probably easier ways, but I just get VirtualDub to read the image sequence, adding appropriately-numbered blank PNGs at the end of it.
If you really want the one hundred percent authentic experience you can capture the second or two from the game with FRAPS, but it would just be abrupt when it cuts off.
07-01-2008, 06:56 AM
First of all let me say hello to everyone. This is my first post on these boards and it somehow doesn't feel right to get right to business. I'm fairly new to LucasArts' SMUSH conversion and I've been playing around a bit, but the results left much to be desired.
So why am I posting in here? Just recently I wanted to convert the cutscene sequences from Outlaws. I can extract the sound just fine, but I'm a bit lost when it comes to video. Is there a way of extracting the frames, much like what what discussed here? I tried using the Grisp tool, but it gives me a "wrong header" message.
I would really appriciate any help. I don't really know how these things work. I figured I had to start learning somewhere and this seems like a perfect place to get the right information.
* * *
Edit: I did some research and it seems that Outlaws animations can be extracted with Scumm Revisited tool. I gave it a try using ScummRev 5 [unsupported] but it's pretty buggy and weird. Any suggestions from you guys? Someone has to have more experience in that matter.
01-22-2009, 06:30 AM
Thought I'd post my experiences here as a tutorial for who it may interest. I did not encounter any synchronisation problems this way. Users of other editing software might still find useful information here.
SNM to MP4
note: you might have to have the sdl.dll in your windows/system32 folder
put grisc.exe and libpng13.dll in c:\
use scummrev_2012 and rip the snm files to c:\
hit windows-key+R (or find it in Start menu) to bring up the RUN command line, and type:
c:\GriSc.exe filenameprefix.snm a
this will put a huge number of sequentially numbered png grafics files in your c:\ directory, plus one *.wav audio file.
Now, using Sony Vegas Video Software to make a movie out of those, proceed as follows.
In Vegas in a new empty project, specify the project properties:
width 640, height 480, 15 fps (frames per second), no deinterlacing, field order: progressiv, square pixels, audio: 44.1 kHz, 16 bit
Now goto file->import->media, goto c:\ and select the first of the *.png files, don't double click, though, instead watch how the interface changes, giving you the option to import the entire sequence of *.png files – now that's what you do.
A small info window pops up, you click ok. In project media you'll now find a new object, representing the grafics sequence. Drag this onto the timeline. Now find the *.wav file and put it below the video track (either via drag&drop from windows explorer or via Vegas Explorer or Import Dialogs). You can watch the movie now. If you just want to export a selection of it, make a loop selection now.
Goto File-> Render as.. If you only want to export a selection, check "render only loop region". For file type select Main Concept AVC/AAC (*.mp4). Hit the "customize" button and make the following adjustments:
project tab: video render quality: optimal
video tab: width 640 height 480, profile main, frame rate 15, field order progressiv, pixel aspect ratio 1,000 , reference frames 2, variable bitrate max 8.000.000 min 4.000.000, two passes
audio tab: sample rate 44.100, bitrate 256.000 Bit/s
Hit OK, name the output file and render the file.
This will use roughly 30 MB/min and provide high picture quality. If you need smaller files, reduce the avarage bitrate setting in the coder.
Play back with VLC Media Player.
01-22-2009, 09:22 AM
It is actually even simpler, because you can just drop the SNM file onto the grisc.exe to the same effect as the command line way. Likewise, you can drop SNM files onto GriSp.exe to watch them. That way it is possible to completely forego the whole command line inconvenience.
11-22-2009, 04:39 PM
Does anyone happen to have a working link to GRISP / GRISC for me? The original links are actually dead. :(
11-25-2009, 03:12 AM
After failing to contact john_doe under several mail addresses, this thread be my last hope.
11-30-2009, 07:50 AM
Ok, never mind - don't need it anymore.
It turned out that ScummRev 0.5 in fact can read Grim Fandango Demo cutscenes and even output them to AVI. The only problem I had with ScummRev was, that once it output one AVI file, it would not write another one (i.e., it would, but it was entirely filled with black). Anyway, a system reboot helped.
So I am proudly presenting a rare German trailer for Grim Fandango. It was released on a limited Demo/Trailer CD and in some games mags. You can't get it anywhere now. :)
12-01-2009, 11:47 PM
Here they are:
Can anyone upload those files again?
I really want them and the links are broken, as TheHutt already stated.
Already searched google for hours, but couldn't find it anywhere...
12-06-2009, 06:24 AM
I've uploaded them for you here:
12-08-2009, 03:01 AM
Worked 'awesomely' good!!
Thanks a lot!
07-04-2010, 03:31 PM
When you download the gris files, you'll also need the SDL.dll file, which can be found at http://www.libsdl.org/download-1.2.php
Also, you can play the .ZNM files by right-clicking on them, then choosing grisp.exe as the program to play them. This works perfectly for me. Thanks again to John_doe! :)
03-03-2011, 02:49 AM
Is it possible to use the programs while on Vista? I seem to be having difficulty setting it all up to convert some ZNM files.
09-11-2011, 06:49 AM
thanks for the link bg... this hack still work wonders.
vBulletin®, Copyright ©2000-2015, Jelsoft Enterprises Ltd.