Campaign progress not saved

Avatar
  • Views 11,032
  • updated
  • Completed - Resolved

Using Arch Linux (64-bit), with version 2.0.4 and all DLC installed, my main campaign progress is not saved properly. I haven't tested the other campaigns yet.


Saving/loading games works without any problems, the home realm is also saved correctly. Every time I restart the game, all maps are locked again and no achievements are available. Basically this means I'm replaying the tutorial every time.


Using the tutorial level, I've tested that I can load a game, complete that level and then the progress will be recorded until I quit the game again (i.e. I can start level 2 correctly).


Some bits that are saved properly are: all the (graphics/audio/etc) settings, whether the intro movie has played the first time, and the help button tutorial in the first level doesn't come back after the first time either.


I have the game installed to a custom directory (on a separate partition; full install path is /mnt/linux-games/war_for_the_overworld -- no spaces). I did make sure my Linux user account has write access to the entire directory and all files (in fact, I installed the game as the same user).


I also tried removing the entire directory and then reinstalling the game from scratch, but that has not solved the problem.


Player.log file of completing the first level (which should save progress): Player.log.save
Player.log file when restarting the game: Player.log.load
Based on file timestamps I can see that my custom save, and the WFTO_Tutorial file were saved when finishing the level. Options.txt is also properly saved. You can download the full GameData directory as a zip from here (link will expire November 7th 2018).

Game Version:
GOG DRM-Free
Platform:
Linux

How would you rate the customer service you received?

Satisfaction mark by Cheetah 6 years ago

Confirmed that now the patch is deployed on GOG, progress is saved correctly again with 2.0.6f1. Thanks for the assistance!

Add a comment about quality of support you received (optional):

Avatar
anonymous

It is likely that this is related to an issue another user had, is the information here of any use to you?


https://brightrockgames.userecho.com/communities/1/topics/4720-use-applicationpersistentdatapath-for-mutable-files

Avatar
anonymous
  • Under Review

Hey Cheetah,


Pretty odd, ultimately we only guarantee Debian based Distros. I'll look into this and make sure its not a general issue but if it is specific to Arch then there may not be a lot we can do


Avatar
Cheetah

Digging a little further with strace uncovers that stat.txt, while being read, is never written to:

strace ./WFTOGame.x86_64 2>&1 | grep stat.txt                                                                                                                               [22:28]
stat("/mnt/linux-games/war_for_the_overworld/game/WFTOGame_Data/GameData/stat.txt", {st_mode=S_IFREG|0644, st_size=1022, ...}) = 0
lstat("/mnt/linux-games/war_for_the_overworld/game/WFTOGame_Data/GameData/stat.txt", {st_mode=S_IFREG|0644, st_size=1022, ...}) = 0
stat("/mnt/linux-games/war_for_the_overworld/game/WFTOGame_Data/GameData/stat.txt", {st_mode=S_IFREG|0644, st_size=1022, ...}) = 0
lstat("/mnt/linux-games/war_for_the_overworld/game/WFTOGame_Data/GameData/stat.txt", {st_mode=S_IFREG|0644, st_size=1022, ...}) = 0
stat("/mnt/linux-games/war_for_the_overworld/game/WFTOGame_Data/GameData/stat.txt", {st_mode=S_IFREG|0644, st_size=1022, ...}) = 0
lstat("/mnt/linux-games/war_for_the_overworld/game/WFTOGame_Data/GameData/stat.txt", {st_mode=S_IFREG|0644, st_size=1022, ...}) = 0
stat("/mnt/linux-games/war_for_the_overworld/game/WFTOGame_Data/GameData/stat.txt", {st_mode=S_IFREG|0644, st_size=1022, ...}) = 0
lstat("/mnt/linux-games/war_for_the_overworld/game/WFTOGame_Data/GameData/stat.txt", {st_mode=S_IFREG|0644, st_size=1022, ...}) = 0
openat(AT_FDCWD, "/mnt/linux-games/war_for_the_overworld/game/WFTOGame_Data/GameData/stat.txt", O_RDONLY) = 30
[1]    29786 killed     strace ./WFTOGame.x86_64 2>&1 | 
       29787 done       grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn} stat.txt

This happens both with a 0-byte stat.txt file (which was originally there in my installation) and a version I found on the GOG forums (this issue), where I reset all C??_Complete=0. With this custom version, it did show the manipulated campaign progress, but still would not save my own progress.


Resetting the campaign progress (also for any of the DLC campaigns) does not write the stat.txt file.


It seems to me to be a fairly safe bet to say the problem lies with writing the stat.txt file, which for some reason never happens (or isn't even attempted).