aclist / dztui

DayZ GUI server browser and frontend for Linux
https://aclist.github.io/dzgui/dzgui
GNU General Public License v3.0
81 stars 9 forks source link

Can not unsubscribe from mods #140

Open abrakadobr opened 4 weeks ago

abrakadobr commented 4 weeks ago

dzgui keeps somewhere all mods I was subscribed and redownload them again and again.

unsubscribing in steam workshop doesn't helps - I'm going to "list installed mods" in dzgui and see again full list clearing in dzgui doesn't helps - on next launch/reboot full list again there and redownloads again

aclist commented 4 weeks ago

Are you using Manual Install mode or Auto Install mode?

Please provide the following information:

If there are any updates to mods you already have, DZGUI will attempt to download them again. If you are connecting to a server that frequently makes small changes to its mods, it is not enough to have the basic mods--you will need to fetch updates to them periodically. Are you allowing these downloads to complete?

If you are using Auto Install mode, you should not use this in conjunction with manually unsubscribing in Steam workshop.

abrakadobr commented 4 weeks ago

sure, sorry that didn't apply this DZGUI 5.3.2 STABLE | NORMAL PC (Ubuntu 22.04) Both - WiFi and ethernet last months I'm playing mostly on vanilla DayZ Livonia AP SG 5368 (128.0.112.56:11701), but also was playing on community server Day4Fun Iztec (139.99.2.229:2303) steps to reproduce - not sure, bcuz I just see result message about "low space on hard drive" and start investigation from this moment

I was using DZGUI in auto mode, but disabled it when found that it automatically downloads mods I'm unsubscribed long time ago.

For example, about 1.5-2 years ago I was playing on different community mods and was subscribing and downloading required mods. After I stop playing there, and unsubscribed from all mods from this servers. But now DZGUI somehow again redownloading this mods. I'm not subscribed to this mods in workshop, I'm not playing on this servers, but I see this mods in DZGUI list installed mods. Removing mods from this list helped for some time, but now I see again that this list is full of modes from servers I was playing long time age

I'll try to monitor somehow when mods returns to this list and will update here, but why mods I'm not subscibed at workshop appears in dzgui list?

aclist commented 4 weeks ago

I'm not subscribed to this mods in workshop, I'm not playing on this servers, but I see this mods in DZGUI list installed mods. Removing mods from this list helped for some time, but now I see again that this list is full of modes from servers I was playing long time age

I'll try to monitor somehow when mods returns to this list and will update here, but why mods I'm not subscibed at workshop appears in dzgui list?

It's described in the documentation here: https://aclist.github.io/dzgui/dzgui.html#_options_toggle_mod_install_mode

Here is the relevant part:

When using auto mod installation, DZGUI will track the latest version of your installed mods and periodically synchronize their signatures next time you attempt to connect to a server. This means that if you satisfy the mods needed for a server, but updates to other mods you already have are found, an update will be triggered until all of your local mods are refreshed. Provided you tend to keep auto mod install on, these updates should be atomic and ensure that mods are always up to date.

Auto installation mode is intended for power users and is set by off to default. (Manual mode is the default.) When you choose the auto installation mode, you are delegating management of mod versions to DZGUI instead of Steam. If you subscribe/unsubscribe from the Workshop in Steam, you are only telling Steam to stop downloading updates for that mod, but DZGUI itself is still responsible for managing mod updates when Auto mode is on. Manually subscribing/unsubscribing in Workshop is only relevant if you are using the Manual mod install mode.

Therefore, you should not manually subscribe/unsubscribe to mods when using Auto mode, as this process is delegated to DZGUI. Steam does not "talk to" DZGUI when you unsubscribe or subscribe for a mod. For this reason, it's recommended to choose one of two options, and not mix them:

  1. Use Manual mod install and let Steam schedule and download mod updates, with the user manually clicking Subscribe/Unsubscribe
  2. Use Auto mod install and let DZGUI handle mod updates whenever a mod is out of synch (for any server), and do not manually click Subscribe/Unsubscribe in the Workshop.

Unfortunately, there is no way of automatically downloading mods AND letting the user manually Subscribe/Unsubscribe, so you have to choose one or the other. For most users who want some control over the process and don't mind sacrificing some speed, Manual mode should be enough. However, some users find the process of manually subscribing to mods (if a server has, e.g., 100+ mods) extremely annoying, so for those users, Auto mode is provided.

Hope this makes sense.

Now, if you want DZGUI to stop tracking these mod versions for you, once you disable Auto mode, you'll have to delete the file $HOME/.local/state/dzgu/dzg.versions.

After that point, DZGUI should stop fetching updates to mods and should clean up old links to mods from your list.

I am taking your feedback into consideration and agree that it would be nice if when you switch from Auto mode to Manual mode, this version file is cleared for you.

abrakadobr commented 4 weeks ago

thanks a lot for clarify and pointing to "versions save file"! you saved my hdd :) I'm full agree with idea of removing version file on switching back from auto to manual - this should make app behavior intuitive and completely remove situations like I got - when dzgui downloads "long time ago unsubscribed mods"

aclist commented 4 weeks ago

Sorry for the inconvenience. I'll incorporate this into the next stable release, but I need to test first to make sure there are no unforeseen consequences from this change.

aclist commented 3 weeks ago

@abrakadobr A message containing spam was posted to this issue by a third party and I have removed it. If you are subscribed to this ticket and you have already received a notification containing the original message, you can safely ignore and delete it. Please do not download files from third-party URLs. Legitimate files can only be found on this repository, and legitimate posts from developers will list the author as an owner/maintainer of the repository.