Author Topic: Windowed mode + change resolution  (Read 3467 times)

bloodandsoil

  • Guest
Windowed mode + change resolution
« on: 14 May 2010, 07:12:01 »
Hello,

How do I set glest to windowed mode and also change the resolution (to 1280x800)?  Thank you.

@kukac@

  • Guest
Re: Windowed mode + change resolution
« Reply #1 on: 14 May 2010, 07:16:31 »
I'm not sure, it is possible, always thought, that windowed mode always use the resolution of the desktop.

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: Windowed mode + change resolution
« Reply #2 on: 14 May 2010, 07:26:28 »
Hi, welcome  :)
Are you using original glest? not megaglest or GAE? right?
in megaglest it is easy, you can just change it in your options...in the menu  ::)
Code: [Select]
[URL=http://img62.imageshack.us/i/ss22c.jpg/][IMG]http://img62.imageshack.us/img62/8285/ss22c.jpg[/img][/URL]If not, and you are talking about original glest, then...
You edit the glest.ini located in your glest folder...
change windowed... to 1...from 0.
Code: [Select]
[URL=http://img63.imageshack.us/i/ss24t.jpg/][IMG]http://img63.imageshack.us/img63/1706/ss24t.jpg[/img][/URL]and for your resolution, just change it...
Code: [Select]
[URL=http://img686.imageshack.us/i/ss25.jpg/][IMG]http://img686.imageshack.us/img686/5605/ss25.jpg[/img][/URL]or you just use the configuator...that is included  ::) but sometimes it does not work...at least it seems to be like that  ::)
Code: [Select]
[URL=http://img691.imageshack.us/i/ss26v.jpg/][IMG]http://img691.imageshack.us/img691/7690/ss26v.jpg[/img][/URL]And if GAE...then...well  ::) later

At least you can do this for windows, I do not know about linux...maybe different.

Hopes this helps. Good Luck, have fun.  :)  :thumbup:

I'm not sure, it is possible, always thought, that windowed mode always use the resolution of the desktop.
Yeah, I am pretty sure it is...  ::) Unless I am completely misunderstood...him or her.  ::)

bloodandsoil

  • Guest
Re: Windowed mode + change resolution
« Reply #3 on: 14 May 2010, 07:43:57 »
I change to windowed mode by pressing ALT + ENTER.

I drag the top of the game window as far up and as far to the left as it can go.

But the bottom portion and the right portion of the game window still goes past the boundary of the desktop screen.

Code: [Select]
[img]http://green.land.hailmail.net/public/screen.png[/img]
« Last Edit: 8 October 2016, 13:19:27 by filux »

bloodandsoil

  • Guest
Re: Windowed mode + change resolution
« Reply #4 on: 14 May 2010, 07:47:29 »
Are you using original glest?

glest-3.2.2-2.fc12.x86_64
glest-data-3.2.1-3.fc12.noarch

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: Windowed mode + change resolution
« Reply #5 on: 14 May 2010, 07:51:36 »
yeah, that's original. I mean, glest.  ::)
Hmm...usually it is like this for me, it "cuts off" part of the window...which is why I did not like playing glest in windowed mode...until I could find out that I could make glest full screen...  ::)
But even in windows, it is like that...  ::)

hmm...what OS? I know it is not windows, but...  ::)

Sorry I am like...no help.  :(

Good Luck.  :)  :thumbup:


jda

  • Guest
Re: Windowed mode + change resolution
« Reply #6 on: 14 May 2010, 12:07:36 »
If not, and you are talking about original glest, then...
You edit the glest.ini located in your glest folder...
change windowed... to 1...from 0.
Code: [Select]
[URL=http://img63.imageshack.us/i/ss24t.jpg/][IMG]http://img63.imageshack.us/img63/1706/ss24t.jpg[/img][/URL]and for your resolution, just change it...
Code: [Select]
[URL=http://img686.imageshack.us/i/ss25.jpg/][IMG]http://img686.imageshack.us/img686/5605/ss25.jpg[/img][/URL]or you just use the configuator...that is included  ::) but sometimes it does not work...at least it seems to be like that  ::)
Code: [Select]
[URL=http://img691.imageshack.us/i/ss26v.jpg/][IMG]http://img691.imageshack.us/img691/7690/ss26v.jpg[/img][/URL]And if GAE...then...well  ::) later
For GAE, just use the exact same instructions ultifd posted for original Glest but use "true" and "false" instead of "1" and "0". ;)

Quote
At least you can do this for windows, I do not know about linux...maybe different.
It's exactly the same on Linux. ;)

Quote
I'm not sure, it is possible, always thought, that windowed mode always use the resolution of the desktop.
Yeah, I am pretty sure it is...  ::) Unless I am completely misunderstood...him or her.  ::)
Perfectly possible as ultifd mentioned, also on Linux. ;)

I change to windowed mode by pressing ALT + ENTER.

I drag the top of the game window as far up and as far to the left as it can go.

But the bottom portion and the right portion of the game window still goes past the boundary of the desktop screen.
Well... if you have say a 1280 x 800 desktop resollution and you set Glest(derivative) to run at 1280x800 too... naturally you'll have the Glest window "overlaped" by your panel... Actually your desktop environment (looks like you're running GNOME?) will be clever enough to draw the window just til above the panel... Glest however will assume it has the whole screen to itself. :P
You can workaround this by lowering the Height resolution you give to Glest (but you must lower the Width value proportionally or it will look bad), say Height=700 and Width=1120 or just hide you GNOME panel (right-click it for the options ;) ). The later might not work so well though as the Glest window windowborders do take up a little bit of size to draw onscreen...
On moving around ingame... I get exactly the same on Ubuntu (all three engines: Glest, MG and GAE) and ultifd gets the same on Windows so I guess you're stuck with it til someone fixes it. You can use the arrow keys on your keyboard to navigate everywhere on all three engines though. ;)

hmm...what OS? I know it is not windows, but...  ::)
Fedora is a Linux distribution. ;)
« Last Edit: 8 October 2016, 13:20:03 by filux »

bloodandsoil

  • Guest
Re: Windowed mode + change resolution
« Reply #7 on: 14 May 2010, 16:16:44 »
Well... if you have say a 1280 x 800 desktop resollution and you set Glest(derivative) to run at 1280x800 too... naturally you'll have the Glest window "overlaped" by your panel...

My desktop resolution is 1680x1050.  1280x800 is a lower resolution that maintains the same 16:10 aspect ratio.

For GAE, just use the exact same instructions ultifd posted for original Glest but use "true" and "false" instead of "1" and "0".

What is GAE?

jda

  • Guest
Re: Windowed mode + change resolution
« Reply #8 on: 14 May 2010, 17:13:00 »
Well... if you have say a 1280 x 800 desktop resollution and you set Glest(derivative) to run at 1280x800 too... naturally you'll have the Glest window "overlaped" by your panel...

My desktop resolution is 1680x1050.  1280x800 is a lower resolution that maintains the same 16:10 aspect ratio.
Well, in that case, the only part of my prior reply that aplies I think would be:
On moving around ingame... I get exactly the same on Ubuntu (all three engines: Glest, MG and GAE) and ultifd gets the same on Windows so I guess you're stuck with it til someone fixes it. You can use the arrow keys on your keyboard to navigate everywhere on all three engines though. ;)
No?...  :|

Quote
For GAE, just use the exact same instructions ultifd posted for original Glest but use "true" and "false" instead of "1" and "0".

What is GAE?
GAE stands for Glest Advanced Engine. It is a fork off the original Glest engine (just like MegaGlest, aka MG). It's been around for over two years now (it started when Glest 3.2.2, the last official Glest release, had not yet been released).
So... when it started, it was openly experimental (discussion was on to merge it into the official engine later but the original Glest team decided to stop working on the original engine in the meantime, so that never did happen).
Much more recently, in January I think, Titi released a slightly modified Glest engine which he shortly after named MegaGlest (in accordance to his Megapack then Version 4 (new factions, maps and tilesets)).
MG has been, rather suprisingly to me, been considered Glest's 'natural' continuation. I think the openly experimental nature of GAE contributed to that (the GAE developpers never seemed to have really realised GAE might be the actual successor of Glest, it never was meant to "replace" Glest in the begining). I think the GAE team kinda woke up now and with all the stable work, the 'under the hood' work and the basic framework for more experimental features it has laid out already, it will actually prevail over MegaGlest in the future; but this is just my opinion. ;)
There is a subforum for GAE on this forum:
Glest Advanced Engine subforum

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: Windowed mode + change resolution
« Reply #9 on: 14 May 2010, 22:51:48 »
hmm...what OS? I know it is not windows, but...  ::)
Fedora is a Linux distribution. ;)
[/quote]
Yeah I know, but I did not know that it was Fedora...  ::)

jda

  • Guest
Re: Windowed mode + change resolution
« Reply #10 on: 14 May 2010, 22:59:16 »
Sorry... I knew I'd seen the reference to it. I forgot it was kinda "coded"
Are you using original glest?

glest-3.2.2-2.fc12.x86_64
glest-data-3.2.1-3.fc12.noarch
fc12 = Fedora Core 12. ;D

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: Windowed mode + change resolution
« Reply #11 on: 14 May 2010, 23:01:39 »
Sorry... I knew I'd seen the reference to it. I forgot it was kinda "coded"
Are you using original glest?

glest-3.2.2-2.fc12.x86_64
glest-data-3.2.1-3.fc12.noarch
fc12 = Fedora Core 12. ;D
OK, sorry, I did not see that...
  :|