Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Setting the resolution  (Read 672 times)

Talikmon

  • Bay Watcher
  • Surprise!
    • View Profile
Setting the resolution
« on: January 28, 2011, 01:42:11 pm »

I am using May Greens tileset (as I always have).  It has been quite a while since I last played and I am having great difficulty editing the init file to get a resolution that works.  I have an old 17" CRT monitor if that helps. 

[GRAPHICS:YES]
[GRAPHICS_WINDOWEDX:0]
[GRAPHICS_WINDOWEDY:0]
[GRAPHICS_FONT:mayday.png]
[GRAPHICS_FULLSCREENX:???]
[GRAPHICS_FULLSCREENY:???]

[GRAPHICS_FULLFONT:mayday.png]
[GRAPHICS_BLACK_SPACE:YES]

I have tried a whole bunch of combination's without success - could anyone give some help here?
Logged

shlorf

  • Bay Watcher
    • View Profile
Re: Setting the resolution
« Reply #1 on: January 28, 2011, 02:56:21 pm »

I've been using an old crt until recently, too. What to input in the resolutions depends on what's the most your monitor can handle. You probably won't get nice results with a 16x16 tileset tho, as df needs to display at least 80x25 tiles (that would mean a minimum of 1280 horizontal resolution). I tried this on my old monitor but the game would still shrink the tiles.
Anyway try 1280=x 960=y or if your monitor can do it one step up from that (look at windows display settings for changing desktop resolution to find out what your monitor can do). If your monitor can't do these resolutions try 1024x768 (will make the tiles look rather ugly).
You might want to use a smaller tileset still.
Logged

Larry421

  • Bay Watcher
    • View Profile
Re: Setting the resolution
« Reply #2 on: January 28, 2011, 08:36:46 pm »

Have you tried 0 and 0, then using the mousewheel to zoom?

Remember that the title screen doesn't respect resolution changes, be sure to load up a fort to test it properly.
Logged

rephikul

  • Bay Watcher
  • [CURIOUSBEAST_IDEA]
    • View Profile
Re: Setting the resolution
« Reply #3 on: January 29, 2011, 12:58:17 am »

mayday's tiles are 16x16 so depending on your screen resolution just give the highest you can fit. In example a very old 17" CRT might have only 1024*768 resolution. This translate to X = 1024/16 = 64 and Y = 768/16 = 48 However DF wont play at resolution smaller then 80*25 so you have to make do with 80*48 and pad the far right of your screen with the minimap.
Logged
Intensifying Mod v0.23 for 0.31.25. Paper tigers are white.
Prepacked Dwarf Fortress with Intensifying mod v.0.23, Phoebus graphics set, DFhack, Dwarf Therapist, Runesmith and a specialized custom worldgen param.

Talikmon

  • Bay Watcher
  • Surprise!
    • View Profile
Re: Setting the resolution
« Reply #4 on: January 29, 2011, 06:06:11 am »

Thanks for all the advice folks, I finally got it running.
Logged

Major SNAFU

  • Bay Watcher
    • View Profile
Re: Setting the resolution
« Reply #5 on: January 29, 2011, 06:19:45 pm »

In a matter that I think is related to this, I can only use the mouse in the upper portion of the DF window.  For instance, to designate areas to mine.

I just switched from a CRT to a LED monitor and this behavior has cropped up.  It is like the bottom portion of the fortress screen (in windowed mode) doesn't allow input from the mouse.  I can use the X-cursor and the arrow key and still designate stuff.

It also seems like if I zoom in, the portion that doens't respond to mouse inputs is proportionally smaller...

Logged