|
Notes |
|
|
|
|
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.
|
|
|
|
|
|
It's not for engine knowledge, it's for users so they could know what game they was playing while recording. |
|
|
|
|
|
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? |
|
|
|
|
|
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. |
|
|
|
|
|
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. |
|
|
|
|
|
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. |
|