Editing MG/FAQ

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 74: Line 74:
 
And play with:
 
And play with:
  
  ./start_megaglest
+
  ./megaglest
  
 
Next time you want to play, you just need to:
 
Next time you want to play, you just need to:
  
 
  cd ~/megaglest-3.5.1
 
  cd ~/megaglest-3.5.1
  ./start_megaglest
+
  ./megaglest
  
 
You can, of course, also create a shortcut on your favourite window manager so that you just need to point and click to start the game in the future, thus eliminating the necessity of using the terminal window each time.
 
You can, of course, also create a shortcut on your favourite window manager so that you just need to point and click to start the game in the future, thus eliminating the necessity of using the terminal window each time.
Line 103: Line 103:
  
 
====Linux====
 
====Linux====
Error may looks like this: "... error while loading shared libraries ...".
+
Be sure that you have downloaded the correct installer (32 bits or 64 bits). See below to know how to find your linux type.
 
 
 
 
1. Be sure that you have downloaded the correct installer (32 bits or 64 bits), especially if you see in the error message something also like this: "... wrong ELF class ...". See below to know how to find your linux type.
 
  
 
If <tt>uname -m</tt> returns <tt>x86_64</tt>, you need the 64 bits version. If it returns <tt>i686</tt>, you need the 32 bit version.
 
If <tt>uname -m</tt> returns <tt>x86_64</tt>, you need the 64 bits version. If it returns <tt>i686</tt>, you need the 32 bit version.
  
 
+
Be sure that you have installed all requirements. If it still does not work then, you may try running these commands from your MegaGlest root folder (probably something like /home/yourname/megaglest).
2. Be sure that you are launching game in the recommended way. In general e.g. if exist starting script "start_megaglest" then you should launch this script e.g. by <tt>./start_megaglest</tt> instead of game directly by plain <tt>./megaglest</tt>.
 
 
 
Starting scripts are very helpful in case when you are using game with binaries compiled by upstream (MegaGlest team), so for example if you are using installer "MegaGlest-Installer...linux.run".
 
 
 
If you are using binaries compiled by someone else, e.g. by linux distribution or by yourself from source then in 99% cases you don't need to use those scripts. 
 
 
 
 
 
3. Be sure that you have read the output produced e.g. by "start_megaglest" script because there you will see some hints what you can do and what you should do.
 
 
 
 
 
4. If game still does not work and you are trying to use some old game version like up to v.3.9.1 (with newer game version this method will not help) then, you may try running these commands from your MegaGlest root folder (probably something like /home/yourname/megaglest).
 
  
 
  mkdir lib_bkp
 
  mkdir lib_bkp
Line 133: Line 119:
  
 
===I get an error stating MegaGlest needs an OpenGL version of at least 1.3 to work===
 
===I get an error stating MegaGlest needs an OpenGL version of at least 1.3 to work===
The most likely cause of this message is that you have selected a resolution and color combination that your video driver does not support. In this case, you should be able to get MegaGlest to start fine by either deleting your [[MG/INI|configuration file]] or by playing with different values in this line on a command prompt:
+
The most likely cause of this message is that you have selected a resolution and color combination that your video driver does not support. unstable or very outdated video drivers. In this case, you should be able to get MegaGlest to start fine by either deleting your [[MG/INI|configuration file]] or by playing with different values in this line on a command prompt:
 
  megaglest --resolution=1024x768 --colorbits=32 --depthbits=24 --fullscreen=false
 
  megaglest --resolution=1024x768 --colorbits=32 --depthbits=24 --fullscreen=false
 
If this doesn't seem to help, the second most likely cause of this message is an unstable or outdated video driver. Try updating it from the chip, card, or laptop vendor / manufacturers' website. You must reboot after switching drivers, even if it doesn't say so. If they do not provide drivers which work with MegaGlest then read the [[#Where can I get newer video drivers?|Where can I get newer video drivers?]] section below. 
 
If this doesn't seem to help, the second most likely cause of this message is an unstable or outdated video driver. Try updating it from the chip, card, or laptop vendor / manufacturers' website. You must reboot after switching drivers, even if it doesn't say so. If they do not provide drivers which work with MegaGlest then read the [[#Where can I get newer video drivers?|Where can I get newer video drivers?]] section below. 
Line 152: Line 138:
 
===My video performance is bad, what can I do?===
 
===My video performance is bad, what can I do?===
 
