Having installed 1.19 via TFix, I can't say I've had any issues so far. Do you have any other patches or mods installed?
I am running Thief Gold updated to 1.19. When I start the game, videos play just fine, but if I start a game, then quit to the main menu again, videos stop functioning until I restart the game.
Any idea what is causing this or if there is any reliable fix/tweak to prevent movies from sometimes not playing?
Having installed 1.19 via TFix, I can't say I've had any issues so far. Do you have any other patches or mods installed?
there seems to be a rare issue with ffdshow simply failing for some reason (check your logs). no known solution so far (but probably related to codec hell).
steam version might be placed in program files, which is known to cause weird errors. move the game to C:\thief or some other simple location if that's the case.
You really do pick the stupidest shit to quibble about, Mr. Mensa. If I put a book on a shelf it would be "installed". If I sat in a chair in front of the TV I would be "installed". If I move a file to a folder - it's "installed". I mean really, offer the dude advice or don't, but get over yourself.
he is right you know, as long as the dll is there (it is, as this is a TFix install), the movies should work, as the movie playback is not dependent on any external files. but apparently, that does not mean other parts of the system cannot interfere.
marvelous choice on the nickname, btw.
And she replies, "No, but if you keep mislaying them, I know where I would like to install them!"![]()
Well after doing the thing with the FFDShow codecs, things seemed to work fine until just now when videos aren't playing anymore.
In this case, it's working on and off, seemingly at random. Sometimes I can load a game and move on to a new mission and it'll play the briefing just fine, other times not.
And no, Steam isn't installed on my C:
I have this, or something similar, on one of my machines. Check thief2.log for "Could not load ffmpeg.dll" or something similar.
If it is that, I've compiled a version that of lgvid.dll that static links ffmpeg that fixes this. I'll upload it somewhere later today.
Static linked dll for anyone with random video failure
Does anyone who knows about the innards of Windows know why this code could sporadically fail?
Code:hDll = LoadLibrary("ffmpeg.dll"); if (!hDll) { // NOTE: could show message box (once) here, OTOH message boxes and fullscreen is just a bad combo mprintf("Failed to find/load ffmpeg.dll, no movie playback possible"); return FALSE; }
A good first step is to find the last error code and display it. See this example to see how to do it in a human readable format.
ffmpeg.dll won't load due to "Error 193: %1 is not a valid Win32 application"
Likely it's a 64bit/32bit mixup somewhere according to Google, but I have no idea how to investigate further.
When you say sporadically failing do you mean it sometimes fails on the same PC or works on some PCs and not others?
Edit: In either case I'd recommend downloading depends and looking at which DLLs the ffmpeg.dll references (if any). I suspect one of those is your problem, not fmpeg.dll directly.
It fails on the same computer, oftentimes with no discernible difference. For instance, I was playing/recording (with FRAPS) earlier today. Just now, I tried again and the videos failed. I restarted Thief a number of times and tried different combinations of loading/intro/credits, but nothing seemed to work. I seemed to get the same error that Swiz mentioned above when I checked my Thief.log file.
However...
I replaced my lgvid.dll with this version and it seemed to work when I tried it again. Of course, the problem is that the videos not working is kind of random, so I'll post again if it stops working again, but it seems fine for the moment.
Here is what Depends says:
http://pastebin.com/tgme4wA7
I didn't have much joy investigating this, but I did find these
http://archives.postgresql.org/message-id/ih36n7$1n7d$1@news.hub.org
http://mingw.5.n7.nabble.com/Bad-DLL...e-td15147.html
Which describe an issue with the mingw dllwrap tool that's been used to build the DLLs. This would cause failures depending on what else happens to be in memory at the time. I've not been able to find the gcc incantation to replace it.
Oh, for anyone attempting to update this with a newer FFMPEG build: FFMPEG has deprecated/removed some of the function calls used since this was built.
that static linked dll seems to fix my video problems thanks
Running Thief Gold with installed TFix 1.18a with hd mod from Gecko with this "Static linked dll".
I'm using 1920x1080 resolution and movies playing in game but playing truncated top and bottom.
When I play this movies in standalone Media Player Classic I can see that truncated regions.
What can I do to fix this?
Thx
Last edited by JeriX; 16th Dec 2013 at 13:03. Reason: resolution added
this is an error in Gecko's config1 - edit cam_ext.cfg with notepad, find crop_movies and add a ; at the beginning so it will look like this:
Code:;crop_movies
Since 1.22 i have this error:
: lgvid.dll: Failed to find/load ffmpeg.dll, no movie playback possible (err 0xC1, cwd: E:\Program Files (x86)\Dark2 - DromedOM\Dromed2)When ffmpeg disabled; --------------
; movie playback
; --------------
; display movie within the UI area instead of maximizing (only meaningful when "ui_scale_mode 1" is specified)
;scale_movie_to_ui
; crop movies to fill out widescreen displays better (does NOT work in combination with "scale_movie_to_ui")
; the original shock cutscenes are letterboxed so this works well there, for thief it's a judgement call to
; lose some of the bottom and top parts of the image in favor of covering more of the monitor (the default
; crop rect, when not supplying a custom one, is optimized for SS2 and is 0 70 640 340)
;crop_movies
; alternatively a custom crop rect (left, top, width, height) can be specified with the "crop_movies" var
; in virtual 640x480 space, meaning regardless of what resolution the movie is the crop rect is still
; specified as if the movie were 640x480
;crop_movies 0 70 640 340
; filter quality used during internal processing of movie, default is 4, if you have performance issues
; you can try lowering the quality
;movie_sw_scale_quality 2
; (thief) list of movies to exclude from cropping (only used if "crop_movies" is enabled)
movie_crop_exclude credits.avi+success.avi+death.avi
; (shock) list of movies to exclude from cropping (only used if "crop_movies" is enabled)
;movie_crop_exclude intro.avi+credits.avi
; gamma setting for movie playback (default is 1.0)
;gamma_movie 0.7
; keep ffmpeg dll loaded to reduce technical issues
no_unload_ffmpeg
The same error !!!;no_unload_ffmpeg
In waiting of a solution i use the ffmpeg.dll give in 1.21 patch to have movies. But i don't know if there is a real change between both ffmpeg.dll of 1.21 & 1.22.
have you rebooted the pc? if that didn't help, try using the static linked dll from the TFix topic, but do note that it has been built for an older version of NewDark, so it may break some 1.22 features - use at your own risk.
I haven't reboot. But the static linked dll work. It will be good a new static linked dll because 1.22 udpated lgvid.dll