Open thecoalitionofchaos opened 3 years ago
Fixed it by running winetricks dsound directmusic dsdmo quartz in the virtual drive
I'm sorry, but I'm not a linux gamer thus I woudn't be able to help you even if I wanted.
There's anyone that actually can make a complete list of action anyone can do to install and play this game from linux?
I'm not expert enough to do that myself, neither I have time to mess with the lovely world of Wine, so I would truly like to know how to make it running with the latest fix and the GOG version.
I'm doing what i can, i did get the game working but it crashed near the end of tanker and the extra raiden/snake missions don't work. I'll mess around with it later, see what I can do.
On Wed, Feb 24, 2021 at 7:47 PM Alessio Di Giacomo notifications@github.com wrote:
I'm sorry, but I'm not a linux gamer thus I woudn't be able to help you even if I wanted.
There's anyone that actually can make a complete list of action anyone can do to install and play this game from linux?
I'm not expert enough to do that myself, neither I have time to mess with the lovely world of Wine, so I would truly like to know how to make it running with the latest fix and the GOG version.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/VFansss/mgs2-v-s-fix/issues/161#issuecomment-785328652, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS7D7SKZRHCY7CXXYHAHE2LTAVJVXANCNFSM4YEJNHJQ .
I added an entry to the WineHQ AppDatabase (for the GOG version): https://appdb.winehq.org/objectManager.php?sClass=version&iId=40005
It has a list of things I did to install the game, and the issues that I still have with it. (Wine has a problem with some video formats, so the intro movie doesn't play, despite following troubleshooting steps from this Github's wiki).
I added an entry to the WineHQ AppDatabase (for the GOG version): https://appdb.winehq.org/objectManager.php?sClass=version&iId=40005
It has a list of things I did to install the game, and the issues that I still have with it. (Wine has a problem with some video formats, so the intro movie doesn't play, despite following troubleshooting steps from this Github's wiki).
thanks! I may jump to the train soon as well if I don't find a good price for the collection on the Vita.
I play on linux so I may help with this in the near future (if I end up buying the gog version)
I've been spending some time on this lately myself, and have put together a Lutris install script to get the game installed and configured in a runnable state. Just remove the .txt extension and you can use this along with the GOG installer to have a test install with V's Fix preinstalled. I'm happy to report that the intro movie played fine for me, so it seems the Wine situation has improved since this was last discussed.
I have DXVK disabled, because V's Fix misidentifies my GPU adapter and complains that the game launched on a different adapter every time if it's left on.
My primary issue at this point is that sound effects such as menu confirmations, footsteps, gunshots and the like all seem to be delayed by a half to a full second on my system. I suspect this has to do with the game's implementation of dsound.dll since codec calls and cutscene audio don't appear to be unsynced from what I can tell. I'm not sure if this is specific to my hardware configuration or not, since I do use a Focusrite Scarlett 2i2 as my audio interface.
The bundled audio fix which provides a dsound.ini file seems promising, but I haven't been able to locate any documentation for if there are further options I can try tinkering with for it.
Albeit I have a Steam Deck, I'm too mentally tired to use it to play MGS.
However, someone has already fiddled it it enough and seems that under Proton it works good.
In the comment, the uploader mentioned it used Lutris, so. He applied some "winetricks", but seems that is working good without issues.
I never even used Lutris (until now, but I guess I will do before or later) so I'm not expert in Lutris install scripts: my knowledge of the overall "architecture" is too low to make something reliable from my end 😢
Ah, nice find on that video! Thankfully as far as Lutris goes, it's really just automating installing the game into it's own Wine prefix and then applying whatever customization is needed, such as using winetricks to install Windows native DirectMusic and Quartz libraries so the game will launch and .NET for the fix's launcher. Pretty much like how someone on Windows would have to install the DirectX runtime and .NET anyways.
The install script I've posted is pretty straightforward on what it's doing, but I'm happy to explain more on it as well if needed. To use it, you'd just open Lutris and select the button to add a game, and then choose to run a local script. After that, it's just a matter of following the prompts to tell it where the GOG installer for the game is and then it'll fetch V's Fix 1.8.1 on its own. Once done, launching the game will open the Fix launcher for configuration and then the game can be run as expected.
Ideally, once we're satisfied that the install script is correct and doesn't need any more changes, we can submit it to the Lutris team to be included on the website in the list of community installers so that someone could simply search for the game within Lutris instead of needing to provide the install script themselves.
As for that Steam Deck footage, I'm a bit relieved to see that it suffers from the same audio delay I'm experiencing on my system as well. To really notice it, compare with a copy running on console such as with the HD Collection and pay attention to the confirmation sound effects from selections on the title screen.
But since that's the case, Linux players may be out of luck on synced sound effects unless there's a way to further configure dsound.dll via the .ini file and maybe get it to play nice.
I will try to mess with the script ASAP (albeit I don't have too much time right now). Let's see what I can do.
But since that's the case, Linux players may be out of luck on synced sound effects unless there's a way to further configure dsound.dll via the .ini file and maybe get it to play nice.
Well, there are other audio wrapper in the wild, and maybe some of them works nicely with Linux.
As before, there would need some time to experiment with it. Can't find time right now to do it :(
I've been poking at this off and on in my own time as well especially now that my own Steam Deck has arrived, and have made progress on allowing V's Fix to work under Linux. I hadn't realized it earlier, but without adding overrides to Wine for any DLLs that the fix expects it would instead try to use Wine's re-implementation of that DLL and fail at its task. For example, the FOV fix wouldn't actually apply, nor any of the ASI mods that are used for some speedrunner QoL changes.
I'm also now making use of the IndirectSound library as a drop-in replacement for dsound.dll. It doesn't resolve the delay I've discussed previously, however it does resolve issues with game audio becoming choppy and echoed.
Updated version of lutris_mgs2s.yml.txt. As before, remove the .txt extension and it can be used to automatically install a local download of the GOG version of the game while also applying the fix and my configuration.
I'm also happy to report that this Lutris install script does work on a Steam Deck, and besides the already noted sound effect delay I believe the only remaining issue would be automatically applying a controller configuration that works with Steam's default gamepad setup which I just haven't taken the time to nail down yet.
I got the regular version not the GOG version, installed and I have no sound issues at all but I have no controller at all. The steam deck doesn't recognize it. I have to do have keyboard mappings. I used litrus to run the installer and then used it again to run V patch. I used winetricks listed dsound,directmusic, dsdmo and quartz. Everything works well except the controller. I also now have litrus pointing straight to mgs_sse.exe I think it is called. Any help would be greatly appreciated.
So I've managed to make it work pretty okay. The default xbox scheme [V's] isn't... comfortable by any means on the steamdeck, so I'mma play with that quite a bit.
That said, I can confirm that the game does not detect triggers set in Steam Input, so... that's unfortunate. My work around was to use the Xbox Controller layout in the launcher and then set the triggers in steam input to react on soft press using the keyboard controls for item/weapon, but this means you lose out on the analog aspects. Also no vibration for the steamdeck, so I might just make a new thread for that if needed with all the little things I'm seeing.
To add, playing with the steam deck I have had 0 problems with any other title using the controller so far, from Cyberpunk to FFXIV to Metal Gear Survive >_> Yeah I tried it on there. Goal was to get EVERY metal gear game on my steam deck, but I wanna use the PC version specifically, so i'm not entirely sure if the xinput/steam input going on here.
Just posting for reference.
I experimented with delcake's config. I figured out that to make both the controller and widescreen settings work, only msacm32
needs to be overridden. I assume that d3d8
and d3d9
also need to be overriden for anti-aliasing to work, but even then, there's no harm done when overriding them. Unfortunately, triggers don't seem to work, so no weapon and item selection.
I have to admin: I have my Steam Deck since...well, the first shipping wave.
But I never tried (seriously, at least) make the game working on it.
A lot of people reached a satisfying way to make it running doing a lot of manual things.
Is just...that somehow I don't like them: V's was born as a "click once this button, and the game will run, without effort".
Instead, I don't think is actually possible do that, on Linux/Deck.
From what I got, the "Lutris way" seems to be the most easiest way, but is still too annoying for my standards.
Also, I have to admit it: V's fix NEED some upgrade, even on the Windows version: I should remove some dx wrappers, use a different audio library.
This will improve the compatibility on Windows by a lot, and probably also increase it for running it under Proton.
Thus, that's why I didn't "messed up" too much with Deck/Proton/Linux: I should keep the Windows version "on par" with my expectations, and only then focus on make it running as effortlessly on Deck.
Where's the culprit: I can't find the mental energy to work on V's fix, because I'm generally truly tired. I mean....truly tired.
I will pin this issue and try to find a way to keep this on track on whatever improvement I can reach.
Thanks to everyone guys, I really appreciate your effort in keeping the game alive even on the Deck.
I've been poking at this off and on in my own time as well especially now that my own Steam Deck has arrived, and have made progress on allowing V's Fix to work under Linux. I hadn't realized it earlier, but without adding overrides to Wine for any DLLs that the fix expects it would instead try to use Wine's re-implementation of that DLL and fail at its task. For example, the FOV fix wouldn't actually apply, nor any of the ASI mods that are used for some speedrunner QoL changes.
I'm also now making use of the IndirectSound library as a drop-in replacement for dsound.dll. It doesn't resolve the delay I've discussed previously, however it does resolve issues with game audio becoming choppy and echoed.
Updated version of lutris_mgs2s.yml.txt. As before, remove the .txt extension and it can be used to automatically install a local download of the GOG version of the game while also applying the fix and my configuration.
I'm also happy to report that this Lutris install script does work on a Steam Deck, and besides the already noted sound effect delay I believe the only remaining issue would be automatically applying a controller configuration that works with Steam's default gamepad setup which I just haven't taken the time to nail down yet.
I found out that using indirectsound instead of the creative wrapper I'm using will fix the audio delay.
Can you try to use it instead?
Delete the "dsound.dll" and "dsound.ini" from the game folder, and use Indirectsound wrapper instead.
Maybe it can improve the situation
The game finally works for me on Linux with Lutris ! After a few hours of tinkering.
I used :
EDIT : AA doesn't seem to work, it's very jaggy. I think I'll add my own Reshade instead of the SweetFx, not sure the latter works on Linux
EDIT : Mmm... Not sure this is proper 16/9. Though I have 'Maintain aspect ratio' checked in V's settings...
The game finally works for me on Linux with Lutris ! After a few hours of tinkering.
I used :
* Latest V's Fix * Wine (System 7.0) * Dxvk enabled * Esync Enabled * Create a new Wine profile dedicated to MSG2 and add the following components : xact directmusic dsdmo quartz (with Winetricks).
EDIT : AA doesn't seem to work, it's very jaggy. I think I'll add my own Reshade instead of the SweetFx, not sure the latter works on Linux
EDIT : Mmm... Not sure this is proper 16/9. Though I have 'Maintain aspect ratio' checked in V's settings...
Try overriding the msacm32 library. Pretty much, if the Konami logo in the beginning is in letterboxed 4:3 and not stretched, the Maintain aspect ratio setting works
Try overriding the msacm32 library. Pretty much, if the Konami logo in the beginning is in letterboxed 4:3 and not stretched, the Maintain aspect ratio setting works
Thanks for the reply Unfortunately I tried every combination of overriding for that 'msacm32' library and the Konami logo still shows as stretched
EDIT : it does work !!
I incorrectly put the override on the executable "MGS2SSetup.exe" only while it should be put overall / system-wide like this :
Thanks ArtyIF !
Try overriding the msacm32 library. Pretty much, if the Konami logo in the beginning is in letterboxed 4:3 and not stretched, the Maintain aspect ratio setting works
Thanks for the reply Unfortunately I tried every combination of overriding for that 'msacm32' library and the Konami logo still shows as stretched
EDIT : it does work !!
I incorrectly put the override on the executable "MGS2SSetup.exe" only while it should be put overall / system-wide like this :
Thanks ArtyIF !
Hey, are you using an Xbox controller (or a compatible one)? If you do, do the triggers work?
Hey, are you using an Xbox controller (or a compatible one)? If you do, do the triggers work?
No the triggers don't work for me too. Sometimes a nightmare on Linux to find out good control mappings...
Anyone able to apply msaa_8x ?
I use the following dxcfg.ini :
[dxcfg]
display=desktop
presentation=application
aspect=enabled
scaling=fit
vsync=application
gamma=1.0
anisotropic=enabled
antialiasing=msaa_8x
... and msaa doesn't seem to work at all
(I'm NOT using FXAA or SMAA in V's settings)
I'm using latest V's Fix 1.8.1 (which is apparently compatible with Gog fix that added MSAA) and yet it doesn't work, on Lutris at least. Sorry if this is off-topic. I know it's a Steam Deck topic. But as far as I know they kind of use the same software behind so...
EDIT : I also took into account Delcake's findings and also added d3d8, d3d9... and other dll he mentions about in his script in the Wine override list. But it doesn't help getting msaa working...
EDIT : Well at least I have now vkBasalt enabled through Lutris and I've got FXAA working. Duh...
I guess that here's we have a culprit: V's fix is actually using wrappers that I want to replace with dvxk or dgVodoo (probably this).
I'm sure these 2 wrappers have an higher compatibility than the ones I'm using right now.
That's why I'm kinda in trouble with Linux right now: we are trying to make something "old" compatible.
I will try to release a new version that include dgVodoo and a new audio wrapper, and this should make it much more compatible with both windows and linxu.
Ok, if anyone is interested and also struggle with this. I managed to run mgs2 (metal gear solid 2) (gog version) with both V's fix and S.O.S mod (3rd person view mod) on the Steam Deck.
After a lot of installing, reinstalling I figured it out.
There is a fork of V's fix (that points to sos mod) and a Lutris install script from someone out there. This IS NOT NEEDED, I do not recommend using these as not sure what the options these users have added and not sure it will work that way, also not sure how safe it is to use those. Please use "official" binaries only from the links above.
You will then be able to launch it with 3rd person view mod.
I am not having currently the aspect ratio corrected, but that will be my next task to achieve. I am aware that also adding msacm32 dll library will allow for that aspect ratio, but originally I broke my installation when fiddling with adding msacm32. I will try later today to have the aspect ratio also fixed and both mods enabled and will post findings here.
EDIT: adding mscam32 library breakes the s.o.s (3rd person) mod. I haven't found a way to enable correct aspect ratio (non-streched) and s.o.s patch. Is there an alternative of using mscam32?
There is an lutris install script to install game now at https://lutris.net/games/metal-gear-solid-2-substance/.
hopefully someone can include 3d person view mod with it.
Ok, if anyone is interested and also struggle with this. I managed to run mgs2 (metal gear solid 2) (gog version) with both V's fix and S.O.S mod (3rd person view mod) on the Steam Deck.
After a lot of installing, reinstalling I figured it out.
- Install MGS2 from Lutris with GOG, default options.
- Install V's fix (otherwise you get a directx 8 error) by copying MGS2Setup.exe that you can download here: https://github.com/VFansss/mgs2-v-s-fix/releases
- In Lutris > MGS2 > Run EXE inside prefix > open v's fix exe: MGS2Setup.exe
- Launch winetricks from within Lutris and add the following DLLs: dsound, directmusic, dsdmo, quartz.
- Once the game launches properly via Lutris, now it is time to install s.o.s (3rd person view) mod. Download it here: https://github.com/oct0xor/mgs2sos/releases
- Copy solid_mods_loader.exe along with the mods folder from s.o.s mod.
- In Lutris; create a new shortcut using the '+' sign and select the solid_mods_loader.exe. Make sure to use the same prefix as the game. I left it all untouched, just choose the executable.
- Use the new Lutris shortcut to add to Steam.
There is a fork of V's fix (that points to sos mod) and a Lutris install script from someone out there. This IS NOT NEEDED, I do not recommend using these as not sure what the options these users have added and not sure it will work that way, also not sure how safe it is to use those. Please use "official" binaries only from the links above.
You will then be able to launch it with 3rd person view mod.
I am not having currently the aspect ratio corrected, but that will be my next task to achieve. I am aware that also adding msacm32 dll library will allow for that aspect ratio, but originally I broke my installation when fiddling with adding msacm32. I will try later today to have the aspect ratio also fixed and both mods enabled and will post findings here.
EDIT: adding mscam32 library breakes the s.o.s (3rd person) mod. I haven't found a way to enable correct aspect ratio (non-streched) and s.o.s patch. Is there an alternative of using mscam32?
Renaming Ultimate ASI Loader to winmm.dll and then adding the override works for me, but I still can't run the SOS mod. Maybe there are more conflicting overrides?
That Lutris script works like a charm, i was trying to install it manual mode and too many steps to make it just work.
Who gets a graphics glitch, then he must go model setting from High to Medium. Strange why this is so.
Hi I’m trying to install this using litres but no matter what install script I use I always get “return code 256” when it starts the install of directx9/directx_apr2006_redist.exe
Anyone know tho fix please?
Ive tried a factory restored steam deck os on a steam deck
thanks
@Gshaw3000 The scripts generally do not work, so you have to install them manually. Note that with winetricks you can only install the DLLs individually. Whenever you have installed one DLL then go out and back to winetricks and install the next one. You need four of them and only then it works. Here are the guide:
1. Install MGS2 from Lutris with GOG, default options. 2. Install V's fix (otherwise you get a directx 8 error) by copying MGS2Setup.exe that you can download here: https://github.com/VFansss/mgs2-v-s-fix/releases 3. In Lutris > MGS2 > Run EXE inside prefix > open v's fix exe: MGS2Setup.exe 4. Launch winetricks from within Lutris and add the following DLLs: dsound, directmusic, dsdmo, quartz.
Hi I’m trying to install this using litres but no matter what install script I use I always get “return code 256” when it starts the install of directx9/directx_apr2006_redist.exe
Anyone know tho fix please?
Ive tried a factory restored steam deck os on a steam deck
thanks
That's because the script tries to download "directx_apr2006_redist.exe" from a link that's dead so it fails with the code 256 The workaround is to find directx_apr2006_redist.exe or any redist from the 2006 and rename it directx_apr2006_redist.exe. Then place it in the same folder that lutris keeps all the temp files it downloads for the install.
Not a lutris issue, not a steam deck issue nor an issue with the Vfansss patch, but a script that's not updated and tries to download something from a dead link.
So I finally have the game installed and it launches. The issue im having is I cant get out of the menus. The buttons work going from "press start" but then I can move the cursor with my joysticks but every button takes me back to the "press start" screen or makes the screen flash. Ive tried every controller config in the v's fix setup menu.
Can anyone shed some light on how they got their deck controls set up?
OK progress, I changed the input method to steam controller and im using the top community layout and most of the input it working, however when I unequip and requip guns they don't reload. Ans anyone sorted that?
Has anyone here managed to run V's and SOS mod with proper widescreen, without the screen stretching? I can run the both mods together but cannot seem to fix aspect ratio.
Try overriding the msacm32 library. Pretty much, if the Konami logo in the beginning is in letterboxed 4:3 and not stretched, the Maintain aspect ratio setting works
Thanks for the reply Unfortunately I tried every combination of overriding for that 'msacm32' library and the Konami logo still shows as stretched EDIT : it does work !! I incorrectly put the override on the executable "MGS2SSetup.exe" only while it should be put overall / system-wide like this : Thanks ArtyIF !
Hey, are you using an Xbox controller (or a compatible one)? If you do, do the triggers work?
Hi. Have you been able to get Triggers to work?
Try overriding the msacm32 library. Pretty much, if the Konami logo in the beginning is in letterboxed 4:3 and not stretched, the Maintain aspect ratio setting works
Thanks for the reply Unfortunately I tried every combination of overriding for that 'msacm32' library and the Konami logo still shows as stretched EDIT : it does work !! I incorrectly put the override on the executable "MGS2SSetup.exe" only while it should be put overall / system-wide like this : Thanks ArtyIF !
Hey, are you using an Xbox controller (or a compatible one)? If you do, do the triggers work?
Hi. Have you been able to get Triggers to work?
I still haven't, and whatever I did broke it more because now it crashes during certain cutscenes :(
Anyone find a way to get widescreen working correctly with the third person mod? After applying the override only the base game works. Guess I'll have to play with thick characters at the moment.
I could not be bothered anymore about tweaking it many times, etc. I have purchased the new steam version and will wait until the 3rd person mod comes out there.
On Wed, Nov 15, 2023, 3:05 PM LunarFirestorm @.***> wrote:
Anyone find a way to get widescreen working correctly with the third person mod? After applying the override only the base game works. Guess I'll have to play with thick characters at the moment.
— Reply to this email directly, view it on GitHub https://github.com/VFansss/mgs2-v-s-fix/issues/161#issuecomment-1812595853, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACD4JKWGTWAUH6RJNSBRS6TYETD3XAVCNFSM4YEJNHJ2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBRGI2TSNJYGUZQ . You are receiving this because you commented.Message ID: @.***>
I could not be bothered anymore about tweaking it many times, etc. I have purchased the new steam version and will wait until the 3rd person mod comes out there.
Hopefully someone either ports the SoS mod to the HD collection version or figures out how to get the widescreen working correctly with SoS. None of the .aci scripts are working on Deck.
I found out that using indirectsound instead of the creative wrapper I'm using will fix the audio delay.
Can you try to use it instead?
Delete the "dsound.dll" and "dsound.ini" from the game folder, and use Indirectsound wrapper instead.
Maybe it can improve the situation
I only have "dsound_x64.dll". The game launched when I renamed the indirect sound "dsound.dll" to "dsound_x64.dll", but it sounds identical. Same audio delay and occasional chirping.
I really have no clue what I'm doing, so I thought I put an image and how I got here.
Baisically, I followed this guide - https://www.youtube.com/watch?v=LC8FunBpzcg Up to the 2.0 patch. For some reason the patch didn't pick up the mgs 2 files, so I went with this fix instead. That resulted in a black screen, so I set the winecfg to windows xp as well as setting the d3d8 override. I'm really not sure where to go from here however.