Netdemo Desyncs If DOOM2.WAD Is Not Present with the Demo
Created attachment 566 [details]
When a demo is recorded and played back, fast forwarding the demo results in errors being displayed. The scoreboard displays no playernames and the entirety of floor textures disappear. The texture error resolves itself when the player dies, but names continue to not display.
Attached is an example demo and a video displaying the error.
The demo works fine if doom2.wad is present in the same directory as odamex.exe. I normally do not have the iwads and pwads in the same directory as odamex, I have them in separate directories from each other and from Odamex. Interestingly, having the pwad not present is not an issue, it only breaks if doom2.wad is not present.
Video demonstrating comment 2
More development. Issue is much more minor than thought.
1:50 PM] Hekksy: the good news is that the demo itself is not actually broken
[1:50 PM] Hekksy: it can be resolved simply by putting doom2.wad in the same directory
[1:51 PM] Hekksy: that said, I've been having doom2.wad in a different directory from odamex since before the introduction of the waddirs command, how did i just now find this?
[1:51 PM] Hekksy: I'm going to test 0.7
[1:54 PM] dr_sean: It's possible that the issue is more of a buffer overflow bug that happens to be affecting the waddir related code
[1:59 PM] Hekksy: it does not happen in 0.7
[1:59 PM] Hekksy: even using the same cfg from protobreak
[2:01 PM] Hekksy: and using the same netdemo i just recorded with 0.7, breaks with latest master
Turns out the demo still can happen if doom2.wad is present with odamex.exe. In fact, Odamex.exe location does not matter. The demo wants doom2.wad in the same directory as the netdemo recorded. I have my demos saved in odamex/demos and the textures issues stop if I stick doom2.wad in the /demos folder.