v1.12.4 Cannot load saved game Windows 8.1

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
shigatosis
Posts: 3
Joined: August 2nd, 2015, 4:55 pm

v1.12.4 Cannot load saved game Windows 8.1

Post by shigatosis »

Recently did a fresh install of Wesnoth v1.12.4 on a Windows 8.1 computer. I tried saving in the middle of a campaign to continue later, bu when I click on the Load button, instead of showing a list of saved games, it displays the contents of the install location (Wesnoth.exe, README.TXT, etc.). Additionally, the campaign selection menu displays two of each campaign. I've tried uninstalling and downloading again several times, same result. I had none of these issues with previous builds. Any ideas as to why this is the case?
Essoth
Posts: 2
Joined: August 3rd, 2015, 1:24 am

Re: v1.12.4 Cannot load saved game Windows 8.1

Post by Essoth »

I'm also having this problem, (and all the campaigns appearing twice).

I can find the saved games (in zipped form) in the path: C:\Users\[Username]\AppData\Local\VirtualStore, but I can't get Wesnoth to look here? Is it due to recent Windows updates?

Does anyone know how to fix this?

EDIT: Found a kludge, which is to go to the VirtualStore folder and copy the saved game I wanted to load, and paste it into the directory where it's looking for saved games (the install folder). But that's not exactly an elegant long-term solution!
User avatar
UnwiseOwl
Posts: 516
Joined: April 9th, 2010, 4:58 am

Re: v1.12.4 Cannot load saved game Windows 8.1

Post by UnwiseOwl »

I have windows 8.1 and 12.4 and am not having this problem, just to confuse matters.
Maintainer of the Imperial Era and the campaigns Dreams of Urduk, Epic of Vaniyera, Up from Slavery, Fall of Silvium, Alfhelm the Wise and Gali's Contract.
But perhaps 'maintainer' is too strong a word.
User avatar
Iris
Site Administrator
Posts: 6799
Joined: November 14th, 2006, 5:54 pm
Location: Chile
Contact:

Re: v1.12.4 Cannot load saved game Windows 8.1

Post by Iris »

I’m not a Windows user or full-time Windows-based developer, unfortunately, so I for one can’t help much beyond suggesting to choose to pick the user data in Documents setting when installing to avoid issues like this when UAC virtualization breaks for any reason. Choosing to install just for your own user as opposed to all users on the system is another alternative IIRC.

Of course, it would be great if we could learn exactly what goes wrong to understand the issue better and possibly assign the task to a Windows-based dev. So, how about this:

@shigatosis, @Essoth: Did either of you start experiencing this after running Wesnoth once by selecting the option at the end of the installer? Also, if a userdata dir exists in the installation path (not its VirtualStore equivalent), what happens if you just delete it or move it elsewhere? (These are both very specific questions so I’d prefer if you could answer before attempting anything else.)

Also, if anyone else is experiencing this issue all of a sudden, could they perhaps pinpoint a specific action (either on Wesnoth’s files or Windows’ updates center) that led up to this?
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
Essoth
Posts: 2
Joined: August 3rd, 2015, 1:24 am

Re: v1.12.4 Cannot load saved game Windows 8.1

Post by Essoth »

Couple of mea culpas here, I'm running version 1.12.2, not .4, and probably should have mentioned that in my post.

So, I hadn't touched the Wesnoth install since I installed it a few months ago - seems to be that it must have been something that the Windows update did. I'm sorry, but I don't know how to check what exactly that was.

However, I have, I think fixed the problem.

The userdata directory didn't exist in the install directory, so I created it, created a subdirectory called "saves", and copied one of the recent saved games (which I'd been putting directly into the install directory, since that's where the Wesnoth load game dialog was looking) into it. Then, going to the load game dialog showed the one I'd just copied in, as well as a bunch of others (presumably from before the Windows update) which, however, do not appear in the directory.

I can load them fine, both the visible and 'invisible' ones. I'm pretty confused, but it seems like this did the trick. Sorry I can't be more specific about things, this is about the limit of what I can do with a computer ;-)

One thing though, the "back to" command in the ingame menu doesn't work. The autosaves are showing up in the load game dialog, but not in the folder if I look in Windows explorer.
shigatosis
Posts: 3
Joined: August 2nd, 2015, 4:55 pm

Re: v1.12.4 Cannot load saved game Windows 8.1

Post by shigatosis »

shadowm wrote:@shigatosis, @Essoth: Did either of you start experiencing this after running Wesnoth once by selecting the option at the end of the installer? Also, if a userdata dir exists in the installation path (not its VirtualStore equivalent), what happens if you just delete it or move it elsewhere? (These are both very specific questions so I’d prefer if you could answer before attempting
I tried both installer options, and in both cases the userdata directory was absent from the install location.

Manually moving the userdata folder from VirtualStore to the install directory, as suggested by Essoth, seems to have solved the problem for me (can now load saves and only see one of each campaign). Thanks for the fix!

Possibly worth noting is that I also tried installing v1.12.2 and it seemed to work perfectly at first, but after restarting my computer it displays a runtime error message and crashes to desktop when attempting to load a game or start a new scenario. Not sure if this is related or if it belongs in a new thread.
aquileia
Inactive Developer
Posts: 120
Joined: August 25th, 2012, 5:13 pm

Re: v1.12.4 Cannot load saved game Windows 8.1

Post by aquileia »

Essoth, could you try moving that savefile back? I'd like to know whether it works when the saves dir is empty.

My guess is that the existence of the saves dir is enough to get it working. If you could verify that, it would help fixing the issue.

If you want to know why it finds the 'invisible' saves - whenever a program searches a directory, it sees both the contents of it and the corresponding VirtualStore.
Post Reply