QW-Group/ezquake-source

BUG: load game menu does not populate with saved games

ballotz opened this issue · 2 comments

replicated building from master branch fa5d11e

Windows 10, built with VS2019, platform toolset v142

play single player game
save the game on first slot
then go to load game
the load game menu does not show up

after some debug it seems that that happens because of
menu.c;988,989
FS_OpenVFS("spprogs.dat", ...) return false and the menu is not populated,
commenting out those 2 lines the menu show up and the saved game loads fine.
I don't know what spprogs.dat is.

just saw it's a duplicate of #560
the only other place where the game looks for spprogs.dat seems to be in pr_edict.c: 1150,
however there is the fallback of searching "progs.dat" wich is found instead.
should the load menu do the same thing?

you'll 'always' have the progs.dat from id1/pak0.pak
if the engine can use that nq progs well enough, with save/load commands working too, then there's not really much point in checking for it in the menu code.