Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for saving files into a different directory. #27

Closed
CubeTheThird opened this issue Jan 5, 2020 · 4 comments
Closed

Allow for saving files into a different directory. #27

CubeTheThird opened this issue Jan 5, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@CubeTheThird
Copy link

This is more a feature request.
Currently, all files written by the game are stored within the bin directory, however this is not ideal in some scenarios. I've packaged this fork for Linux, but in order to allow each user to maintain their own saves and such, I've resorted to using symlinks.
It would be ideal if, for example, a parameter could be passed to the executable to indicate where these are written.

@tmewett
Copy link
Owner

tmewett commented Jan 5, 2020

Thanks for adding to the AUR :)

I'm in the process of improving the distributions. Eventually, I would like to have save and data locations be configurable, and the Linux version optionally save into ~/.config/Brogue or similar. Once this is done, you will be able to build a more "typical" Linux version much more easily.

@tmewett tmewett added the enhancement New feature or request label Jan 5, 2020
@CubeTheThird
Copy link
Author

I've just updated my git following package on the AUR, using the new build option for DATADIR, and this seems to be working as intended. Awesome stuff!

@tmewett
Copy link
Owner

tmewett commented Jan 28, 2020

@CubeTheThird good to hear. I would further suggest you build Brogue from source for the release 'brogue-ce' package too, for two reasons: 1) so it will behave the same as the -git release and 2) because it is atypical for an AUR package to download pre-built software. You can find a link to the source tar.gz on the release page. (And don't forget to remove 'git' as a makedepend :P)

Let me know if I can help further.

@tmewett tmewett closed this as completed Jan 28, 2020
@CubeTheThird
Copy link
Author

And done. Both the release and -git packages now behave similarly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants