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

[Linux] Worlds, Mods, Settings and Soundpacks deleted every time Catapult updates the game #132

Open
AcidAntOnAMinefield opened this issue Nov 17, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@AcidAntOnAMinefield
Copy link

As title says: every time I update C:DDA's experimental build, it literally just deletes the folder and places the installation of the new build there, fresh - essentially, what the user would do by deleting a folder, decompressing the new build into a new folder and calling it done.

There seems to be no information on how to prevent this from happening other than going back to builds 21 and under when the options were still there.

Having to move the files myself every time I update the game and putting them back in kind of defeats the point of having a launcher to begin with.

Making a backup using the launcher doesn't really help either.
__

I have tried using every option the launcher provides, but to no avail. My suggestion would be to make it actually obvious and easy to spot/understand what needs to be done to avoid this issue, if the Launcher is working as intended.

@qrrk qrrk added the bug Something isn't working label Dec 2, 2023
@olanti-p
Copy link
Contributor

olanti-p commented Dec 3, 2023

Are you running the game from the launcher with "Play" button, or by running the game executable directly from terminal/file manager?

@AcidAntOnAMinefield
Copy link
Author

I run the game from the executable, but that should have no implication on how the launcher updating the game deletes the files and there is no option to back them up other than having to do so manually.

@olanti-p
Copy link
Contributor

olanti-p commented Dec 3, 2023

The userfiles (saves, configs, user mods) managed by the launcher (backup/restore/etc.) live in a separate folder, dda/userdata/, and are not modified during an update. If you're running the game executable directly you should run it with --userdir option and supply the correct userdir path, otherwise the game just dumps user data right in the installation folder dda/gameN/, which gets erased on update.

Running from "Play"/"Continue" buttons does not have this issue as launcher automatically specifies userdir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants