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

RED4Ext doesn't work on Steam Deck without adding a Launch Option #2171

Open
s3r1al opened this issue Oct 15, 2024 · 1 comment
Open

RED4Ext doesn't work on Steam Deck without adding a Launch Option #2171

s3r1al opened this issue Oct 15, 2024 · 1 comment
Labels
os-linux This affects Linux related code. User Raised

Comments

@s3r1al
Copy link

s3r1al commented Oct 15, 2024

Improvement

winmm.dll is needed for red4ext, however it's not found after installing the mod. it would be great if you could add this to the games wine config automatically.

Link to information on the issue:
https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-users/users-modding-cyberpunk-2077/modding-on-linux

Currently

(Describe the current behaviour of the existing feature you want to improve)

RED4Ext doesn't work on Steam Deck without adding a Launch Option: WINEDLLOVERRIDES="winmm,version=n,b" %command%

We want

(Describe the new behaviour you want to see for this feature)

Really adding all the details listed on the following site somewhere in your wiki or setup would be excellent so folks won't have to run around troubleshooting the issue like I did:

https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-users/users-modding-cyberpunk-2077/modding-on-linux

Supporting Information

(Include any supporting screenshots etc to support the above)
PXL_20241015_141514228 MP

Design

(Any designs to required for this feature)

@erri120 erri120 added the os-linux This affects Linux related code. label Oct 15, 2024
@MattSturgeon
Copy link
Contributor

This feels mostly out of scope for a the mod manager, except in cases where the mod manager is directly running the game itself (which it currently defers to steam on linux).

I think the most that should be done here is try and detect if the game is configured correctly, but that seems difficult since wine dll overrides can be configured either via the WINEDLLOVERRIDES env var (in steam's launch arguments) or persistently via winecfg.

Such a detection would therefore be rather complex, especially for something that isn't directly the responsibility of the mod manager...

In addition to the dll overrides, winetricks (or protontricks) should also be used to install the d3dcompiler_47 and vcrun2022 libs. I'm not sure there's a same way to detect that they are installed in the wineprefix either...

Perhaps the best course of action here is just to link to the cyberpunk wiki (or similar documentation that could be maintained by the nexus team if preferred).
Such a link could be included in a "tip" popup that is displayed when users first manage cyberpunk, or perhaps when they first apply a mod loadout for which the docs are relevant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os-linux This affects Linux related code. User Raised
Projects
None yet
Development

No branches or pull requests

4 participants