Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: (0.31.01) Half my screen seems to be cut off.  (Read 2876 times)

TheOatmeal

  • Escaped Lunatic
    • View Profile
(0.31.01) Half my screen seems to be cut off.
« on: April 04, 2010, 05:56:42 pm »

I tried a couple changes to the init file to improve my FPS in the new version, and it seems that my game is now only showing the top half of the game window, with the bottom half being black space. Does anyone know what particular options might do this so I can start over from scratch without making the same mistake? Or perhaps I could be linked to a pre-made version with a couple optimizations?

From my init-

Quote
[WINDOWED:PROMPT]

This is the size and font for windowed mode.  Changing to 800x600 and the 800x600 font might make you happier.

[WINDOWEDX:640]
[WINDOWEDY:300]
[FONT:curses_640x300.bmp]

Full screen info.

[FULLSCREENX:800]
[FULLSCREENY:600]
[FULLFONT:curses_800x600.bmp]

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:NO]

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 April 2010, the Dwarf Fortress Wiki has graphical tilesets available at http://df.magmawiki.com/index.php/Tileset_repository.

[GRAPHICS:YES]
[GRAPHICS_WINDOWEDX:1280]
[GRAPHICS_WINDOWEDY:800]
[GRAPHICS_FONT:mayday.bmp]
[GRAPHICS_FULLSCREENX:1280]
[GRAPHICS_FULLSCREENY:1024]
[GRAPHICS_FULLFONT:mayday.bmp]
[GRAPHICS_BLACK_SPACE:YES]

This is the dimensions in tiles of the display grid.  Minimum x is 80.  Minimum y is 25.  Maximums are 200.  Make sure the window size or full screen resolution matches the grid/tile size if you don't want the display to be squashed or stretched.  The default windowed font has tiles that are 8x12 pixels, for instance, so for a 80x25 grid, you use a 640x300 window, and for a 125x50 grid, you'd use a 1000x600 window.  FULLGRID is used in full screen mode, whether graphics is on or not.

[GRID:80:50]
[FULLGRID:105:65]

Change this to YES to only refresh portions of the screen that need to be refreshed.  This can have a significant impact on frame rate, especially for people that have slow frame rates on the title screen.  The number refers to how many frames it will redo a printed tile before skipping it, so you might try increasing it a bit.  PARTIAL_PRINT only works on certain systems, so you might have to disable it again if you notice your display isn't working properly.  Fixes are being investigated.

[PARTIAL_PRINT:YES:2]

Change this to NO if you want to leave save uncompressed (you might want to do this if you are experience save corruption).

[COMPRESSED_SAVES:NO]

Change this to YES to keep the DF window on top of your other windows.

[TOPMOST:NO]

Change this to YES if you want to see an FPS counter at the top left.

[FPS:YES]

Use this to set the maximum frame rate during play.  The movies are always capped at 100.  A frame in this case is not graphical but related to the movement speed of a creature.  A healthy, unencumbered dwarven peasant takes one step every 10 frames.

[FPS_CAP:150]

Use this to set the maximum graphical frame refresh rate during play.

[G_FPS_CAP:15]

This sets the applications vertical synchronization behavior.  Changing this to ON can impact your FPS if your G_FPS is high.  The other options are ON and DEFAULT.  DEFAULT uses whatever settings you have your system at in general.

[VSYNC:OFF]

Change this to LINEAR if you want the texture values to be averaged over the adjacent pixels.

[TEXTURE_PARAM:NEAREST]

Note: I usually run in windowed mode, by the way. I tried fullscreen, didn't want to work with the settings at all.


Many thanks.
Logged

DarkerDark

  • Bay Watcher
    • View Profile
Re: (0.31.01) Half my screen seems to be cut off.
« Reply #1 on: April 05, 2010, 06:07:04 am »

It's a bug with graphic sets. Start playing in Fortress Mode, then alt-tab out of the game. It should fix itself when you alt-tab back in.
Logged