Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000091Dwarf FortressTechnical -- Generalpublic2010-04-01 21:382010-06-10 21:07
evileeyore 
Footkerchief 
normalminoralways
resolvedunable to reproduce 
PCWindows XP
 
 
0000091: Windowed Mode Fails on different grid setting
Windowed Mode displays a blank screen on startup. Setting to [PROMPT] or [NO] solves this as I get a "Mode Switch Failed" and it claims it is running in Windowed Mode, however it is actually running in Fullscreen Mode and runs just fine.



I haven't tried running in smaller Windowed modes.
These are the altered init file settings:

[WINDOWED:YES]
(if set to [NO] or [PROMPT] I get "Mode Switch Failed" and get dumped into windowed mode)

[WINDOWEDX:1280]
[WINDOWEDY:1008]
[GRAPHICS_FONT:curses_square_16x16.bmp]

Full screen info.

[FULLSCREENX:1280]
[FULLSCREENY:1008]
[FULLFONT:curses_square_16x16.bmp]

[GRID:80:63]
[FULLGRID:80:63]
init.txt
related to 0000807resolved Toady One Fullscreen doesn't work with non-graphic tilesets, switch mode failed (0.31.02) 
Issue History
2010-04-01 21:38evileeyoreNew Issue
2010-04-02 06:37TodestoolTag Attached: init.txt
2010-04-07 11:39FootkerchiefNote Added: 0001810
2010-04-19 19:56FootkerchiefNote Added: 0004297
2010-04-19 21:40SoralinNote Added: 0004307
2010-04-19 21:40SoralinNote Edited: 0004307bug_revision_view_page.php?bugnote_id=0004307#r1447
2010-04-19 21:44SoralinNote Edited: 0004307bug_revision_view_page.php?bugnote_id=0004307#r1448
2010-04-21 12:21FootkerchiefIssue Monitored: Footkerchief
2010-04-29 13:10FootkerchiefCategoryGeneral => Technical
2010-05-18 12:08BaughnStatusnew => assigned
2010-05-18 12:08BaughnAssigned To => Baughn
2010-05-26 13:11BaughnNote Added: 0007350
2010-05-26 13:19FootkerchiefRelationship addedrelated to 0000807
2010-06-10 21:07FootkerchiefNote Added: 0008110
2010-06-10 21:07FootkerchiefStatusassigned => resolved
2010-06-10 21:07FootkerchiefResolutionopen => unable to reproduce
2010-06-10 21:07FootkerchiefAssigned ToBaughn => Footkerchief
2010-06-29 07:38FootkerchiefCategoryTechnical => Technical -- General

Notes
(0001810)
Footkerchief   
2010-04-07 11:39   
Are your graphics drivers up-to-date?
(0004297)
Footkerchief   
2010-04-19 19:56   
Are you still getting this in the new version, 31.03? http://www.bay12games.com/forum/index.php?topic=54115.0 [^]
(0004307)
Soralin   
2010-04-19 21:40   
(edited on: 2010-04-19 21:44)
Well for one thing, your GRAPHICS_FONT there, should just be FONT, if you're playing with [GRAPHICS:NO]. And if you're playing with [GRAPHICS:YES], then the relevant resolution parameters for windowed mode should be GRAPHICS_WINDOWEDX and GRAPHICS_WINDOWEDY

"Mode Switch Failed" comes from when it tries to set your monitor's resolution to something that it, or your video card, doesn't recognize or accept (1280x1008 here). And since it fails to change the resolution to what's set, it's probably just keeping the resolution as what you have it at already for the desktop, which I'm guessing is likely close to that. Since when you're doing it fullscreen, it's setting the resolution of the monitor to that setting.

(0007350)
Baughn   
2010-05-26 13:11   
Does this still happen in 31.04?
(0008110)
Footkerchief   
2010-06-10 21:07   
Got zero feedback on this one.