Page 5 of 5

Re: Daggerfall Setup for Linux

Posted: Wed Dec 19, 2018 10:35 pm
by Taemos
Hello. Testing isn't so much needed with Ubuntu (it's what I'm usually on), but I've updated the first post with a new link to v0.53. The view-based option should work now (although the Y-axis may be inverted by default) and Daggerfall will now close the DOSBox window on exit. I hope you get some use out of it.

Re: Daggerfall Setup for Linux

Posted: Wed Dec 19, 2018 11:56 pm
by Franchiver
Thank you very much! I tried it. The install process didn't show any signs of failure, yet I encountered some issues I'd like to share with you:

- In Linux Mint, the desktop folder is named in the local language (in my case "Bureau"). That makes the script crash at trying to create the desktop icon (it relies on "<home directory>/Desktop"). I fixed that with a symlink.

- When trying to uninstall the game (either alone or along with DOSBox), choosing *not* to keep my savegames causes the script to quit immediately without deleting anything.

-The game doesn't seem to capture the mouse when run in windowed mode (configured in dagger.conf).

Re: Daggerfall Setup for Linux

Posted: Thu Dec 20, 2018 2:15 am
by Taemos
I stand corrected. I guess it did need some testing. :)

I've added a check for the icon; if no "Desktop" directory is found it should just continue without creating an icon. If there's an easy way of discovering a "Desktop" directory without adding an exception for each language then I'm interested in hearing it, otherwise this will probably remain an "English only" feature. To be honest, I usually remove the icon - I just assumed it would be something others would like. As for the script quitting after choosing not to keep saved games, I simply forgot to add any functionality to that part of the script. Silly me.

The mouse capturing behavior will remain the same. It's easy enough to set "autolock=true" in the config and I'd rather that not be default behavior. Thanks for the suggestion, though.

New link has been added. I'm not the best at testing this stuff (working on other projects at the moment) but if any more issues are found I'll do my best to fix them quickly.

Re: Daggerfall Setup for Linux

Posted: Thu Dec 20, 2018 3:37 am
by pango
Following to freedesktop.org standards,

Code: Select all

$ test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
$ echo ${XDG_DESKTOP_DIR:-$HOME/Desktop}
(source: https://freedesktop.org/wiki/Software/xdg-user-dirs/)

Re: Daggerfall Setup for Linux

Posted: Thu Dec 20, 2018 6:02 am
by Taemos
pango wrote:
Thu Dec 20, 2018 3:37 am
Following to freedesktop.org standards,

Code: Select all

$ test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
$ echo ${XDG_DESKTOP_DIR:-$HOME/Desktop}
(source: https://freedesktop.org/wiki/Software/xdg-user-dirs/)
Thanks for that! I have XDG-related environmental variables but not those exactly, so the script pulls from the output of "xdg-user-dir DESKTOP" now. I've made a few other changes, like setting the default to overlay instead of surface and making the window a default resolution of 1024x768.

@Franchiver - I've set autolock on. I thought the setting was going to immediately grab the mouse when DOSBox started, but it simply allows me to click the window and the mouse is captured, which does seem nice. I hope this helps.

Edit: Added new version/link for Arena

Re: Daggerfall Setup for Linux

Posted: Thu Dec 20, 2018 11:56 pm
by Franchiver
Thank you very much! So far, both games and their install scripts seem working well!
(though, on second thought, I configured Daggerfall to run in full screen and all its pixellated glory :D )

Re: Daggerfall Setup for Linux

Posted: Mon Aug 19, 2019 4:40 am
by cheako
The ufile.io downloads have been removed!

I'm using gitlab.com (gitlab pages) for hosting these days, the other site I used to use was bought by Microsoft.