Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Window Size  (Read 532 times)

fprime

  • Bay Watcher
    • View Profile
Window Size
« on: June 19, 2009, 08:55:30 pm »

Just got a new laptop and I want to play DF on it.  I prefer to play in windowed mode.  However, the window is larger than my screen.  How can I fix this?
Logged

AtomicPaperclip

  • Bay Watcher
  • Who names their kid dagger anyway?
    • View Profile
Re: Window Size
« Reply #1 on: June 19, 2009, 08:59:52 pm »

init.txt
Logged
Dear Toady: Keep up the good work man, we appreciate you and the game beyond words.

jaked122

  • Bay Watcher
  • [PREFSTRING:Lurker tendancies]
    • View Profile
Re: Window Size
« Reply #2 on: June 20, 2009, 11:28:44 am »

is it D12?

fprime

  • Bay Watcher
    • View Profile
Re: Window Size
« Reply #3 on: June 20, 2009, 11:41:33 am »

I'm not sure what version number it is, but it's the most recent May Day tileset.  Also, I tried fiddling with the screen size in init.txt, but nothing happened.
Logged

Lehmusjoki

  • Guest
Re: Window Size
« Reply #4 on: June 20, 2009, 11:56:17 am »

Sorry for the horrible doublepost... Posting on forums with internet slower than... A slow thing is very frustating.
« Last Edit: June 20, 2009, 12:15:06 pm by Lehmusjoki »
Logged

Lehmusjoki

  • Guest
Re: Window Size
« Reply #5 on: June 20, 2009, 12:05:30 pm »

Just in case: Have you tried adjusting the resolution of your brand new, shiny, hopefully fully functioning and satisfying laptop?
Logged

G-Flex

  • Bay Watcher
    • View Profile
Re: Window Size
« Reply #6 on: June 20, 2009, 12:08:54 pm »

What's the native resolution of the screen?

If it's 1024x768 (or less), then the Mayday tileset simply will not work. 16x16 tilesets end up giving you a screen/window too large for that resolution.
Logged
There are 2 types of people in the world: Those who understand hexadecimal, and those who don't.
Visit the #Bay12Games IRC channel on NewNet
== Human Renovation: My Deus Ex mod/fan patch (v1.30, updated 5/31/2012) ==

fprime

  • Bay Watcher
    • View Profile
Re: Window Size
« Reply #7 on: June 21, 2009, 10:36:23 pm »

My resolution on my laptop is 1280x800.
Logged

torne

  • Bay Watcher
  • arf arf
    • View Profile
Re: Window Size
« Reply #8 on: June 22, 2009, 05:45:04 am »

Mayday's tileset defaults to 1280x800 in windowed mode. This is the size of your whole screen, so it'll be too big. You can't make it any narrower as the game can't cope with a width of less than 80 tiles, but you can make the window shorter. Set GRAPHICS_WINDOWEDY in init.txt to a smaller number (a multiple of 16) and change GRID to the appropriate value (80 wide, and the size you picked divided by 16 high). You'll have to carefully drag the window to the exact center of the screen if you want to see every pixel, such that the window borders are off the edge but the game's 1280-wide main display fits exactly across your screen :)
Logged