Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Windowed Mode Resize  (Read 574 times)

metallious

  • Escaped Lunatic
    • View Profile
Windowed Mode Resize
« on: February 21, 2011, 09:12:47 pm »

.19, when resizing, text etc stays the same size in the upper left corner. Help appreciated, appropriate text from init below:


[WINDOWED:YES]

This is the size and font for windowed mode.  Changing to the 800x600 font might make you happier.
If set below 256x256 it specifies the grid size instead, with a minimum of 80x25.

[WINDOWEDX:0]
[WINDOWEDY:0]
[FONT:curses_640x300.png]

You may disable window resizing if you wish.
[RESIZABLE:YES]

Full screen info.  The 0s below mean that the game will choose a resolution for you, but you can set it yourself as well.

[FULLSCREENX:0]
[FULLSCREENY:0]
[FULLFONT:curses_800x600.png]

If this is set to NO, tiles will be stretched to fit the screen if there is a resolution mismatch.
If this is set to YES, the tiles will not be stretched, but rather the game view will be centralized, surrounded by black space.  Tiles that are too large will always be compressed rather than running off the screen.

[BLACK_SPACE:YES]

Graphics info, most of it as above.  Set GRAPHICS to YES to turn it all on.  This will use the "raw/graphics" folder for tile information.  Currently this is limited to whatever creature graphics you have downloaded.  The game comes with a few pictures to demonstrate.  As of February 2011, the Dwarf Fortress Wiki has custom tilesets available at http://df.magmawiki.com/index.php/Tileset_repository and creature graphics at http://df.magmawiki.com/index.php/Graphics_set_repository.

[GRAPHICS:NO]
[GRAPHICS_WINDOWEDX:0]
[GRAPHICS_WINDOWEDY:0]
[GRAPHICS_FONT:curses_square_16x16.png]
[GRAPHICS_FULLSCREENX:0]
[GRAPHICS_FULLSCREENY:0]
[GRAPHICS_FULLFONT:curses_square_16x16.png]
[GRAPHICS_BLACK_SPACE:YES]

These settings can have a significant impact on frame rate, especially for people that have slow frame rates on the title screen.  Available modes are 2D, 2DSW, 2DASYNC, STANDARD, PARTIAL:<number>, ACCUM_BUFFER, FRAME_BUFFER and VBO. The number after PARTIAL refers to how many frames it will redo a printed tile before skipping it, so you might try increasing it a bit if you have flickering when PARTIAL is set.  Please note that any of these combinations might cause frame rates to drop significantly or cause unpleasant side effects like flickering.

By and large, 2D should be the most reliable, while STANDARD has a good combination of speed and reliability. However, all 2D modes are normally far slower than even STANDARD, which may be the slowest OpenGL mode.

2DASYNC may be slightly more responsive than 2D on a multi-core machine, but this has recently become doubtful due to improvements to the other modes.

Linux/OS X users may also use PRINT_MODE:TEXT for primitive ncurses output.

[PRINT_MODE:VBO]
   Mode examples:
    PRINT_MODE:2D
    PRINT_MODE:TEXT
    PRINT_MODE:FRAME_BUFFER
    PRINT_MODE:PARTIAL:0
[SINGLE_BUFFER:NO]
Logged

Thief^

  • Bay Watcher
  • Official crazy person
    • View Profile
Re: Windowed Mode Resize
« Reply #1 on: February 22, 2011, 01:06:22 pm »

.19, when resizing, text etc stays the same size in the upper left corner.

Yes it does. In-game the game will be spread over all the area. You can also zoom with the scroll wheel.
Logged
Dwarven blood types are not A, B, AB, O but Ale, Wine, Beer, Rum, Whisky and so forth.
It's not an embark so much as seven dwarves having a simultaneous strange mood and going off to build an artifact fortress that menaces with spikes of awesome and hanging rings of death.