data? Seriously? ) No other distro ever had /data. Yeah, that's probably a good idea anyway, and it would fix this issue. Ideally we should remember somewhere version number, or at least check if karts and tracks directories exist. We sould detect if this is our data directory. I would hope that it would define SUPERTUXKART_DATADIR to the correct value, though. I'm not familiar with the STK codebase, so I must be missing something here - maybe cmake defines SUPERTUXKART_DATADIR by default and uses an incorrect value?Įdit: I just took a look at CMakeLists.txt and saw that it always defines SUPERTUXKART_DATADIR when building on Macs. The only time I can see #2074 being a problem is if SUPERTUXKART_DATADIR was defined to the wrong directory when building 0.9-rc1. Wouldn't you define the preprocessor option SUPERTUXKART_DATADIR to the correct directory ( /home/Games/Supetuxkart-0.9-rc1) or just leave it undefined when building 0.9-rc1? If you defined it to the correct directory, things would work (because the correct path would take precedence), and if you left it undefined, STK would behave as it does now (because that section would be compiled out). If you will prioritize SUPERTUXKART_DATADIR, then 0.9-rc1 version will find 0.8.1 data directory in /usr/local/share/supertuxkart and it will crash. Thank you both for your responsiveness and helpfulness. Temporary workaroundįor the time being, I can manually specify the correct data directory with supertuxkart -root=/usr/share/supertuxkart/data. Note that even if the Arch Linux package was built with SUPERTUXKART_DATADIR defined to the correct directory, STK would still check for the problematic path. /data exists (in this case /data), it must contain the STK data files. The problem is that STK erroneously assumes that if a directory. Looking at the source, it appears that the bug was introduced in b9b2f96. : Directory 'textures' not found, aborting. : Directory 'skins' not found, aborting. : Directory 'shaders' not found, aborting. : Directory 'tracks' not found, aborting. : Directory 'music' not found, aborting. : Directory 'models' not found, aborting. : Directory 'library' not found, aborting. : Directory 'grandprix' not found, aborting. : Directory 'fonts' not found, aborting. : Directory 'challenges' not found, aborting. : User-defined grand prix will be stored in '/home/jim/.local/share/supertuxkart/grandprix/'. : Screenshots will be stored in '/home/jim/.cache/supertuxkart/screenshots/'. : Addons files will be stored in '/home/jim/.local/share/supertuxkart/addons/'. : User directory is '/home/jim/.config/supertuxkart/0.8.2/'. : Data files will be fetched from: '././data/' Main: Error messages and other text output will be logged to /home/jim/.config/supertuxkart/0.8.2/stdout.log.
0 Comments
Leave a Reply. |