Catapult icon indicating copy to clipboard operation
Catapult copied to clipboard

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

Open AcidAntOnAMinefield opened this issue 1 year ago • 3 comments

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.

AcidAntOnAMinefield avatar Nov 17 '23 08:11 AcidAntOnAMinefield

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

olanti-p avatar Dec 03 '23 19:12 olanti-p

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.

AcidAntOnAMinefield avatar Dec 03 '23 19:12 AcidAntOnAMinefield

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.

olanti-p avatar Dec 03 '23 20:12 olanti-p