Author Topic: Installation crushes, game won't start...  (Read 2058 times)

ZMasashi

  • Guest
Installation crushes, game won't start...
« on: 3 January 2014, 19:59:05 »
Hi, I recently wanted to check out megaglest, but for some reason, at the end of installation the installer crushes (I get a window saying an error occurred and the application stopped working). The game files are copied in the right place though, but when I try to start megaglest, there is again an error (saying something about access violation). Can you help me get it to work? I'm using Windows 7.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: Installation crushes, game won't start...
« Reply #1 on: 3 January 2014, 20:35:07 »
The installer should work fine. In worsed case download and try again .

If the game does not run I think it is a problem with the gfx drivers. Install latest graphics drivers, even if windows-update says all is ok. Go to the chipset manufactorer and download/install the latest driver ( intel/ATi(amd) /nvidia )
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Installation crushes, game won't start...
« Reply #2 on: 4 January 2014, 03:25:37 »
Please post better details than what you posted above. Screenshots of the error is possible and exact error text displayed with as much detail as possible.

ZMasashi

  • Guest
Re: Installation crushes, game won't start...
« Reply #3 on: 4 January 2014, 15:40:24 »
Ok so, I tried installing it on my other PC with windows XP and it works fine... I guess I'll be playing on that PC... thank you anyway...

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Installation crushes, game won't start...
« Reply #4 on: 5 January 2014, 15:31:14 »
While I'm glad you found a way to work around it which works for you personally, it'd be much better if you were to give something back by explaining, in detail, how it doesn't work on the other system, so that the developers are in a position where they can possibly tell whether this is an issue in MegaGlest, and if so, one which will affect more people, and if so, craft a fix so that others will not run into this same situation in the future.

This said, if there's a language barrier which prevents you from doing so, or if you are just young and you think you cannot describe the problem properly, that's both good excuses.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

ZMasashi

  • Guest
Re: Installation crushes, game won't start...
« Reply #5 on: 6 January 2014, 00:20:34 »
While I'm glad you found a way to work around it which works for you personally, it'd be much better if you were to give something back by explaining, in detail, how it doesn't work on the other system, so that the developers are in a position where they can possibly tell whether this is an issue in MegaGlest, and if so, one which will affect more people, and if so, craft a fix so that others will not run into this same situation in the future.

This said, if there's a language barrier which prevents you from doing so, or if you are just young and you think you cannot describe the problem properly, that's both good excuses.

No excuses, you are absolutely right. I'll make some data in the morning...

ZMasashi

  • Guest
Re: Installation crushes, game won't start...
« Reply #6 on: 6 January 2014, 11:14:21 »
Ok I made screenshots...








Here you can download the file that appeared after the arror within the game files:
http://www.4shared.com/file/R9d8UYJRce/d11d2d81-60ec-485c-a091-623ea4.html

I hope that's enough info for you...

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: Installation crushes, game won't start...
« Reply #7 on: 6 January 2014, 15:47:56 »
did you start the game via start menu/ icon after the initial start directly from the installer failed ?
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

ZMasashi

  • Guest
Re: Installation crushes, game won't start...
« Reply #8 on: 6 January 2014, 16:13:22 »
did you start the game via start menu/ icon after the initial start directly from the installer failed ?

The installer crushes before it gets to making of icons, so I don't have MegaGlest icon in my start menu or anywhere else. I started it by "megaglest.exe" from where the game was installed. It worked on the other PC that way, I rarely use icons.

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Installation crushes, game won't start...
« Reply #9 on: 6 January 2014, 16:54:04 »
What kinf of user is installing on the problematic pc? IS it a normal user or do they have special security restrictions?

ZMasashi

  • Guest
Re: Installation crushes, game won't start...
« Reply #10 on: 6 January 2014, 18:20:35 »
What kinf of user is installing on the problematic pc? IS it a normal user or do they have special security restrictions?

I believe it's the normal user. There is no other accounts on this PC...

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Installation crushes, game won't start...
« Reply #11 on: 6 January 2014, 19:59:58 »
Thanks for providing those additional details. The MegaGlest 3.9.0 installer for Windows you have downloaded seems to be 254,255,092 bytes, this is the correct size. Still, it s strange that it would crash during the installation process, this is the first time this was ever reported.

Which anti-virus software do you run there, if any? Do you run additional anti malware tools - if so, which?

Please click on the Start / Windows button and type winver into the search box and press enter to run it, then take a shot of the newly spawned window.

Do you experience similar problems (installers failing, programs closing unexpectedly more than they do for other people) regularly?

When is the last time you ran a full AV scan?
Is Windows Update configured to install updates automatically?
Are there recommended Windows updates you prevent from installing on purpose?

These questions / tasks are a bit more difficult, catch me on IRC if you need help with them:
When is the last time your anti-virus signatures were updated?
When were the last Windows updates installed successfully?
Which file system is D: formatted with, and is it stored on an internal hard disk drive (HDD), and on the same HDD as the C: partition?
Do a full file system check of D:, does it find any errors?
Do a SMART long self test of the HDD which D: is on, what are the results?
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

ZMasashi

  • Guest
Re: Installation crushes, game won't start...
« Reply #12 on: 7 January 2014, 16:03:46 »
Thanks for providing those additional details. The MegaGlest 3.9.0 installer for Windows you have downloaded seems to be 254,255,092 bytes, this is the correct size. Still, it s strange that it would crash during the installation process, this is the first time this was ever reported.

1) Which anti-virus software do you run there, if any?
2) Do you run additional anti malware tools - if so, which?

3) Please click on the Start / Windows button and type winver into the search box and press enter to run it, then take a shot of the newly spawned window.

4) Do you experience similar problems (installers failing, programs closing unexpectedly more than they do for other people) regularly?

5) When is the last time you ran a full AV scan?
6) Is Windows Update configured to install updates automatically?
7) Are there recommended Windows updates you prevent from installing on purpose?

These questions / tasks are a bit more difficult, catch me on IRC if you need help with them:
8) When is the last time your anti-virus signatures were updated?
9) When were the last Windows updates installed successfully?
10) Which file system is D: formatted with, and is it stored on an internal hard disk drive (HDD), and on the same HDD as the C: partition?
Do a full file system check of D:, does it find any errors?
Do a SMART long self test of the HDD which D: is on, what are the results?

1) I use Commodo Internet Security as an antivirus and firewall...
2) I don't use any other anti-malware tools...
3)

4) No, everything worked fine so far. Some problems are usually fixed with compatibility feature, but not this one...
5) My antivirus says it's 09.16.2013., I do not remember actualy...
6) Yes
7) I don't think so. My Windows should be legal one, and I don't remember blocking any updates...
8) My anti-virus is updated every day automaticaly
9) I don't remember, whenever an update for my windows appears, it updates automatically, all updates were successful...
10) I have 1 Internal HDD, with 2 partitions, C and D. On C I hold windows system files and program files, o D I hold documents and games...

Don't have time for checks sry, I'm very busy currently, I hope those answers help you though...

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Installation crushes, game won't start...
« Reply #13 on: 7 January 2014, 20:34:56 »
Odd.

At any rate, it's not necessary to use the installer. You can download the binaries here and the data here.

You'll need an archive program such as 7-zip to unpack these archives. The contents of both archives should be in the same folder. If you haven't used a tar archive before, you'll note that the data package is basically "double archived". The xz format only works on single files, so the files must be bundled in the tar format. Thus, when you open the xz file in 7-zip, you'll see a tar file. Open that in 7-zip, too, and the contents of that tar file are what you'll copy to the same folder you placed the binaries.

Long story short, the folder should look like this:

Code: [Select]
data/
docs/
lua/
maps/
plugins/
scenarios/
techs/
tilesets/
tutorials/
7z.dll
7z.exe
g2xml.exe
glest.ini
glestkeys.ini
libvlc.dll
libvlccore.dll
megaglest.exe
megaglest_editor.exe
megaglest_g3dviewer.exe
OpenAL32.dll
servers.ini
xml2g.exe

Anyway, the megaglest.exe file is the game's binary.
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

ZMasashi

  • Guest
Re: Installation crushes, game won't start...
« Reply #14 on: 8 January 2014, 14:50:01 »
Odd.

At any rate, it's not necessary to use the installer. You can download the binaries here and the data here.

You'll need an archive program such as 7-zip to unpack these archives. The contents of both archives should be in the same folder. If you haven't used a tar archive before, you'll note that the data package is basically "double archived". The xz format only works on single files, so the files must be bundled in the tar format. Thus, when you open the xz file in 7-zip, you'll see a tar file. Open that in 7-zip, too, and the contents of that tar file are what you'll copy to the same folder you placed the binaries.

Long story short, the folder should look like this:

Code: [Select]
data/
docs/
lua/
maps/
plugins/
scenarios/
techs/
tilesets/
tutorials/
7z.dll
7z.exe
g2xml.exe
glest.ini
glestkeys.ini
libvlc.dll
libvlccore.dll
megaglest.exe
megaglest_editor.exe
megaglest_g3dviewer.exe
OpenAL32.dll
servers.ini
xml2g.exe

Anyway, the megaglest.exe file is the game's binary.

I extracted the files like you instructed, but I still get error... So I guess the installer installed game properly and than crushed... so the game is crushing even though it's properly installed.
« Last Edit: 8 January 2014, 19:14:19 by ZMasashi »

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Installation crushes, game won't start...
« Reply #15 on: 9 January 2014, 05:25:07 »
from cmd line run: (from the installation path)

Code: [Select]
megaglest.exe --verbose
and paste the output to see where it dies.

ZMasashi

  • Guest
Re: Installation crushes, game won't start...
« Reply #16 on: 9 January 2014, 12:08:34 »
from cmd line run: (from the installation path)

Code: [Select]
megaglest.exe --verbose
and paste the output to see where it dies.



I hope that helps...

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Installation crushes, game won't start...
« Reply #17 on: 9 January 2014, 20:44:02 »
Sorry I cannot read the pixture, please either only show the contents of the Dos window or take a better (larger resolution) image.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Installation crushes, game won't start...
« Reply #18 on: 9 January 2014, 21:39:34 »
Or perhaps a simpler approach, run MegaGlest with megaglest --verbose > output.txt. This redirects the standard output. Thus, the text that is currently being printed to the console will instead be printed to a file named "output.txt" (in the current directory). Copy and paste the contents of that file here.

Easier than working with pictures and nothing is truncated.
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

ZMasashi

  • Guest

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Installation crushes, game won't start...
« Reply #20 on: 10 January 2014, 00:18:50 »
Here's a cut-out from the original image.



Please try to use an image hosting service which allows for direct linking (imgur.com is known to allow this) and link directly to the full resolution image. You can take a screen shot of just the currently active window by pressing Alt-PrtScn.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

ZMasashi

  • Guest
Re: Installation crushes, game won't start...
« Reply #21 on: 10 January 2014, 00:54:02 »
Here's a cut-out from the original image.



Please try to use an image hosting service which allows for direct linking (imgur.com is known to allow this) and link directly to the full resolution image. You can take a screen shot of just the currently active window by pressing Alt-PrtScn.

Ok, thank you...

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Installation crushes, game won't start...
« Reply #22 on: 10 January 2014, 01:03:52 »
Does the following file exist?

Code: [Select]
c:\users\svitnik\appdata\roaming\megaglest\glestuser.ini
??

ZMasashi

  • Guest
Re: Installation crushes, game won't start...
« Reply #23 on: 10 January 2014, 11:27:14 »
Does the following file exist?

Code: [Select]
c:\users\svitnik\appdata\roaming\megaglest\glestuser.ini
??

No, I checked it. In the Roaming folder there is no "megaglest" subfolder...

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Installation crushes, game won't start...
« Reply #24 on: 10 January 2014, 19:29:30 »
Then this is the problem. I think this issue may be fixed in the current dev version in git, but for now please create the megaglest folder in that path and retry.

 

anything