Author Topic: Windows 7 and savefiles???  (Read 1946 times)

Offline NeoWizard

  • Newbie
  • *
  • Posts: 6
Windows 7 and savefiles???
« on: February 27, 2011, 11:08:58 am »
Anyone using windows 7 64 bit and notice a problem with savefiles

It seems everytime I save and quit, when I start the game again and load my savefile its always an earlier save than the last one!


Offline NeoWizard

  • Newbie
  • *
  • Posts: 6
Re: Windows 7 and savefiles???
« Reply #1 on: February 27, 2011, 12:17:33 pm »
Looks like AVG was the problem, but its strange because last week I had windows 7 32 bit and it was working ok.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Windows 7 and savefiles???
« Reply #2 on: February 27, 2011, 12:20:45 pm »
It's definitely not a problem with windows 7 64bit in general -- that's what the game is developed on. :)

Glad you found the solution, antivirus would have been my guess too.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline NeoWizard

  • Newbie
  • *
  • Posts: 6
Re: Windows 7 and savefiles???
« Reply #3 on: February 27, 2011, 08:25:09 pm »
I removed the antivirus, but there is still one game left with this behavior. I think when a file does not have an extension, windows adds .new to the file. Angband save files still have this behavior. Kinda weird cause I didn't have those problems with any games while using AVG win xp, And when I had win 7 32 bit I still did not have those problems, and all my Windows OSs are legit.

Offline Echo35

  • Master Member Mark II
  • *****
  • Posts: 1,703
  • More turrets! MORE TURRETS!
Re: Windows 7 and savefiles???
« Reply #4 on: February 28, 2011, 09:54:10 am »
Anyone using windows 7 64 bit and notice a problem with savefiles

It seems everytime I save and quit, when I start the game again and load my savefile its always an earlier save than the last one!



Windows 7 is crazy paranoid about things saving into the C:\ drive (Or whatever root you're using). If it's a regular problem, I would recommend running the game as an Administrator. I know I have to in order for log files to save correctly, though the game itself saves fine for me (As an aside, I'm using 64 Bit Windows 7 and AVG as well, and haven't had any issues).

Offline Nalgas

  • Hero Member
  • *****
  • Posts: 680
Re: Windows 7 and savefiles???
« Reply #5 on: March 01, 2011, 06:04:22 pm »
Windows 7 is crazy paranoid about things saving into the C:\ drive (Or whatever root you're using). If it's a regular problem, I would recommend running the game as an Administrator. I know I have to in order for log files to save correctly, though the game itself saves fine for me (As an aside, I'm using 64 Bit Windows 7 and AVG as well, and haven't had any issues).

If I remember right, it's more specifically C:\Program Files\ (and/or Program Files (x86)) that it doesn't like you doing certain things to, which royally screws up some older games but is generally not a problem with new ones that take that into account and store stuff in your user folder like they're supposed to.  I never run into that problem anyway, though, because my massive Steam folder doesn't fit on my OS partition, so it's on E, and all my other games are there with it for consistency.

Also, I haven't really looked into it in the past year or so, but the general consensus that I remember was that AVG pretty much stopped being any good around when 8.0 came out.  avast! and Avira were supposed to be decent for a while, and they may even still be, but I've been rather pleasantly surprised by MSE and have just been using that these days when I need to install something for someone.

Offline Echo35

  • Master Member Mark II
  • *****
  • Posts: 1,703
  • More turrets! MORE TURRETS!
Re: Windows 7 and savefiles???
« Reply #6 on: March 01, 2011, 10:25:30 pm »
If I remember right, it's more specifically C:\Program Files\ (and/or Program Files (x86)) that it doesn't like you doing certain things to, which royally screws up some older games but is generally not a problem with new ones that take that into account and store stuff in your user folder like they're supposed to.  I never run into that problem anyway, though, because my massive Steam folder doesn't fit on my OS partition, so it's on E, and all my other games are there with it for consistency.

Yep. A lot of newer games won't even install into the Program Files folders by default.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Windows 7 and savefiles???
« Reply #7 on: March 02, 2011, 09:44:21 am »
Our installer specifically alters the permissions of its folder to avoid all that sort of thing.  But occasionally we get a report of someone still having wonkiness from it.  There are some sort of "virtual locations" that windows set up in Win7 (and maybe Vista?) that can have files that are written by a program into program files, but which don't really show up in program files.  It's very unclear as a system, and I've not seen a lot about it, but I suspect that might be related to what's going on here.

More on that here, for the curious: http://social.msdn.microsoft.com/Forums/en/isv/thread/43326201-94a7-4c5b-b490-20782f58cfda
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Echo35

  • Master Member Mark II
  • *****
  • Posts: 1,703
  • More turrets! MORE TURRETS!
Re: Windows 7 and savefiles???
« Reply #8 on: March 02, 2011, 09:50:05 am »
Our installer specifically alters the permissions of its folder to avoid all that sort of thing.  But occasionally we get a report of someone still having wonkiness from it.  There are some sort of "virtual locations" that windows set up in Win7 (and maybe Vista?) that can have files that are written by a program into program files, but which don't really show up in program files.  It's very unclear as a system, and I've not seen a lot about it, but I suspect that might be related to what's going on here.

More on that here, for the curious: http://social.msdn.microsoft.com/Forums/en/isv/thread/43326201-94a7-4c5b-b490-20782f58cfda

Pretty sure it's just in 7. It makes a sort of buffer that it saves stuff to and writes that to the Program Files folders or something like that. As you said, it's pretty vague.