Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000006Dwarf FortressGeneralpublic2010-04-01 12:012010-06-09 06:45
Toady One 
PCWindows XPSP3
0000006: GRAPHICS:ON causes runtime error
Regardless of other changes, setting GRAPHICS to ON in the init.txt causes a runtime error which shuts down dwarf fortress. This happens whether or not a third party graphics pack has been replaced in the graphics raw.
Change GRAPHICS to ON in the init.txt
parent of 0000042closed Toady One Graphics = YES causes crash when entering then leaving then entering arena mode 
has duplicate 0000082closed Footkerchief crash before world gen 
has duplicate 0000052closed Footkerchief Graphics 
has duplicate 0000686closed Toady One Game Creashes when i select any option from the menu 
related to 0000400resolved Logical2u "Export image/info" causes the game to quit 
Issue History
2010-04-01 12:01archtemplariNew Issue
2010-04-01 17:57RochndilNote Added: 0000047
2010-04-01 22:41evileeyoreNote Added: 0000109
2010-04-01 22:56ArniNote Added: 0000114
2010-04-01 23:07DoctorZuberNote Added: 0000117
2010-04-01 23:09DoctorZuberNote Edited: 0000117bug_revision_view_page.php?bugnote_id=0000117#r29
2010-04-02 05:42TodestoolTag Attached: init.txt
2010-04-02 05:55bicker x 2Note Added: 0000157
2010-04-02 10:19NimrodNote Added: 0000221
2010-04-03 09:07FootkerchiefRelationship addedhas duplicate 0000082
2010-04-03 20:08Someone_r_c_tmNote Added: 0000759
2010-04-03 20:37Someone_r_c_tmIssue Monitored: Someone_r_c_tm
2010-04-05 12:05FootkerchiefRelationship addedrelated to 0000400
2010-04-05 12:06FootkerchiefRelationship addedparent of 0000042
2010-04-06 09:19FootkerchiefRelationship addedhas duplicate 0000052
2010-04-06 12:52FootkerchiefSticky IssueNo => Yes
2010-04-06 13:38ShadowlordNote Added: 0001572
2010-04-06 14:00ShadowlordIssue Monitored: Shadowlord
2010-04-07 04:59xrogaanIssue Monitored: xrogaan
2010-04-07 07:02Toady OneNote Added: 0001736
2010-04-07 07:06Toady OneStatusnew => resolved
2010-04-07 07:06Toady OneFixed in Version => 0.31.02
2010-04-07 07:06Toady OneResolutionopen => fixed
2010-04-07 07:06Toady OneAssigned To => Toady One
2010-04-07 07:10Toady OneRelationship addedhas duplicate 0000686
2010-04-07 07:10Toady OneIssue Monitored: Footkerchief
2010-04-11 23:55ShadowlordIssue End Monitor: Shadowlord
2010-06-02 13:07FootkerchiefSticky IssueYes => No
2010-06-09 06:45Toady OneStatusresolved => closed

2010-04-01 17:57   
Interestingly, I do NOT get any errors with graphics on, it just doesn't work.
2010-04-01 22:41   
I get the same error.
2010-04-01 22:56   
Works perfectly for me when using 16x16 fonts.
2010-04-01 23:07   
(edited on: 2010-04-01 23:09)
for the sake of testing I tried turning graphics on first using a 16x16 custom font of my own, then using curses_square_16x16, then using curses_640x300. I couldn't get it to crash.

bicker x 2   
2010-04-02 05:55   
Same error here
2010-04-02 10:19   
Maybe this is related?
http://www.bay12games.com/dwarves/mantisbt/view.php?id=136 [^]

When exactly does the CTD happen?
2010-04-03 20:08   
Does this happen as soon as you start up DF or only after you choose create a new world or object testing arena? If it only happens after you choose either of those 2 in the menu could be related to 0000217. On my computer choosing either of those 2 options with graphics on results in 1.5GB memory usage and if the people reporting the crash all have less than that, that could be causing this crash.
2010-04-06 13:38   
The CTD happens as soon as you select the worldgen command from the main menu, before it even shows the warning screen, if [GRAPHICS:YES] is set in init.txt and you have a non-fixed graphics set in raw\graphics.

You won't have the CTD if the graphics set that you're using has applied the fix that was discovered for the problem, which is to move the DEFAULT entries so that they aren't the first line in each block in the graphics set's .txt files (and to create dummy lines in one-line blocks, such as CHILD lines, to go before the DEFAULT lines in those blocks).
Toady One   
2010-04-07 07:02   
If this crash did not occur immediately, but only after entering world gen or the arena, it should be fixed for next time.