When building Angband 4.05 with Visual Studio there is a path problem in that Angband uses lib/scores and lib/save instead of lib/user/scores and lib/user/save. The solution to this problem is very simple. Just replace:
with:
in init.c. However, before implementing this, I'd like to know what was intended here.
Code:
#ifdef USE_PRIVATE_PATHS userpath = ANGBAND_DIR_USER; #else /* !USE_PRIVATE_PATHS */ userpath = (char *)datapath; #endif /* USE_PRIVATE_PATHS */ /* Build the path to the score and save directories */ BUILD_DIRECTORY_PATH(ANGBAND_DIR_SCORES, userpath, "scores"); BUILD_DIRECTORY_PATH(ANGBAND_DIR_SAVE, userpath, "save");
Code:
/* Build the path to the score and save directories */ BUILD_DIRECTORY_PATH(ANGBAND_DIR_SCORES, ANGBAND_DIR_USER, "scores"); BUILD_DIRECTORY_PATH(ANGBAND_DIR_SAVE, ANGBAND_DIR_USER, "save");