Page 1 of 1
OpenGL or DirectDraw support in Windows environment
Posted: 15 Jul 2010 20:31
by Samu
Hi. I'd like to Fraps the game, but Fraps doesn't support GDI as far as I know, at least my version of Fraps doesn't. I tried DOSBox to run older versions of TTD and TTO and I can screencast them. I've been tempted to screencast the old tutorials and upload them to Youtube (or here if it's allowed).
Anyway, my question was if it's possible to run OpenTTD in OpenGL mode or DirectDraw mode, both work with Fraps. Thanks.
Re: OpenGL or DirectDraw support in Windows environment
Posted: 15 Jul 2010 20:46
by planetmaker
Cute. You want a whole new graphics front end only in order that you can shoot a video of the game?
I guess it's WAY easier for all involved, if you go looking for means to make a video of OpenTTD as it is. And obviously that's nicely possible as the
many videos on YouTube show.
Re: OpenGL or DirectDraw support in Windows environment
Posted: 15 Jul 2010 20:51
by Samu
How's it done?
Re: OpenGL or DirectDraw support in Windows environment
Posted: 15 Jul 2010 20:55
by Rubidium
You could (ofcourse) build a DOS version of OpenTTD and run that in DosBox.
Re: OpenGL or DirectDraw support in Windows environment
Posted: 15 Jul 2010 21:10
by orudge
Or build a version that uses Allegro and tell Allegro to use the DirectDraw graphics driver. SDL probably uses DirectDraw too, I think.
Re: OpenGL or DirectDraw support in Windows environment
Posted: 16 Jul 2010 08:11
by CommanderZ
Somebody made an OpenGL patch some time back. Search, I'm sure you will find it.
Re: OpenGL or DirectDraw support in Windows environment
Posted: 16 Jul 2010 08:22
by Dezmond_snz
Samu wrote:Hi. I'd like to Fraps the game, but Fraps doesn't support GDI as far as I know, at least my version of Fraps doesn't. I tried DOSBox to run older versions of TTD and TTO and I can screencast them. I've been tempted to screencast the old tutorials and upload them to Youtube (or here if it's allowed).
Anyway, my question was if it's possible to run OpenTTD in OpenGL mode or DirectDraw mode, both work with Fraps. Thanks.
You can try HyperCam instead of Fraps.

Re: OpenGL or DirectDraw support in Windows environment
Posted: 17 Jul 2010 12:56
by Killer 11
Actually just use CamStudio small, free and works good
Re: OpenGL or DirectDraw support in Windows environment
Posted: 21 Jul 2010 15:10
by Samu
Just tried CamStudio and HyperCam 2. CamStudio is blind, I select the window but it doesn't select it correctly and doesn't record sound. HyperCam 2 slows down my computer to the point it locks it, I can only reboot. The solution is to record at lower frames, but that sucks. I want at least 37.5 fps 640x480x8 :/
Re: OpenGL or DirectDraw support in Windows environment
Posted: 21 Jul 2010 15:17
by Rubidium
Just "teach" OpenTTD to make a screenshot for each tick and stitch them together. That's probably the best solution with the least amount of trouble. It will even remove timing trouble. You should then aim for 33.33 frames a second (a tick takes 30 ms, so there are 1000/30 ticks in a second).