thesupersonic16 / HedgeModManager

A mod manager for Sonic Generations, Sonic Lost World, Sonic Forces, Sonic Colours Ultimate and other PC Hedgehog Engine games.
MIT License
267 stars 61 forks source link

[Bug] (Steam Deck/Linux) Mod loader version for some games won’t update despite clicking on “update” #910

Open CalebKOnline opened 2 months ago

CalebKOnline commented 2 months ago

Describe the issue/bug

The mod loader for games won’t update despite hitting update. image

Expected Behaviour

Supposed to update after clicking “update”

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 30 days with no activity. Please comment on this issue if you don't want it to automatically close in 14 days.

CalebKOnline commented 1 month ago

Bumping this

thesupersonic16 commented 1 month ago

Not exactly sure how to fix this, please check if this still happens and maybe send a proton log of you opening the app and pressing update then closing it right away.

CalebKOnline commented 1 month ago

Not exactly sure how to fix this, please check if this still happens and maybe send a proton log of you opening the app and pressing update then closing it right away.

How do I acquire a log?

thesupersonic16 commented 1 month ago

It's a launch argument you add on Steam. You should beable to Google creating a proton log.

CalebKOnline commented 1 month ago

Excuse me for sounding like an idiot but i am using Bottles to launch HedgeModManager and ive been googling where i can output logs yet i dont have an solution.

thesupersonic16 commented 1 month ago

Oh sorry, I thought this was for a game. Try see if you can get bottles to generate a WINE log. Sorry for the confusion.

CalebKOnline commented 1 month ago

no matter what i try i can get a wine log, even google aint helping.

thesupersonic16 commented 1 month ago

I don't have my deck with me right now, so can't check. Can you show me the options when you click the button next to "Run Executable..."

CalebKOnline commented 1 month ago

I don't have my deck with me right now, so can't check. Can you show me the options when you click the button next to "Run Executable..."

IMG_5272

thesupersonic16 commented 1 month ago

Try checking the checkbox.

CalebKOnline commented 1 month ago

This is what I get after launching and attempting to update. (The log stays still after launching and still does after hitting update) IMG_5276

thesupersonic16 commented 1 month ago

Was hoping to see an error. Maybe check the ML version manually. In HMM go to Settings and click "Open game Directory" and see if you can find the file version for "d3d11.dll". Not sure if Dolphin shows it.

Though it could also be a WINE issue, which changing the runner to soda-9.0-1 might help. Never tried changing runners on a preexisting bottle. EDIT: I just noticed you are already on the mentioned soda version.

thesupersonic16 commented 1 month ago

Can you also check if this issue happens with other games like Sonic Origins (HML), Sonic Frontiers (HE2ML) and Sonic Generations (HE1ML)? Want to be sure this only happens with RML.

CalebKOnline commented 1 month ago

Can you also check if this issue happens with other games like Sonic Origins (HML), Sonic Frontiers (HE2ML) and Sonic Generations (HE1ML)? Want to be sure this only happens with RML. HE2ML also has this effect (and HE1ML too sometimes when it wants to work) also there have been times where the mod loader ALSO fails to check for updates. IMG_5278 IMG_5279 IMG_5280

CalebKOnline commented 1 month ago

Also I don’t have Origins installed but I will check later to see if that has issues too

thesupersonic16 commented 1 month ago

So Frontiers also has the same problem? While Generations failing? Can you try Sonic Lost World? It also uses HE1ML.

CalebKOnline commented 1 month ago

That fails too, also just tried to get files to replace from friends and it works too. Only HE1ML loader tho

thesupersonic16 commented 1 month ago

I am suspecting it being an issue with reading the version info. I made a build to show the build of the modloader. Want to be sure it matches with whats on my system.

HedgeModManager.zip

Run this on the deck and show me what the popup shows. Depending on your settings it may show up twice. If you see the information change do let me know aswell.

CalebKOnline commented 1 month ago

Hello, sorry for the long response, was asleep but I got your results IMG_5288 Also some info changes based on the game you switch to (each is different but this is from Colors Ultimate) IMG_5290

thesupersonic16 commented 1 month ago

First one getting good data, second one is not. WINE might be overriding the DLL.

Can you go in the HMM bottle settings and look for something with the name of DLL Overrides, then set d3d11 to builtin,native

CalebKOnline commented 1 month ago

I get this when trying to set an override to d3d11 IMG_5291 Also I have a two flights later today but I will continue providing information wherever I can.

thesupersonic16 commented 1 month ago

Does Sonic Forces have the same issue? I am thinking WINE is overiding the modloader DLLs as we use the same file name as the builtin DLLs.

Are you able to force it? Maybe try setting the launch options to WINEDLLOVERRIDES="d3d11=n,b" %command%

Also I may have mixed up native and builtin at first.

CalebKOnline commented 1 month ago

Does Sonic Forces have the same issue? I am thinking WINE is overiding the modloader DLLs as we use the same file name as the builtin DLLs.

Are you able to force it? Maybe try setting the launch options to WINEDLLOVERRIDES="d3d11=n,b" %command%

Also I may have mixed up native and builtin at first.

Sorry for the 8 hour wait, I don’t have Forces installed either, I was able to do more testing but only the same results come back.

thesupersonic16 commented 1 month ago

Did you try the launch options then seeing if HMM can detect Rainbow Mod Loader? If that doesnt work maybe you can try looking in winecfg which there should be a button in Bottles to open it. If you do try winecfg, there should be a tab for libraries and just set d3d11 to native,builtin.

Another option is regedit in HKEY_CURRENT_USER, you should beable to enter Software\Wine\DllOverrides and add an override on the right panel. Like string d3d11 set to native,builtin.

CalebKOnline commented 1 month ago

Hello! After trying out the registry method, I got some new data!

Data for RML and HE2ML (from Forces and not Frontiers) IMG_5318 IMG_5320

thesupersonic16 commented 1 month ago

Ah perfect, can you move back to the dev build and see if the popup issue is gone?

Also I will be marking this as a bug until I work out if this happens on other systems and an automated solution is found.

thesupersonic16 commented 1 month ago

Is the first image from Sonic Colours or Generations, want to be sure if its just the UI not updating in time due to the popup.

Also is Sonic Generations' or Lost World's mod loaders able to find updates, if not, has it ever been able to find updates?

CalebKOnline commented 1 month ago

Is the first image from Sonic Colours or Generations, want to be sure if its just the UI not updating in time due to the popup.

Also is Sonic Generations' or Lost World's mod loaders able to find updates, if not, has it ever been able to find updates?

  1. Colors Ultimate
  2. Generations/Lost World used to be able to find updates but now it doesn’t, keeps saying it’s up to date, goes for everything else
  3. There’s no update pop ups on the regular build
thesupersonic16 commented 3 weeks ago

I have made a commit to apply the registry change, if you can, please check if the issue is now resolved. I may close this issue later if I don't hear of the issue arising.