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

Rename USE_HOME_DIR save/conf dir to cataclysm-bn #1474

Merged
merged 1 commit into from
Apr 26, 2022

Conversation

r7st
Copy link
Contributor

@r7st r7st commented Apr 22, 2022

Summary: Build "Rename USE_HOME_DIR save/conf directory to cataclysm-bn"

Purpose of change

When building Cataclysm-DDA and Cataclysm-BN both with USE_HOME_DIR, they both use the same directory for saves/config, which are not compatible. This causes game-configuration related errors and could result in accidentally loading the wrong save.

Describe the solution

Directory name changed cataclysm-dda to cataclysm-bn.

Describe alternatives you've considered

The main problem with this is saves/config would have to be moved manually - for example on Linux the contents from ~/.cataclysm-dda/ to ~/.cataclysm-bn/. This could cause confusion and people may think their saves were deleted after updating. Another option would be to have a make flag to do this / change the path on compile, and leave it to the user to handle it. I did not do this because I think it would be preferable for the default not to conflict with Cataclysm-DDA.

Testing

Tested with USE_HOME_DIR on Linux and MacOS.

@r7st r7st changed the title Rename save dir to cataclysm-bn Rename USE_HOME_DIR save/conf dir to cataclysm-bn Apr 22, 2022
@Coolthulhu Coolthulhu self-assigned this Apr 25, 2022
@Coolthulhu Coolthulhu merged commit fc0c65d into cataclysmbnteam:upload Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants