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

Bug: <Reloaded claims VC redist isn't installed> when <it is on the Steam Deck> #506

Open
MrCamel999 opened this issue Nov 29, 2024 · 34 comments
Labels
bug Something isn't working untriaged No decision has been made by the developers.

Comments

@MrCamel999
Copy link

Describe the Bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behaviour:

  1. Install VC_redist.x64.exe and the 86 exe
  2. Open Reloaded
  3. Reloaded complains about things not being installed

Expected Behaviour
A clear and concise description of what you expected to happen.
The program shouldn't complain about things not being installed, because they are already installed.

Screenshots
If applicable, add screenshots to help explain your problem.
I have a screen recording github won't let me upload. I'll try commenting on this with the video

Additional Context
Add any other context about the problem here.

@MrCamel999 MrCamel999 added bug Something isn't working untriaged No decision has been made by the developers. labels Nov 29, 2024
@Sewer56
Copy link
Member

Sewer56 commented Nov 29, 2024

The installer Setup-Linux.exe should have auto installed these.

If you are instead preferring to install manually, the old school way, make sure you are installing the redist into the same WINEPREFIX that Reloaded is installed to, i.e. same game in protontricks.

@MrCamel999
Copy link
Author

https://github.com/user-attachments/assets/a8d76e4b-2b6a-4397-ab6b-42906b63a6ed
Figured out how to upload the video. GitHub simply hates mkv files for some reason

@Sewer56
Copy link
Member

Sewer56 commented Nov 29, 2024

Oh, strange. That's a new one, I've not seen that happen before.

In any case, if the loader itself works as expected, you can ignore the message.

@MrCamel999
Copy link
Author

Unfortunately, the loader doesn't work as expected. Trying to enable a mod causes a crash. I have two other installations on the system for P3R and P5R where this issue doesn't exist, and I updated those today to the same version, so I have zero clue what's different lol

@MrCamel999
Copy link
Author

I can try using this fancy new Linux installer though, I encountered this while setting up Metaphor mods for the first time, so I'm not actually losing anything by just trying that. I'll report back on if it works magically

@MrCamel999
Copy link
Author

Image
I may just not understand how to use the linux installer, but it seemingly just is broken lol

@Sewer56
Copy link
Member

Sewer56 commented Nov 29, 2024

I have zero clue what's different lol

Hmm, me neither.
There is something you can try as a last resort however.

You can nuke the WINEPREFIX (windows sandbox) used by your proton installation and let it regenrate by booting the game from Steam.

Afterwards you would reinstall the runtimes into that new prefix.

To do that, go to Steam's compatdata folder and delete the folder with the same ID as Steam App ID.
That being 2679460 for Metaphor, I believe.


Just be careful to not do it too much (or switching Wine versions too much), there's a risk of Denuvo locking you out of the game for 24 hours.

@MrCamel999
Copy link
Author

Thanks for the tip. Will try doing that and report back. I'll also make sure to record my entire process of installing everything to the prefix and stuff that way I can show exactly what I'm doing

@MrCamel999
Copy link
Author

https://github.com/user-attachments/assets/84303e82-a73e-48fb-9a00-41b16e3b4ddd
New video. New prefix after deleting that folder in compatdata. New release download just to make sure. Same issue.

@MrCamel999
Copy link
Author

I uploaded the wrong video hang on I'm dumb

@Sewer56
Copy link
Member

Sewer56 commented Nov 29, 2024

Oh actually, one more thing you can try.
You have the 2019 redist, try the 2022 one:

https://aka.ms/vs/17/release/vc_redist.x64.exe
https://aka.ms/vs/17/release/vc_redist.x86.exe

(I'm on my phone but I believe that should be the 2022 one)

Maybe the automated GitHub build built it on a newer toolset and I didn't notice. Or I didn't notice a toolset bump on recent PR that bumped dependencies.

@MrCamel999
Copy link
Author

Thanks. Those are in fact the 2022 ones. The 2019 ones actually come from those download buttons that appear in Reloaded II. Might be good to eventually update that. Unfortunately, that didn't fix the issue. Still working on getting that video uploaded. Was transferring the video to my laptop via discord but this video was too big for discord so now I have to sign into things on the deck and it's a pain typing these passwords bc I'm too lazy to sign into the password manager atm lol. Should be uploaded soon though.

@MrCamel999
Copy link
Author

Failed to upload on github. I uploaded it to proton drive to transfer it to my laptop anyways, so I'll just link that. https://drive.proton.me/urls/6W8CVKZ7M0#oeVi0YEk589x

If you want me to upload it to yt instead of downloading random file from internet stranger just let me know and ill do it

@MrCamel999
Copy link
Author

https://youtu.be/VJ7R3Z7AU18

Uploaded to YouTube anyways, not too hard to do that

@Sewer56
Copy link
Member

Sewer56 commented Nov 30, 2024

You're fine. It's just weird it doesn't detect it, unless Metaphor is doing something really special with its WINEPREFIX setup.

Do still check if Reloaded boots with ASI Loader, if it's a false positive, you can ignore the message.


Also irrelevant but you shouldn't need .NET 7 or 8 SDKs, just 9.0.0 is enough.

@MrCamel999
Copy link
Author

I'll be honest, I completely forget how to use ASI Loader lol. I feel like it's impacting something since I can't enable Metaphor mods in R2 with this error. Without the error in P3R it allows me to enable/disable just fine, so while I could be wrong, I'm pretty sure it's causing an issue.

I think I know where to find an ASI Loader tutorial to reference so I'll check.

Thanks for telling me I can delete versions 7 and 8, that makes this easier for when I eventually delete this prefix and try again lol

@MrCamel999
Copy link
Author

I also plan on not using the ASI Loader and creating a seperate thing in steam to launch the game such that I have a modded and not modded way to watch just in steam. Do you know if you can undo deploying the asi loader into the game?

@Sewer56
Copy link
Member

Sewer56 commented Nov 30, 2024

The approach in the guide you're using under 'Steam Configuration' could/would work too. In that case ASI Loader wouldn't be needed.

@MrCamel999
Copy link
Author

Can confirm launching the game works through that Steam Configuration method. That's good at least. Haven't had any mods enabled but I assume that's a good thing regardless

@Sewer56
Copy link
Member

Sewer56 commented Nov 30, 2024

Yup. Stuff works, just missing runtime dialog shows as false positive, weird.

@MrCamel999
Copy link
Author

I wonder why I can't enable mods then. That's then weird as well

@Sewer56
Copy link
Member

Sewer56 commented Nov 30, 2024

If you get a console window (provided you haven't disabled it), things work as expected.

Mods which are filled in are automatically enabled as needed, these don't need manual enable/disable.

@MrCamel999
Copy link
Author

https://github.com/user-attachments/assets/3391717b-b9f7-4258-beae-d286b9588dca
This is what I mean. This happens when I try to enable any mod

@Sewer56
Copy link
Member

Sewer56 commented Nov 30, 2024

It auto canceled a config save? What? That's very weird, all of this is kinda strange.

Maybe switch Proton version, not even I know fully what's going on anymore.

@MrCamel999
Copy link
Author

I'll try switching proton versions then yeah. I think I have experimental running on P3R, so that is in fact a potential difference! Will report on how that goes

@MrCamel999
Copy link
Author

Something has been screwed up bad. I can't get Reloaded to launch at all with that prefix now. I guess it's time to delete the prefix and try again lol

@MrCamel999
Copy link
Author

Redoing the prefix on a new proton version (experimental) allows me to enable mods.

Thanks for all the help!!

A bit annoying about that false positive, but eh, I'll get over it. The main thing is that it works!

dreamsyntax added a commit to dreamsyntax/Reloaded-II that referenced this issue Nov 30, 2024
Updates the akams link to v7 with 2022 names in
RedistributableDependency.cs

Resolves Reloaded-Project#506
dreamsyntax added a commit to dreamsyntax/Reloaded-II that referenced this issue Nov 30, 2024
Updates the akams link to v17 with 2022 names in RedistributableDependency.cs

Resolves Reloaded-Project#506
@dreamsyntax
Copy link
Contributor

@MrCamel999 Just to confirm, did using 2022 redists make the warning go away?

@MrCamel999
Copy link
Author

They did not, no. The warnings still appear, but everything works fine if I just ignore the warnings

@dreamsyntax
Copy link
Contributor

Thanks for confirming, I'll change my commit message then.

@dreamsyntax
Copy link
Contributor

I cannot reproduce this when using Setup-Linux.exe.

@MrCamel999
Copy link
Author

I never got the Linux Setup exe working, so that could be a solution for me if I were to get it working. It works though now, and it seems I'm the only one with this issue, so it's probably fine

@Sewer56
Copy link
Member

Sewer56 commented Nov 30, 2024

I borked the setup exe yesterday by accident actually.
That said, the error they got with it was unrelated to the borking I did. They had a weird connection error.

@MrCamel999
Copy link
Author

😂 I have made such a cursed issue lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged No decision has been made by the developers.
Projects
None yet
Development

No branches or pull requests

3 participants