Campaign progress not saved
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).
Customer support service by UserEcho
Digging a little further with strace uncovers that stat.txt, while being read, is never written to:
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).
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
It is likely that this is related to an issue another user had, is the information here of any use to you?
Thanks for your reply. I've tried the other user's patch, but it didn't solve my problem (in fact, I think it may have broken some of the DLC menus. I do agree with them that writing save game data to the correct directory is a good idea).
I've tried playing the first level of the Under Games, and it seems that in that case progress is partially saved. After restarting the game I can continue with the next level, but none of the achievements (including the basic "Completed level" one) are marked as completed. I assume those achievements are saved in stat.txt whereas the actual progress is stored elsewhere.
Using strace to monitor all file access by the game (as logged above), I still see no attempt to locate or open the stat.txt file, apart from reading it once at startup.
I checked a little further. Some things I noticed:
- The exit code of the game is 137, which I guess indicates an unclean exit. Possibly it crashes just before it wants to write out the file. I haven't managed to get a backtrace or anything, unfortunately
- I tried running the game from Ubuntu 18.04.1 on the same hardware (using a 'live' system from USB, but that shouldn't matter much compared to a fully installed version I reckon), and got exactly the same behavior. Saves would show up, load/save etc, but achievements didn't persist
FYI, some hardware details:
- AMD Ryzen 2600 CPU
- AMD Radeon RX 580 graphics card
- 2 screens (one connected to the DisplayPort, one on HDMI) using an extended desktop side by side (both screens are 1920x1080, so full desktop is 3840x1080).
- I'm using open source AMDGPU drivers (not the proprietary ones) on Arch; not sure what Ubuntu's live system uses, but I think it's the same
- I have a Steam controller, but unplugging that didn't help
Full start.sh terminal output:
I just installed the game (2.0.4) bought from GOGS on Ubuntu 16.04 to default installation dir and I'm having the same problem. Saves are successfuly saved, I'am able to load them, settings are preserved but game progress is lost.
The game is installed in '~/GOG Games/War for the Overworld' even tried a dir wihout spaces with no success.
I did not find even empty stats.txt, which the OP mentioned. Tried creating the file as described with the same result of changing the progress but never getting saved.
I too just bought the game from GoG and installed it on Ubuntu 17.10 and have the same issue. I created a stat.txt file and used the values that I found in another thread and loading the campaign progress seems to be working fine, but writing to the file just doesn't happen. At the moment I just update stat.txt manually after each session to match my campaign progress, but this seems to mean that any aspect selections I've made in the veins of evil don't persist (unless I load from a saved game).
Thanks for the reports and updates. I'll raise this with Cian again tomorrow to get his input and thoughts on it.
Truly sorry for the problems you're facing and I hope we can find some solution for you in the near future.
Hello Lee, Cian,
Thanks for keeping an eye on this :) I just checked the 2.0.5 build from GOG and this issue is still present.
From what I gather, the file is supposed to be saved when you quit the game. If this is true, one work-around would be to save the file every time an achievement is achieved.
Secondly it seems the game kills itself somehow, rather than exiting nicely. the last few lines of the full strace output are as follows:
The exit code I'm getting - 137 - seems to indeed correlate with a kill -9 (SIGKILL) according to a quick search on the internet.
If you need further details please let me know, I'll be happy to help.
We kill the games process on game end on Linux as Unity 5.4.6 cannot close correctly and will keep a zombie process. This means that the stats file is not being saved as it is saved during the shutdown which is interrupted. We have corrected this by saving the file everytime it is written to on Linux DRM Free.
This should be corrected in the next patch
Dude, we're almost into 2021 and this is still happening. I just got the Ultimate edition and playing a custom campaign, it let's me save but during the game when I look for the saves it says, "there aren't any saves." However, if I go to the main menu and choose to load a game (under custom campaign) they are there. So they just don't show up while you're playing for some reason.
This seems to be an entirely different issue than the one raised in this topic. Specifically your issue seems to be that custom campaigns are not showing up in your load menu whilst in-game.
Can you confirm that you're looking in the right category, the in-game load menu sorts by map type, which may vary depending on what the map maker set for that level. Typically most custom campaign levels will be scenario maps. Meanwhile the load game on the custom campaign menu looks for saves related to those maps afaik.
If you check the above (check each category) and it stills doesn't show up then please feel free to raise your own report.