Got myself a physical copy from Lulu. Thanks for making this amazing book!
TeddyDD
Creator of
Recent community posts
Those are pretty! I made myself an empty tile template in Krita, and I'm using https://kmalexander.com/ brushes to make myself even more tiles.
No problem :) XDG_DATA_HOME comes from XDG Base Directory Specification - it's worth checking out. Yeah, recursive mkdir would do the trick but it would be confusing for users with locales different than English. Yeah, dot directories are hidden. On the other hand programs dumping their content in $HOME are pretty annoying, Simple soluton might be „Open directory with schematics” button in game.
Anyway, feel free to remove this thread from comments if you like. It got quit big and since bug will be fixed there's no reason to scare potential users :D
Ok, that explanation helped me to figure it out. I tried to run DLS with strace. Here is relevant part of the output:
readlink("/proc/self/exe", "/home/teddy/Pobrane/DLS/DLS_x64_"..., 512) = 39
mkdir("/home/teddy/Documents/DLS/", 0700) = -1 ENOENT (No such file or directory)
chdir("/home/teddy/Documents/DLS/") = -1 ENOENT (No such file or directory)
exit_group(-1) = ?
mkdir fails because I don't have Documents subdirectory (I'v got Polish
locale and it's ~/Dokumenty/ ony my system :D ). It's should be easy fix (temporary
workaround is to create ~/Documents directory manually).
Another thing is you implemented XDG spec incorrectly. If XDG_DATA_HOME is
not set or empty (usually it is) you should use $HOME/.local/share This way
you won't clutter user's home/Documents directory :) I suppose this is the best solution since it does not depend on system locale.
X11 License (MIT) is compatible with GPL so you can use it. I'm not sure about header files but I suppose you can do whatever you want with them as long as you keep oryginal copyright information.