Duke3D: Demo recording and playback crashes the game
Since commit 687000e2, demo recording and playback is non-functional. The game immediately crashes when trying to record a demo, and may crash when trying to perform demo playback. This is because the demo playback uses the same storage method as savegames, which were altered with that commit.
Backtrace for the recording crash: demo_crash_bt01.txt
Backtrace for the playback crash (from a different user): demo_crash_bt02.txt
Errors in the console when trying to play a demo:
sv_loadsnapshot: snapshot size: 4734602 bytes. ud: 344 ud: 0 ms sws: 3077626 sws: 3 ms rsd: spec=blK:scri, idx=12, mem=000000007D1C9692 (compressed): read -1, expected 16384! read: No such file or directory sv_loadsnapshot: doloadplayer2() returned -5. There were errors opening demo 1 (code: 5).