Fleshbits
Conscript
Posts: 15
Joined: Tue Feb 23, 2016 9:23 am

Doesn't seem to work when not admin

Tue Feb 23, 2016 9:33 am

My first game from ageod. When I played I got exceptions popping up every second. On a whim, I decided to switch to administrator and play. No exceptions.

What in the world are you doing that you require me to play as Admin?

That's so unsafe. My admin account is for installs and uninstalls only. My user account is for playing games and surfing the web while I play them and reading manuals.
I checked the box in options to send bug reports to devs. I really hope they make this playable under a user account. It goes against my religion as a software developer to linger as Administrator.

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Tue Feb 23, 2016 11:23 am

The app is writing logs in the game directory. Try setting an exception so that it can do that, if you don't want to switch to admin mode.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
Captain_Orso
Posts: 5766
Joined: Tue Sep 01, 2009 5:02 pm
Location: Stuttgart, Germany

Tue Feb 23, 2016 11:28 am

I would suggest to always install AGEod games into their own folder structure which you create yourself; eg. 'C:\AGEod Games'. This should solve any issues you might encounter with permissions.
Image

csiemers
Sergeant
Posts: 70
Joined: Sat Feb 14, 2015 4:19 pm
Location: Pacific Northwest

Tue Feb 23, 2016 1:57 pm

A better solution would be for Ageod to have the applications write to the user's My Games directory. Typically in C:\Users\username\My Games\. Or if app logs a better place would be c:\Users\username\AppData\Local\

It's just poor programming practice to be writing to the C:\Program Files\ directories.

User avatar
Captain_Orso
Posts: 5766
Joined: Tue Sep 01, 2009 5:02 pm
Location: Stuttgart, Germany

Tue Feb 23, 2016 3:41 pm

I can't remember having seen issue with writing to the '..\My Games' folder, and I would be surprised to see any.

I have however seen issues with writing to 'C:\Program Files (x86)\Wars of Napoleon\NGC\Settings', where for example the last loaded scenario is recorded when you load it, plus all the settings you make through the Options menu.

Now, you can bitch at AGEod all you want (you wouldn't be the first, and in the history of things you'd be way behind me in the bitch-at-AGEod-line), or you can accept a simple solution which, from my experience, solves all your issues about permissions with no more effort than creating a folder.
Image

csiemers
Sergeant
Posts: 70
Joined: Sat Feb 14, 2015 4:19 pm
Location: Pacific Northwest

Wed Feb 24, 2016 3:15 am

Yep, that's the simple solution, but one would hope that AGEOD would want to do the right solution. I can only think that many of their customers are frustrated with something that should never had occurred if they had just followed proper programming practice.

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Wed Feb 24, 2016 10:27 am

This log system has been set in 2005 and not revised to store data to another place. Pleading guilty here. On the other hand, the save system has been revised and is saving data in the user directory. That's good right? :)

Now, I promise that this utterly horrendous fail in following good practices will be fixed as soon as I see all games from others majors companies (I mean the ones which have a coffee budget higher than the whole Ageod budget) saving their files in the same spot. Currently on my computer I have saves or configs files in these following directories, depending of the game:

C:\Users\<Account Name>\AppData\Local
C:\Users\<Account Name>\AppData\LocalLow
C:\Users\<Account Name>\AppData\Roaming
C:\Users\<Account Name>\Saved Games
C:\Users\<Account Name>\Documents
C:\Users\<Account Name>\Documents\My Games

Somehow, I feel not alone in malpractices when I see that Paradox is not saving files in the same spot as Creative Assembly which is not saving files in the same spot as Stardock which is not saving files in the same spot as Bioware.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
Captain_Orso
Posts: 5766
Joined: Tue Sep 01, 2009 5:02 pm
Location: Stuttgart, Germany

Wed Feb 24, 2016 12:12 pm

The one issue I know of is the game saving the last loaded scenario in 'C:\Program Files\Wars of Napoleon\NCG\Settings\General.opt' in the 'LastPlayedGame' parameter.

Strangely enough I've never see 'AGESettings.exe' having any issue of writing to other files in the same folder.
Image

Fleshbits
Conscript
Posts: 15
Joined: Tue Feb 23, 2016 9:23 am

Thu Feb 25, 2016 8:25 am

Pocus wrote:This log system has been set in 2005 and not revised to store data to another place. Pleading guilty here. On the other hand, the save system has been revised and is saving data in the user directory. That's good right? :)

Now, I promise that this utterly horrendous fail in following good practices will be fixed as soon as I see all games from others majors companies (I mean the ones which have a coffee budget higher than the whole Ageod budget) saving their files in the same spot. Currently on my computer I have saves or configs files in these following directories, depending of the game:

C:\Users\<Account Name>\AppData\Local
C:\Users\<Account Name>\AppData\LocalLow
C:\Users\<Account Name>\AppData\Roaming
C:\Users\<Account Name>\Saved Games
C:\Users\<Account Name>\Documents
C:\Users\<Account Name>\Documents\My Games

Somehow, I feel not alone in malpractices when I see that Paradox is not saving files in the same spot as Creative Assembly which is not saving files in the same spot as Stardock which is not saving files in the same spot as Bioware.



Well, if MS would stop declaring new spots with every new OS release, it would make things easier for sure.
I am happy if things get saved to anything under C:\users\<current user>\ anywhere. I don't have permission issues there that I am aware of. If it is documents, documents/my games, app data, or what have you, it doesn't really matter as long as it is under the <current user> directory, and that one has existed since XP at least. Anything under C:\ <any folder> is a completely different story and is likely to cause a permission issue imo.

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Thu Feb 25, 2016 10:20 am

To be more comprehensive, the 6 folders I'm mentioning are all on the same computer, same OS, which is Seven 64 bits. So I don't think MS is the culprit here. I know it's easy to say they are always guilty though (easy and enjoyable) :p
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

Return to “Wars of Napoleon”

Who is online

Users browsing this forum: No registered users and 5 guests