Author Topic: GAE and Vista (access violations galore!)  (Read 3958 times)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
GAE and Vista (access violations galore!)
« on: 7 December 2008, 19:57:01 »
Once again, I tried to get gae to work, and once again, I got access violations. So I decided to try a few things.
First of all, I went and installed 3.1.2 on my desktop, and put gae 0.28 over top of that. I tried it, and on the bright side, it gave me the 'an error has ocurred and glest must close' bit without having to run as an admin to see that error like when I tried to use GAE in the program files.
Next, I tried to run it in command line. This is where things get interesting. This is the version that was installed on the desktop, since I don't know how to get the command line in vista to run something from program files. Program files has a space in its name, and even then, there's the fact that command line starts at C:users\owner> But when I tried to run GAE in the command line, I got a new error message: Cannot find property map ini or something like that. I checked, and the glestadv.ini was definately in the folder. I also noticed that Glest seems to use the ini located in app data instead, so that might be the problem.

Anyway to get around this? Does Glest have a way to NOT use App Data on Windows?

As a side note, I could try to use Linux (kubuntu) but I still don't have any idea how! I downloaded this http://http://www.titusgames.de/gae/glestadv-linux32-bin.0.2.9.tar.gz which was made by Titi, but I have no experience on anything linux related (except openoffice, which I use as my default word processor on windows vista, but even then, it looks better on Vista). How do I play/open/whatever these extensionless things?

Titi? Daniel? Orion? Anyone help!
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: GAE and Vista (access violations galore!)
« Reply #1 on: 8 December 2008, 09:09:14 »
Quote
I don't know how to get the command line in vista to run something from program files. But when I tried to run GAE in the command line
I'm not sure if you got to program files in command line but anyway, for paths that have spaces in the you need to surround it in quotes. ie >cd "C:\Program Files\Glest_3.1.2", once you get there just type in glest.exe and press enter.

You need to put the GAE binary in the same location as the Glest binary.

Quote
or something like that
Please post exact error messages. "Can't open propertyMap file: glest.ini"

I've reproduced the error by running from a different location. i.e. C:\>"C:\Program Files (x86)\Glest_3.1.2\glest.exe". This happens because it is in the current working directory of c:\ (for me) so the program looks for glest.ini there instead of where it is located.


Quote
Does Glest have a way to NOT use App Data on Windows?
I'm currently running it like this so yes.

I've answered you're linux question where you asked in another post.

"Google is you're friend" is a key point here. These type of topics are probably on a billion pages waiting for you to learn them.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: GAE and Vista (access violations galore!)
« Reply #2 on: 8 December 2008, 15:55:39 »
Thing is, command line in Vista seems to start from
Code: [Select]
C:users/Owner>This leaves me wondering how to use it here.

But I guess that doesn't matter. I'm going to try Linux.
« Last Edit: 9 December 2008, 15:38:00 by omega »
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

Platyhelminth

  • Guest
Re: GAE and Vista (access violations galore!)
« Reply #3 on: 8 December 2008, 16:28:59 »
For vista, try to run gae as administrator. It works for me.

  For kubuntu, you should read this first : viewtopic.php?f=15&t=3913&p=19637#p19585
After, you can get the latest binaries are here: http://glest.codemonger.org/home_page.php
If your kubuntu is 32bit, then get the "x86 pentium3" file and extract it where glest is installed. You have to manualy install FPM factions too.

modman

  • Guest
Re: GAE and Vista (access violations galore!)
« Reply #4 on: 9 December 2008, 03:52:48 »
The Admin may not like this, but...Trinity Disk Rescue Kit.  It will allow you to change the admin password if you burn the files to a disk.

Beware!  You'll probably get in trouble if your admin goes on your computer regularily.

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: GAE and Vista (access violations galore!)
« Reply #5 on: 9 December 2008, 11:01:39 »
You didn't mention you didn't have admin privileges, though you should still be able to access the directory even if you're not an admin because you say you can run it from the link. If that doesn't work try copying the whole directory to where you can access and run it from command line there.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: GAE and Vista (access violations galore!)
« Reply #6 on: 9 December 2008, 15:43:27 »
I am an admin. I am the sole user of my laptop. On it, my word is the law (or it should be).
When running GAE normally, I get nothing. The window opens and closes instantly. When I run as admin, I get the 'An error has occured and glest needs to close' message. No details on what went wrong. When I copied the entire folder to the desktop, and ran it in command line, I got "Can't open propertyMap file: glest.ini".
What is wrong? I'd say its my OS, vista is not the best. It is so annoying, asking for admin permission even after I instructed it not to. I tell you, the security system is terrible in Vista. I'm not saying it's insecure, but it has no way to do anything without getting a security message!

I'm going to try maybe kubuntu later today. ;D
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

