Arena and Daggerfall Installers for Linux
-
- Posts: 41
- Joined: Sun May 24, 2015 3:31 am
Re: Daggerfall Setup for Linux
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.
-
- Posts: 18
- Joined: Mon Dec 17, 2018 9:21 am
Re: Daggerfall Setup for Linux
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).
- 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).
Last edited by Franchiver on Thu Dec 20, 2018 9:16 am, edited 1 time in total.
-
- Posts: 41
- Joined: Sun May 24, 2015 3:31 am
Re: Daggerfall Setup for Linux
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.
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.
- pango
- Posts: 3359
- Joined: Wed Jul 18, 2018 6:14 pm
- Location: France
- Contact:
Re: Daggerfall Setup for Linux
Following to freedesktop.org standards,
(source: https://freedesktop.org/wiki/Software/xdg-user-dirs/)
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}
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
-
- Posts: 41
- Joined: Sun May 24, 2015 3:31 am
Re: Daggerfall Setup for Linux
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.pango wrote: ↑Thu Dec 20, 2018 3:37 am Following to freedesktop.org standards,(source: https://freedesktop.org/wiki/Software/xdg-user-dirs/)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}
@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
-
- Posts: 18
- Joined: Mon Dec 17, 2018 9:21 am
Re: Daggerfall Setup for Linux
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 )
(though, on second thought, I configured Daggerfall to run in full screen and all its pixellated glory )
-
- Posts: 1
- Joined: Mon Aug 19, 2019 4:35 am
Re: Daggerfall Setup for Linux
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.
I'm using gitlab.com (gitlab pages) for hosting these days, the other site I used to use was bought by Microsoft.
-
- Posts: 41
- Joined: Sun May 24, 2015 3:31 am
Re: Daggerfall Setup for Linux
I guess I'm about 4+ months late on seeing this. Life's been busy and this seems like a pretty niche "market", hence the lack of attention.
Unfortunately, ufile.io was only a temporary solution. While I have the install shell script hosted on github, I'm hesitant to host the makeself archive with game files since they're still copyrighted material. If there's still interest in a Classic Daggerfall install script for Linux, I might look into removing the need for packaging the game files with the shell script.
Daggerfall Unity for Linux is working very well for me, though, and I'd imagine most new players are going to want to go with that. Classic Daggerfall is mostly a historical curiosity at this point (in my opinion).
If I do get around to updating the script, I'll be sure to post a new link.
Unfortunately, ufile.io was only a temporary solution. While I have the install shell script hosted on github, I'm hesitant to host the makeself archive with game files since they're still copyrighted material. If there's still interest in a Classic Daggerfall install script for Linux, I might look into removing the need for packaging the game files with the shell script.
Daggerfall Unity for Linux is working very well for me, though, and I'd imagine most new players are going to want to go with that. Classic Daggerfall is mostly a historical curiosity at this point (in my opinion).
If I do get around to updating the script, I'll be sure to post a new link.
-
- Posts: 18
- Joined: Mon Dec 17, 2018 9:21 am
Re: Daggerfall Setup for Linux
This is an understandable point of view. Thank you for your amazing work on that script. As for me, it works pretty well, and notwithstanding the qualities of the ever-improving Daggerfall Unity, I have gone too far in Classic Daggerfall to switch versions right now!
-
- Posts: 41
- Joined: Sun May 24, 2015 3:31 am
Re: Daggerfall Setup for Linux
Thanks for your comments, Franchiver. I'm glad to know that my work hasn't gone unused.
I haven't updated the Daggerfall script, yet (a bit more involved), but I've updated my Arena installer to download and extract the files from Bethesda instead of requiring their inclusion in the archive. The script is much smaller and I'm now able to host it permanently(?) on Github instead of using a temporary host. I'll update the first post to reflect this.
It can be found here: https://github.com/e-m-h/TES-tools/blob ... staller.sh
If anyone wants to read the shell script itself, it's here: https://github.com/e-m-h/TES-tools/blob ... install.sh
I haven't updated the Daggerfall script, yet (a bit more involved), but I've updated my Arena installer to download and extract the files from Bethesda instead of requiring their inclusion in the archive. The script is much smaller and I'm now able to host it permanently(?) on Github instead of using a temporary host. I'll update the first post to reflect this.
It can be found here: https://github.com/e-m-h/TES-tools/blob ... staller.sh
If anyone wants to read the shell script itself, it's here: https://github.com/e-m-h/TES-tools/blob ... install.sh