Talk:DEM (file format): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Control of "demoui" via console commands. ==
I need to find out which commands are tied to the buttons of the player "demoui", I want to make it possible to control the demo using the arrow keys, up - speed higher, down - lower, left - frame back, right frame forward. If someone knows, help me. [[User:Vi|Vi]] 19:01, 11.06.2022  (UTC)
== Broken time ==
== Broken time ==
For some reason, when the demo is ended by the changelevel, the demo time and ticks show a negative value (both in console and demoui). Is there any way to fix it? --[[User:Execut4ble|Execut4ble]] 04:35, 30 January 2013 (PST)
For some reason, when the demo is ended by the changelevel, the demo time and ticks show a negative value (both in console and demoui). Is there any way to fix it? --[[User:Execut4ble|Execut4ble]] 04:35, 30 January 2013 (PST)

Revision as of 06:04, 11 June 2022

Control of "demoui" via console commands.

I need to find out which commands are tied to the buttons of the player "demoui", I want to make it possible to control the demo using the arrow keys, up - speed higher, down - lower, left - frame back, right frame forward. If someone knows, help me. Vi 19:01, 11.06.2022 (UTC)

Broken time

For some reason, when the demo is ended by the changelevel, the demo time and ticks show a negative value (both in console and demoui). Is there any way to fix it? --Execut4ble 04:35, 30 January 2013 (PST)

File format question

Anyone know why there is a secondary set of sign on data in the demo file for Demo format 3/Protocol 15 of roughly 196,000 bytes? It's full of art and sound asset caching as far as I can tell. Then it starts into the sound set up console commands ("dsp_..."), but then the format wacky. How does the engine parse the frame commands structure at the start of a frame?

The article implies something like:

{ Frame Command Index [ Len1 CMDData1 ] [ Len2 CMDData2 ] [ ... ] [ LenN CMDDataN ] }

But I don't really see this anywhere, or it is too difficult to find without additional information. Any help out there? Mdrowber 13:55, 3 October 2009 (UTC)