Author Topic: Manually editing MegaGlest configuration on OS X  (Read 2229 times)

jaft

  • Guest
Manually editing MegaGlest configuration on OS X
« on: 27 May 2012, 03:43:03 »
I downloaded MegaGlest. Very excited! It started well, but it was a little window in my 22" iMac, so I upped the size in the Options screen.

Not quite big enough, so I upped it again. I re-started, and now the game screen is bigger than the viewable screen. So I can't play! And I can't resize, because the 'Okay' button is below the viewable area.

I tried to set my display to different resolutions, but in none of them let me view 'okay.' The little green button that, on Macs, usually resizes the window is grayed-out.

I deleted the file and re-downloaded, and it's -still- too big for me to view!

Did I miss a preference somewhere? How can I fix this?

Thanks!
« Last Edit: 20 June 2012, 12:36:28 by tomreyn »

Psychedelic_hands

  • Guest
Re: Not Really a Bug; Just an Idiot
« Reply #1 on: 27 May 2012, 07:28:09 »
In your Megaglest directory, file a file called glest.ini . In this file contains lots of options, you need to find:
Quote
ScreenHeight=600
ScreenWidth=800

Your values would be diffferent, but find out your screens resolution if you don't know it already and change these values in the ini file accordingly. Hope this helps.

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Not Really a Bug; Just an Idiot
« Reply #2 on: 27 May 2012, 10:24:08 »
Also try to hit Alt-Enter to switch to full screen. Or set Windowed=0 in glestuser.ini (the same file Psychedelic_hands discussed above). This file should be located at /Users/username/.megaglest/glestuser.ini (replace username by your OS X username).

Please be aware that the leading dot in .megaglest marks this as a hidden directory, so it may not show up on Finder (but if that's the case then I bet Finder has an option to show hidden files and directories).

Edit: Clarify that I'm not entirely sure about the file location
« Last Edit: 27 May 2012, 19:05:31 by tomreyn »
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 · · ·

jaft

  • Guest
Re: Not Really a Bug; Just an Idiot
« Reply #3 on: 27 May 2012, 16:36:01 »
Thanks so much for the replies! I only have one more question.

I download the file, and all I get is the application icon thingie, Megaglest. How do I _find_ my 'megaglest directory?'

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Not Really a Bug; Just an Idiot
« Reply #4 on: 27 May 2012, 18:51:22 »
Thanks so much for the replies! I only have one more question.

I download the file, and all I get is the application icon thingie, Megaglest. How do I _find_ my 'megaglest directory?'
I don't use Macs, and have no idea how they work, but the wiki article says it should be /Users/[User name]/.megaglest.
« Last Edit: 18 June 2016, 18:40:33 by filux »
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Not Really a Bug; Just an Idiot
« Reply #5 on: 27 May 2012, 19:15:19 »
Jaft: The problem is we don't have an OS X system available to test, and there is no one testing MegaGlest on OS X in general (help by someone who knows what a terminal is would be appreciated).

To (not) answer your question: Please search the web on how to "display hidden folders" in "OS X Finder". You should find several explanations. Once that's done, you can start a text editor and browse to the file. If the location I provided is correct then you need to click on your home folder (this is the one which displays with a small house icon next to it in finder), locate a folder ".megaglest" in it and in there you should find the file glestuser.ini.
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 · · ·

jaft

  • Guest
Re: Not Really a Bug; Just an Idiot
« Reply #6 on: 28 May 2012, 00:53:36 »
Ah, gotcha! Many thanks, all!

jaft

  • Guest
Re: Not Really a Bug; Just an Idiot
« Reply #7 on: 18 June 2012, 19:34:04 »
I realize that the chance that anyone else will ever do again this is slim. However, just in case someone does, and finds this thread, this is how I fixed it: download Tinkertool for Mac. That'll show you your hidden preferences. Toss the folder. Download again. Ta da!

 

anything