daniel.santos

  • Guest
Re: GAE and Vista (access violations galore!)
« Reply #7 on: 10 December 2008, 02:25:57 »
omega,
Again, I need your responses in the bug report you filed last month: https://bugs.codemonger.org/show_bug.cgi?id=40
Also, make sure you don't have any of the "override application settings" in the options for your video driver, like:
Quote from: "omega"
Anti-Aliasing Level: 6x (adaptive AA set on highest quality)
Anistropic Filtering Level: Per pixel samples 16x
When you do this, you force the video driver to ignore other settings specified by the application and that can lead to crashes in a lot of games.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: GAE and Vista (access violations galore!)
« Reply #8 on: 10 December 2008, 04:14:22 »
You do? Oh, dear, I replied to that as an email. Oops. I'll just do it now. Oh, and I have already tried setting the graphics at minimum with no overrides. After seeing the 'Cannot open propertyMap: glestadv.ini' error after trying to open gae in command line, I'm fairly certain that the error lies somewhere along that path, not graphics (whew). However, it could be vista trouble. Time to try kubuntu.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

daniel.santos

  • Guest
Re: GAE and Vista (access violations galore!)
« Reply #9 on: 11 December 2008, 01:53:30 »
Quote from: "omega"
You do? Oh, dear, I replied to that as an email. Oops. I'll just do it now. Oh, and I have already tried setting the graphics at minimum with no overrides. After seeing the 'Cannot open propertyMap: glestadv.ini' error after trying to open gae in command line, I'm fairly certain that the error lies somewhere along that path, not graphics (whew). However, it could be vista trouble. Time to try kubuntu.
Well, it could really be vista trouble.  And if that's the case, it will be helpful to figure it out and fix it.  Unfortunately (or perhaps, it's actually "FORTUNATELY" :)

gameboy

  • Guest
Re: GAE and Vista (access violations galore!)
« Reply #10 on: 11 December 2008, 15:30:43 »
i have vista, and it works fine.
BTW omega do u have the professional or the home edition?

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: GAE and Vista (access violations galore!)
« Reply #11 on: 11 December 2008, 15:31:23 »
It MUST be a vista bug, and you should be grateful you don't have a vista computer to see it! :O
I'm going to have to use Kubuntu, which I've been holding off for a while, but now I'm pretty sure I understand how to use it, so I'll do so.
 EDIT// I use Vista Home Premium
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

daniel.santos

  • Guest
Re: GAE and Vista (access violations galore!)
« Reply #12 on: 12 December 2008, 12:11:08 »
omega, what version of GAE are you using?  (Hint, the correct response isn't "the latest", "the top one" or "all of them" :) )

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: GAE and Vista (access violations galore!)
« Reply #13 on: 12 December 2008, 15:55:08 »
Well, I've tried all of them up until 0.28
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

daniel.santos

  • Guest
Re: GAE and Vista (access violations galore!)
« Reply #14 on: 13 December 2008, 02:41:42 »
0.2.10b is out now (just don't use the i686 version).  For beta stuff, older versions get "unsupported" fast!

ZaggyDad

  • Guest
Re: GAE and Vista (access violations galore!)
« Reply #15 on: 29 December 2008, 16:38:47 »
Quote from: "omega"
Once again, I tried to get gae to work, and once again, I got access violations. So I decided to try a few things.
First of all, I went and installed 3.1.2 on my desktop, and put gae 0.28 over top of that. I tried it, and on the bright side, it gave me the 'an error has ocurred and glest must close' bit without having to run as an admin to see that error like when I tried to use GAE in the program files.
Next, I tried to run it in command line. This is where things get interesting. This is the version that was installed on the desktop, since I don't know how to get the command line in vista to run something from program files. Program files has a space in its name, and even then, there's the fact that command line starts at C:users\owner> But when I tried to run GAE in the command line, I got a new error message: Cannot find property map ini or something like that. I checked, and the glestadv.ini was definately in the folder. I also noticed that Glest seems to use the ini located in app data instead, so that might be the problem.
Put glestadv.ini in the app data folder\whatever glest folder is there (if there is one). If there isn't one, then just add one labeled Glest, and hope it works (I haven't tested this yet...).

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: GAE and Vista (access violations galore!)
« Reply #16 on: 30 December 2008, 01:57:44 »
I did. Tried it... I can't even be sure if that's the problem. I only saw that specific error when I had the program on the desktop, where appData won't help.

I'm just going to try kubuntu sometime, but of late, I've been really busy or really lazy. Either way, I havent gotten around to it yet. Maybe its cause I cant really do anything on linux, but I just never seem to naturally use it... And I would have to cope with the fact of limited or no multiplayer, thanks to system checks, though thats okay with me since my internet likes to kick me out in the first five minutes.  :O
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert