Shazbot / WH3-Mod-Manager

Mod manager for Total War: Warhammer 3, Steam version only
MIT License
117 stars 17 forks source link

Doesnt removed unsubscribed mods #27

Open joaocastilho opened 1 year ago

joaocastilho commented 1 year ago

I've unsubscribed from a few mods but they still show in the mod list and there's no way I can see that will recheck subscribed list against Steam. So now the mod manager sees 99 mods when I only have 92 subscribed in Steam. The official mod manager sees the 92 correctly.

bluefalcon418 commented 1 year ago

I have the same problem

Shazbot commented 1 year ago

I assume they're in content (SteamLibrary\steamapps\workshop\content\1142710\xxx). Steam should be doing cleanup after you unsubscribe from a mod and delete those folders. The mod manager works by looking at all the packs that exist there, it's possible the CA launcher checks what mods you are subscribed to as well, but that's not really something I think should be done.

bluefalcon418 commented 1 year ago

Yes these mods constantly get added for me when TWW3 decides to validate or do an update daily. I am not subscribed to them, but for some reason they keep being re-downloaded.

joaocastilho commented 1 year ago

I've realised that this might be one mod that I'm subscribed to bringing in the other mods when it installs.

In my case I use SFO which brings in a few other mods internally which get downloaded to the workshop steam folder without me being subscribed to them directly.

This mod manager reads that workshop folder so it finds those mods and lists them.

Shazbot commented 1 year ago

You shouldn't get any hidden mods when you subscribe to mods. I'm subscribed to SFO and I only have the SFO pack.

CamilleHbp commented 9 months ago

EDIT

All the mods were duplicated in my data folder for some reason. I guess the Mod Manager did this, but I don't know why. Is that normal behaviour? Anyway, I had to subscribe to all of them, remove duplicates, then it fixed it.

Original question below.

ORIGINAL

I assume they're in content (SteamLibrary\steamapps\workshop\content\1142710\xxx). Steam should be doing cleanup after you unsubscribe from a mod and delete those folders. The mod manager works by looking at all the packs that exist there, it's possible the CA launcher checks what mods you are subscribed to as well, but that's not really something I think should be done.

@Shazbot I don't have any mods in content, yet they all show up in the mod manager.😕

Mod Manager screenshot:

Mod Manager

Content folder:

Content folder screenshot

joaocastilho commented 9 months ago

Yes this keeps happening to me too but I'm not convinced it's Mod Managers fault to be honest. It could easily be an internal history of mod subscriptions that CA keeps that makes those mods to be downloaded - not sure.

The pattern I've notice is that this happens when I subscribe to a mod that I used to have on a previous mod list and it will bring in a group of other mods from that past list and add them as I had subscribe to them.

Going to the Subscribed items on Steam I don't see them there as subscribed nor I see them in the CA's Mod Manager but they are indeed downloaded in the content workshop folder.

It recently just happen to me where 24 extra mods that I never subscribed but had in the past reappeared and I had to Unsubscribe the mods that came in incorrectly one by one in the WH3 Mod Manager and then restart the application for them not to be listed.

This is the Subscribed Items in Steam - 110 mods image

This is the Subscribed Items and Enabled (I have all enabled) in WH3 Mod Manager after unsubscribing manually the extra incorrect ones that appeared (it was showing 134 before - so 24 more that I never subscribed) image

This is the CA Mod Manager showing the correct 110 mods and it never showed 134 mods image

This is the content workshop folder which as you can see still has the 134 folders which WH3 Mod Manager was listing but the CA Mod Manager wasn't. image

Notice that his content folder should always clear unsubscribed mods/folders so the folder count should be 110 to match the subscribed items on Steam.

I'm going to close all mod managers and delete all the folders in the content folder. image

Opening the CA Mod Manager I can see the 110 Mods and starting updating all the mods as expected image

The WH3 Mod Manager is showing empty as expected image

And now after the update is done (not even fully) it already shows 134 mods in the content folder image

And now the WH3 Mod Manager reads the full 134 mods that exists in the content folder even though I'm subscribed to 110 mods image

This makes me think it's CA Mod Manager that has an internal cache of past subscribed mods that is not clearing correctly when we unsubscribe even though the CA Mod Manager is able not to list them it still requests to Steam to be downloaded somehow.

I've tried to find any file that would potentially hold this old list but I think it's not exposed and it's internal to the their mod manager.

I've checked the file in the steamaspp used_mods.txt but it lists correctly the 110 mods image

I've event deleted the launcher cache folder before doing this and I had the same behaviour happening image

@Shazbot If this gives you some clue of what could be happening and potential solutions we would all really appreciate it 🙏