If you are a Linux user turn off 3D/openGL effects in your [https://en.wikipedia.org/wiki/Compositing_window_manager compositing window manager] (Compiz/Mutter/KWin), as It can drop frames per second (FPS) for 3D games from 500FPS to 70FPS.
 
If you are a Linux user turn off 3D/openGL effects in your [https://en.wikipedia.org/wiki/Compositing_window_manager compositing window manager] (Compiz/Mutter/KWin), as It can drop frames per second (FPS) for 3D games from 500FPS to 70FPS.
 
If you are a Windows user , open ''Performance Information and Tools'' by clicking the ''Start'' button, and then clicking ''Control Panel''. In the ''search box'', type ''Performance Information and Tools'', and then, in the list of results, click ''Performance Information and Tools''. Click ''Adjust visual effects'', then click the ''Visual Effects'' tab, click ''Adjust for best performance''.
 
  
 
Whichever platform your are on, try to disable synchronizing to the [https://en.wikipedia.org/wiki/Vertical_blanking_interval vertical blanking interval] (also known as ''sync to vblank''), if your video driver supports it (most do) and the side effects it introduces (tearing) are not noticeable or acceptable to you.
 
Whichever platform your are on, try to disable synchronizing to the [https://en.wikipedia.org/wiki/Vertical_blanking_interval vertical blanking interval] (also known as ''sync to vblank''), if your video driver supports it (most do) and the side effects it introduces (tearing) are not noticeable or acceptable to you.
  
Here is a screenshot thats shows how to setup MegaGlests graphics options to get better performance running the game:
+
You can also tweak your configuration by placing the following settings in ''glestuser.ini'' (see [[INI|the page describing the MegaGlest configuration files]] to learn where it is located on your system):
  
[[File:mg_performance_11.jpg|Main Menu -> Video]]
 
 
You can also tweak your configuration by placing the following settings in ''glestuser.ini''. Be sure to overwrite existing options with the same identifier, i.e. do not just add the following lines to ''glestuser.ini'' but make sure each of these options occurs once only. To learn where on your computer the ''glestuser.ini'' file is located, see [[MG/INI|the page describing the MegaGlest configuration files]]. Do '''not''' edit a file named ''glest.ini'' instead, this is a different file which works differently.
 
 
AnimatedTilesetObjects=0
 
 
  ColorBits=8
 
  ColorBits=8
 
  DepthBits=16
 
  DepthBits=16
  EnableVideos=0
+
  DisableVBO=true
  FactionPreview=0
+
  EnableTextureCompression=1
 
  FactorySound=None
 
  FactorySound=None
 
  Filter=Bilinear
 
  Filter=Bilinear
Line 173: Line 152:
 
  FogOfWarSmoothing=false
 
  FogOfWarSmoothing=false
 
  FogOfWarSmoothingFrameSkip=5
 
  FogOfWarSmoothingFrameSkip=5
GammaValue=1.000000
+
  MaxLights=1
  MaxLights=0
 
No2DMouseRendering=1
 
 
  RainEffect=0
 
  RainEffect=0
RainEffectMenu=0
 
 
  ScreenHeight=600
 
  ScreenHeight=600
 
  ScreenWidth=800
 
  ScreenWidth=800
 
  Shadows=Disabled
 
  Shadows=Disabled
 
  ShadowTextureSize=256
 
  ShadowTextureSize=256
ShadowIntensity=1.000000
 
 
  StencilBits=0
 
  StencilBits=0
 
  Textures3D=false
 
  Textures3D=false
  TilesetParticles=0
+
  TilesetParticles=false
TimeDisplay=0
 
 
  UnitParticles=false
 
  UnitParticles=false
 
  Windowed=0
 
  Windowed=0
  
The following settings in ''glestuser.ini'' are also worth a try, but may or may not work for you, depending on your hardware and driver:
+
If drawing selection boxes around units is slow for you, you may also want to try this setting which can make it slower or faster, depending on your video hardware and drivers:
EnableTextureCompression=1
+
EnableColorPicking=true
DisableVBO=true
 
 
 
If drawing selection boxes around units is slow or does not work reliably, give the '''Unit Selection Type''' setting in the options menu a try. Changing this setting can make it better or worse, depending on your video hardware and drivers.
 
  
 
===My mouse seems to move sluggish, too slow or too fast===
 
===My mouse seems to move sluggish, too slow or too fast===
Line 209: Line 180:
  
 
==Network gaming==
 
==Network gaming==
===I can not connect to the server and I see a note about an "Incompatible Version", why is this?===
+
===I can not connect to any server, why is this?===
When you see a red note: "Incompatible Version" as part of the description of some server(s) then it mean that your local game version is different than server's game version.
 
You should check and compare both version numbers.
 
 
 
Server's game version you can see on the left of the server's description in the game lobby.
 
 
 
Your local game version you can check in the main menu (under the game logo) or in the "About" screen.
 
 
 
Recommended game version to play in the multiplayer is always the latest stable release available from [http://megaglest.org/download megaglest.org/download].
 
 
 
===I can not connect to any [[MG/Dedicated_Server|server]], why is this?===
 
 
This is usually caused by badly configured (possibly so by default) personal firewalls or "Internet security suites".
 
This is usually caused by badly configured (possibly so by default) personal firewalls or "Internet security suites".
  
Line 345: Line 306:
 
Notes on security: This utility does not make any changes to your system. it really only gathers some information on your system. You are not supposed to run it as root/with sudo, running it as a normal/restricted user is fully sufficient.
 
Notes on security: This utility does not make any changes to your system. it really only gathers some information on your system. You are not supposed to run it as root/with sudo, running it as a normal/restricted user is fully sufficient.
 
====Linux System Report====
 
====Linux System Report====
Running the Linux variant is pretty straight forward, all you need to do is open a terminal window and paste those commands:
+
Running the Linux variant is pretty straight forward, all you need to do is open a terminal window and paste this:
 
 
  cd /tmp
 
 
 
  curl -L -# -o system_report https://raw.githubusercontent.com/MegaGlest/megaglest-source/develop/source/tools/support/linux/system_report
 
 
 
  chmod +x system_report && ./system_report
 
  
This should also work on Mac OS.
+
cd /tmp && wget 'http://megaglest.svn.sourceforge.net/svnroot/megaglest/trunk/source/tools/support/linux/system_report' && chmod +x system_report && ./system_report
  
 +
This may also work on OS X, but due to lack of such hardware, we can't really tell.
 
====Windows System Report====
 
====Windows System Report====
 
A Windows variant does currently exist, but may be added in the future.
 
A Windows variant does currently exist, but may be added in the future.
Line 421: Line 377:
 
*[[MegaGlest]]
 
*[[MegaGlest]]
 
*[[Troubleshooting]]
 
*[[Troubleshooting]]
*[[MG/INI|Ini-files and properties description]]
 
 
[[Category:MG]]
 
[[Category:MG]]
[[Category:HOW-TOs]]
 
[[Category:Multiplayer]]
 

Please note that all contributions to MegaGlest are considered to be released under the Creative Commons Attribution Share Alike (see MegaGlest:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: