View Issue Details

IDProjectCategoryView StatusLast Update
0006394Dwarf FortressWorld Generation -- Generalpublic2014-08-03 11:36
Reporterlethosor Assigned ToToady One  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformMacOSOS XOS Version10.7-10.9
Product Version0.34.11 
Fixed in Version0.40.06 
Summary0006394: "df" script does not pass command-line arguments correctly (i.e. for world generation) on OS X/Linux
DescriptionOn OS X:
* Running "./df -gen ..." simply opens DF normally (and does not generate a world).
* Running "./dwarfort.exe -gen ..." crashes, since the library variables were not set by the "df" script.
On Linux, spaces in arguments aren't recognized properly (as mentioned in the 0.34.11 release notes).
Steps To ReproduceAttempt world generation with a clean install of DF, using the instructions in command_line.txt (replacing "Dwarf Fortress.exe" with the appropriate name). Both "df" and "dwarfort.exe" fail to generate a world.
Additional InformationThis can be fixed on OS X and Linux by changing the last line of the script to './dwarfort.exe "$@" ' and './libs/Dwarf_Fortress "$@" ' (respectively)
TagsProbable Quick Fix

Relationships

has duplicate 0007276 resolveduser6 Worldgen arguments are not passed on correctly from the df script 

Activities

lethosor

2014-05-09 14:59

manager   ~0024750

Last edited: 2014-07-25 11:07

(Edited)
I'm assuming the reason this went unnoticed on OS X is because the SDL libraries are located somewhere where dwarfort.exe can find them without the need for the "df" script.

Issue History

Date Modified Username Field Change
2013-11-27 07:17 lethosor New Issue
2013-11-27 07:18 lethosor Tag Attached: Probable Quick Fix
2014-05-09 14:59 lethosor Note Added: 0024750
2014-06-14 06:20 lethosor Note Edited: 0024750
2014-07-25 06:21 lethosor Additional Information Updated
2014-07-25 11:06 lethosor Summary Command-line world generation does not work (without modification) on OS X => "df" script does not pass command-line arguments correctly (i.e. for world generation) on OS X/Linux
2014-07-25 11:06 lethosor Description Updated
2014-07-25 11:06 lethosor Additional Information Updated
2014-07-25 11:06 lethosor Description Updated
2014-07-25 11:07 lethosor Note Edited: 0024750
2014-07-28 16:51 lethosor Assigned To => lethosor
2014-07-28 16:51 lethosor Status new => confirmed
2014-08-03 11:36 Toady One Status confirmed => resolved
2014-08-03 11:36 Toady One Fixed in Version => Next Version
2014-08-03 11:36 Toady One Resolution open => fixed
2014-08-03 11:36 Toady One Assigned To lethosor => Toady One
2014-08-20 12:10 user6 Relationship added has duplicate 0007276