Hey all. I recently updated my Darkplaces engine to a newer build (Because the one I have been using is very outdated. Don't even know how I got it.), and I've been spending the last few days trying to fix what should be an easy problem. Basically My problem is that almost nothing involving text file and saving seems to be working. Say I use the command "save [Whatever]" in a match. It will say it saved and all, but my file will not actually save anywhere. Same with in-game file saving and loading (fopen, fclose, etc.). Those say they opened or saved a file, but didn't actually do anything. My prime example is taking screenshots. It says it took a screenshot and put it in the screenshots folder, but really didn't do anything but put up some text on the screen. I would also like to note that effectinfo.txt works.
The game loads all the graphics, progs.dat csqc.dat, config, models, maps, etc. Just not what I have mentioned so far. I don't know what the problem is. I haven't touched anything in the engine except set my directories up to my own folder name in the engine:
common.c
Code: Select all
{ GAME_NORMAL, GAME_NORMAL, "", "-aug", "Augustine", "augustine", NULL, "Aug", "augustine" },
That's all I have touched. It's really becoming a problem as I really need read/write access at this point for text files.