MantisBT - Zandronum
View Issue Details
0000924Zandronum[All Projects] Suggestionpublic2012-07-14 03:072014-06-11 21:40
ZzZombo 
 
normalminorN/A
acknowledgedopen 
 
 
0000924: Allow demo recording to be managed through CCMDs
Simply, allow to record demos with commands such as record and stop, and play them with playdemo.
No tags attached.
Issue History
2012-07-14 03:07ZzZomboNew Issue
2012-07-14 03:13ZzZomboNote Added: 0003960
2012-07-15 10:11DuskNote Added: 0003985
2012-07-15 10:11DuskNote Edited: 0003985bug_revision_view_page.php?bugnote_id=3985#r2162
2012-07-15 13:56ZzZomboNote Added: 0003993
2012-07-22 10:16Torr SamahoNote Added: 0004031
2012-07-22 12:36ZzZomboNote Added: 0004034
2012-07-24 02:11ZzZomboNote Added: 0004063
2012-07-24 06:37Torr SamahoNote Added: 0004068
2014-06-11 21:40WatermelonStatusnew => acknowledged

Notes
(0003960)
ZzZombo   
2012-07-14 03:13   
I forgot to mention, but it would be handy if the game named recorded demos with empty given demo names by default value, which is calculated as "<filename of IWAD without extension>-<filenames of first, say, 5 PWADs without extensions delimeted by __>-<timestamp similiar to used in logs>". All spaces should be replaced by underscore to simplify future use.
(0003985)
Dusk   
2012-07-15 10:11   
Bit off-topic but I myself think the names of wads used should be stored in the demo itself as metadata rather than sloppily "stored" in the filename.

(0003993)
ZzZombo   
2012-07-15 13:56   
It's not for engine knowledge, it's for users so they could know what game they was playing while recording.
(0004031)
Torr Samaho   
2012-07-22 10:16   
It would still be good to store the names of the wads in the demo itself (in addition to store it in the filename), so the information is preserved even if the filename is changed. This way the engine also can easily warn you if you play a demo without loading the necessary wads. Dusk, do you want to implement this metadata saving?
(0004034)
ZzZombo   
2012-07-22 12:36   
I implemented stop and playdemo, but AFAIK it's impossible to start recording in mid game, so I could only delay recording until a map change.
(0004063)
ZzZombo   
2012-07-24 02:11   
But I think we can workaround this by saving the game and then recording demo as usual, and when playing back, load game from the save first then play back the demo.
(0004068)
Torr Samaho   
2012-07-24 06:37   
That could work, doesn't sound very clean though. If you want to start recording midgame, it would be better if the client generates a full update snapshot on its own. This way you won't even need to touch the playback function to implement this.