View Issue Details

IDProjectCategoryView StatusLast Update
0009098Dwarf FortressTechnical -- Generalpublic2015-10-17 19:03
ReporterZapperier Assigned Tolethosor  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionduplicate 
PlatformMac mini Server (Mid 2010)OSOS XOS Version10.11
Product Version0.40.24 
Summary0009098: Game crash (window disappears) during launch following upgrade to Mac OS X El Capitan (10.11) in PRINT_MODE:2D
DescriptionRunning the df startup script results in an unresponsive dwarfort.exe application with no windows. A small white window of appropriate size quickly appears and then disappears upon running the startup script in Terminal. Terminal output follows:

$ sh /Users/tanner/Desktop/df_osx/df
$ Loading bindings from data/init/interface.txt
2015-10-17 20:08:36.342 dwarfort.exe[984:240935] Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz.
New window size: 640x300
Font size: 8x12
Resizing grid to 80x25
Resizing font to 8x12

Resetting textures


Output ends.

Script must be stopped with CTRL-C and application Force Quit.

Note: PRINT_MODE:2D is set in init.txt. Switching to PRINT_MODE:TEXT creates a working window inside of the Terminal console.
Steps To Reproduce(Upgrade to Mac OS X El Capitan.)

Download fresh 0.40.24 DF for Mac.

Run file "df" in Terminal.
Additional InformationDwarf Fortress 0.40.24 worked perfectly on OS X Yosemite (10.10) but has consistently failed to open upon upgrade to OS X El Capitan (10.11).

Attempted fixes:
 - upgrading XQuartz (X11) from 2.7.7 to 2.7.8
 - upgrading GTK to most recent version
 - upgrading SDL and SDL_image to 2.0.3 and 2.0.0 respectively

No change in behavior or console output following each upgrade.

Confirmed with 0.40.23 as well.

Note: PRINT_MODE:2D is set in init.txt. Switching to PRINT_MODE:TEXT creates a working window inside of the Terminal console (though some text displays strangely).
TagsNo tags attached.

Relationships

duplicate of 0002624 confirmedlethosor Bundled SDL version uses NSQuickDrawView on OS X; deprecated/unavailable in newer versions of OS X 

Activities

Zapperier

2015-10-17 18:00

reporter   ~0033117

Last edited: 2015-10-17 18:04

0002624 appears to be the cause.

lethosor

2015-10-17 19:03

manager   ~0033118

Last edited: 2015-10-17 19:04

Yeah, the description of 0002624 was outdated (I just changed that). I'm going to merge these since the issue and fix are the same.

Updating to SDL 2 won't work, since DF relies on SDL 1.x, but SDL 1.2.15 should work. I don't think SDL_image needs to be updated (yet); SDL_ttf does to fix 0007389 (or you can install X11/Xquartz), but be sure to get a version compatible with SDL 1.2 (i.e. SDL_ttf 2.0.x, not SDL2_ttf 2.0.x).

Terminal -> Preferences -> Settings -> Basic (or whatever theme you use) -> Text -> "Use bright colors for bold text" should fix the issue you were having with PRINT_MODE:TEXT

Issue History

Date Modified Username Field Change
2015-10-17 17:56 Zapperier New Issue
2015-10-17 18:00 Zapperier Note Added: 0033117
2015-10-17 18:01 Zapperier Note Edited: 0033117
2015-10-17 18:04 Zapperier Note Edited: 0033117
2015-10-17 19:03 lethosor Note Added: 0033118
2015-10-17 19:03 lethosor Relationship added duplicate of 0002624
2015-10-17 19:03 lethosor Status new => resolved
2015-10-17 19:03 lethosor Resolution open => duplicate
2015-10-17 19:03 lethosor Assigned To => lethosor
2015-10-17 19:04 lethosor Note Edited: 0033118