Author Topic: [No bug] "Load Game" and "Game Mods" buttons overlap on Main Menu  (Read 3426 times)

megabrock

  • Worker
  • Posts: 2
    • View Profile
First let me start by saying thanks to everyone who develops and plays Megaglest. It's a great game and the community is wonderful!

...and Happy New Year!

Now on to the problem....

On the main menu the "load game" and "game mods" buttons overlap. When I click on the buttons the game loads the "load game" screen. Ideally I would like to fix the overlapping buttons problem and access to the "game mods" screen. Alternatively, some directions on how to install the mods without the "game mods" menus. I will attempt to attach a screen shot of the problem.



Running Lenovo 300N200 with Pentium dual T2330, 4gb ram, a hard drive, xorg 1.11.3, intel 965gm crap graphics, mesa 8.0.4, linux mint maya 13, kernel: linux 3.2.0-23(x86_64), xfce 4, megaglest 3.11.1 upraded from the defaut mint maya version.

Initially upon installing maya and the default megaglest it worked fine and there were two buttons quite separate and I could click on each one and go to their respective places. I really can't say what happened to make the buttons overlap. I don't remember if I installed an update or something, but I likely did. Of course, I couldn't tell you what. I know I have been updating my maya system regularly. I know I have updated megaglest twice. I know that the second and third upgrade I experienced this problem. I don't remember if I did the first time I upgraded it. Currently, and using synaptic, I have uninstalled Megaglest and reinstalled from precise libraries. Of course the buttons still overlap.

I have tried megaglest 3.11.1 from the links on this site and from ppa.launchpad.net/s44/stable/ubuntu precise. Currently using the precise by way of synaptic.

....man, how do you attach a pic in this thing? :-[
OK I put the pic at http://www.whitehouseprop.com/uploads/3/1/8/9/3189498/7678918_orig.png

Edit (tomreyn): Embedded newly posted image to post
« Last Edit: 3 January 2016, 02:06:28 by tomreyn »

kagu

  • Administrator
  • Horseman
  • ********
  • Posts: 203
    • View Profile
Re: "Load Game" and "Game Mods" buttons overlap on Main Menu
« Reply #1 on: 1 January 2016, 21:42:22 »
just post a link
Megaglest Chat
Please support:
1. CEGUI 2. In-process games 3. Registered Players
Playtime:
Every Sunday 21:00 - 01:00 CET

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: "Load Game" and "Game Mods" buttons overlap on Main Menu
« Reply #2 on: 2 January 2016, 01:31:00 »
....man, how do you attach a pic in this thing? :-[
Use an image host like Imgur.
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: "Load Game" and "Game Mods" buttons overlap on Main Menu
« Reply #3 on: 2 January 2016, 23:00:26 »
He did - now this is strange indeed. Did you maybe edit glestuser.ini manually, or copy it from a different installation?

Another explanation might be that you accidentally hit the hotkey which dumps all configuration into glestuser.ini (I forgot which on that is actually) while running an older version of the game, and that we have since changed the positioning of these menu buttons.

Either way, you should be able to fix it by either removing, in ~/.megaglest/glestuser.ini, all the lines where the word left of the equals character contains "menu". Alternatively, you can just delete ~/.megaglest/glestuser.ini, but this way you will also loose any configurations you may have made (usually those are easily reconfigured, though).
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 · · ·

megabrock

  • Worker
  • Posts: 2
    • View Profile
Re: "Load Game" and "Game Mods" buttons overlap on Main Menu SOLVED!
« Reply #4 on: 3 January 2016, 01:55:03 »
SOLVED!

Thanks, that fixed it!

I edited my glestuser.ini file accordingly:

MainMenu_buttonAbout_h=22
MainMenu_buttonAbout_w=150
MainMenu_buttonAbout_x=425
MainMenu_buttonAbout_y=265
MainMenu_buttonExit_h=22
MainMenu_buttonExit_w=150
MainMenu_buttonExit_x=425
MainMenu_buttonExit_y=225
MainMenu_buttonMods_h=22
MainMenu_buttonMods_w=150
#megabrock changed this buttonMods_x thingy from 426 to 625 to move the box a little to the right.
MainMenu_buttonMods_x=625
MainMenu_buttonMods_y=345
MainMenu_buttonNewGame_h=22
MainMenu_buttonNewGame_w=150
MainMenu_buttonNewGame_x=425
MainMenu_buttonNewGame_y=385
MainMenu_buttonOptions_h=22
MainMenu_buttonOptions_w=150
MainMenu_buttonOptions_x=425
MainMenu_buttonOptions_y=305
MainMenu_errorMessageBox_h=240
MainMenu_errorMessageBox_w=350
MainMenu_errorMessageBox_x=325
MainMenu_errorMessageBox_y=255
MainMenu_labelVersion_h=20
MainMenu_labelVersion_w=70
MainMenu_labelVersion_x=525
MainMenu_labelVersion_y=440
MainMenu_mainMessageBox_h=240
MainMenu_mainMessageBox_w=350
MainMenu_mainMessageBox_x=325
MainMenu_mainMessageBox_y=255

So, THANKS! It works!

Errata:

...Oh and no need for anyone to mention that it's ugly and I should be changing the y not the x. I don't know where to put the button anyway and I'm just happy that it works.

I don't really know what caused this. i assume it was because of all the upgrading and downgrading I was doing somehow caused the file to become mixed up or the wrong version. Or perhaps I found that secret hot key the gentlemen suggested. Certainly I never opened this file before.

Technically, this is not a bug, because the program is working correctly. This is a configuration error.
« Last Edit: 3 January 2016, 02:06:39 by megabrock »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: "Load Game" and "Game Mods" buttons overlap on Main Menu
« Reply #5 on: 3 January 2016, 02:04:18 »
Glad it works for you now!

Just in case this was not clear from my previous post: removing all of these MainMenu_... entries off the file would give you the default buttons - the same buttons you have now (just with different positioning - all in one 'column'), plus you would not miss out in case the main menu will change in the future.
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 · · ·