Game Development Community

Demo recording, so far..

by Phil Carlisle · in Torque Game Engine · 09/08/2001 (12:05 pm) · 31 replies

Welp, demo recording definitely seems "broken" :)), Ive been messing with the demo recording features of netconnection and its derived classes.

The first (and most obvious) error was that it wasnt creating the resource object for the demo recording file.. this was a simple directory issue (it wont record to the root dir and I was using "test.demo" as my record file).

When I hack some demo recording in, it records and writes the file fine (afaik), but coming to replay the demo, its dying in some part of the bitstream processing functions (its quite obscure where these things are flying round inside the engine, so I'll not try and describe it more).

So, simple question is... Did it EVER work? I mean, could you start recording a demo, stop recording a demo, and play back a demo?

second simple question: what exactly IS a demo? I am assuming its a stream grab of the move event packets. But when I read the strings coming back from the bitstream, it looks like thier doing a lot of mission startup etc. Which kind of makes no sense to me (as your already in a mission when you start to record a demo).

third simple question: what was the demo used for? why was it in the engine? what was its purpose in life? :))

Answers to these, well.. lets see if I cant find some answers myself.

Phil.
Page«First 1 2 Next»
#21
03/07/2002 (12:41 pm)
Simply get the latest HEAD and press F3 while playing...
you can stop recording by pressing F4 and if you restart the Demo the next time, there is a new button saying "Recordings" in the main GUI... but THAT doesn't really work...
#22
03/08/2002 (8:29 am)
It plays back fine for me.
#23
03/08/2002 (8:41 am)
REALLY??? Did you change anything? Anybody else got this working?
#24
03/08/2002 (8:43 am)
I get them to play fine as well.

However, what they "play" is a record of your mouse movements and direction keys by spawning a player model and replaying them thru the player.

The player doesn't pick up guns, it doesn't seem to capture server events (spawning of vehicles, for instance). But it "works" at least in that minimal way :)


Cool way to show someone around a map.
#25
03/08/2002 (9:16 am)
Darren Hannah has been working to get demo recording and playback functioning correctly in the Torque. He's nearly got it working correctly - there can sometimes be some incorrect playback issues. When he's satisfied with it, I'll make a news posting about the new functionality.
#26
03/15/2002 (8:19 pm)
test
#27
10/13/2005 (4:33 pm)
Sorry to revive this thread after sometime but couldn't find more appropriate one. I just wondered if there is a way to show the mouse movement as well in the playback. Is this feature going to be available on the new engine release?

thanks
#28
10/13/2005 (5:35 pm)
Good question. In the mean time, I'm checking out FRAPS soon. I hear pretty good things about it.
#29
11/06/2005 (4:17 am)
I've tried using FRAPS but it slows down the game and i'm using a 2G Ram machine with P4 3.2GHz.
#30
11/06/2005 (5:16 am)
You can adjust the settings on FRAPS. Try to reduce resolution.
#31
11/06/2005 (6:03 am)
I've tried that and it slightly improved the performance but the fps goes down frequently while recording to 6fps starting with 280 (without recording)!!. The above results have been recorded with the latest version (2.6.4 - build 4979), settings: 25fps, half-size, record sound, use windows input.

Thanks for the prompt reply.
Page«First 1 2 Next»