ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.13k stars 1.06k forks source link

Deus Ex: Revision (397550) #4958

Open shoober420 opened 3 years ago

shoober420 commented 3 years ago

Compatibility Report

System Information

As of this post, you cant install Deus Ex: Revision through Steam. I had to download the patch and try to manually apply it to my Deus Ex folder.

EDIT: Its a Steam UI bug.

https://www.moddb.com/mods/deus-ex-revision/downloads/deus-ex-revision

I downloaded the patch conveniently like this. wget -O Revision_1_6_1_0_SteamInstaller.zip https://www.moddb.com/downloads/mirror/92106/123/0642a26e018227b0637122fbc897a28f

I then backed up my Deus Ex folder in my Steam directory, and unzipped the patch. The patch comes with 3 ".wim" files. One of them being 2gigs+, and another being 1gig+, a much smaller sized one, and of course the ".exe" itself.

I used this command to install the game patch into the Deus Ex Proton prefix.

WINEPREFIX="/home/$USER/.steam/steam/steamapps/compatdata/6910/pfx" /home/$USER/.steam/root/steamapps/common/Proton\ -\ Experimental/files/bin/wine /home/$USER/deusexrevisionpatch/Revision_1_6_1_0_SteamInstaller.zip.exe

https://github.com/shoober420/rootscripts/blob/main/home/shoober420/protonwinegamepatch#L4

Symptoms

During the install, it took very fast to patch, considering the patch is about 3GBs. This was odd, and i noticed that it didnt write any files to the directory at all, and launching the game was still vanilla Deus Ex. Does Proton/Wine support the ".wim" file extension?

wineserver: using server-side synchronization.                                                                                                                                                 
002c:fixme:winediag:LdrInitializeThunk wine-staging 6.12 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0078:err:plugplay:deviceloop_thread Can't init SDL: SDL not built with joystick support
00f8:fixme:shell:SHAutoComplete stub
00f8:fixme:shell:BrsFolder_OnCreate flags BIF_NEWDIALOGSTYLE partially implemented
011c:fixme:wimgapi:WIMCreateFile (L"Z:\\home\\lokiju420_-\\deusexpoop\\Content_Stock.wim" -2147483648 3 2 0 036EFBE0) stub
011c:fixme:wimgapi:WIMCreateFile (L"Z:\\home\\lokiju420_-\\deusexpoop\\Content_Patch.wim" -2147483648 3 2 0 036EFBE0) stub
011c:fixme:wimgapi:WIMCreateFile (L"Z:\\home\\lokiju420_-\\deusexpoop\\Content_Steam.wim" -2147483648 3 2 0 036EFBE0) stub
011c:fixme:exec:SHELL_execute flags ignored: 0x00000100
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.

I unfortunately cant install this patch on a pure Linux machine. One would have to use windows to install this patch, then move the install over to Linux.

jarrard commented 3 years ago

I just tested this out. Download Deus Ex GOTY and then Revision, ran Normal deus ex first then linked the prefix folder to the number revision would run under (probably not needed but saves space). Revision appears to run fine for me. Maybe just try running it all via steam instead of doing some manual install method yourself!!!

shoober420 commented 3 years ago

@jarrard How are you downloading Revision? When I attempt to install the mod with Deus Ex GotY installed, I get this error. 20210712_08h20m41s_grim

The only way I can think of someone installing this mod on Linux is if they use Proton/Wine to install Steam and use a Proton/Wine Steam install to trick Steam into thinking its running on Windows to allow the patch to download.

shoober420 commented 3 years ago

@jarrard When you say, "linked the prefix folder to the number revision", do you mean used WINEPREFIX to point wine to install in the ~/.steam/root/steamapps/common/Deus Ex/Revision directory, or point to the ~/.steam/root/steamapps/compatdata/397550/pfx directory? What exactly did you do?

EDIT: Nevermind, I got it. You have to search for Revision in your games library, then right click on it, and go to compatibility, and force enable Proton there. This will fix the error message. I will post back with results.

coconitro commented 3 years ago

Game runs and installs fine for me after running Deus Ex unmodded first, mouse cursor is grabbed and stuck to the bottom left unfortunately makes the game in its modded form completely unplayable. Its so close, seems like the game works for some and not others.

shoober420 commented 3 years ago

Compatibility Report

System Information

Got it running, and here are the results. The game seems to ship with two different OpenGL renderers, according to the render select menu. I encountered three different bugs here, and i'll show them as the test procedure moves along.

GE D3D: The brightness works, and there is no washed out textures as mentioned in https://github.com/ValveSoftware/Proton/issues/798. There is also no wireframe bug, unique to OGL, which I will get to now.

GE OGLa: brightness slider is broken, and there is also a visible wireframe bug in the rendering for OpenGL, when a 3D object passes over the translucent main menu. 20210712_13h46m47s_grim

GE OGLb: same results as GE OGLa

Ex D3D: brightness slider works, textures are NOT washed out, and there is no wireframe glitch. It works perfectly.

Ex OGLa: brightness slider works, textures are washed out, wireframe bug

Ex OGLb: same results as Ex OGLa

The game also freezes and stutters when you are moving the brightness slider. Performance is noticeably lower using D3D.

Here are some screenshots of the default brightness levels of each render using Experimental.

Ex D3D: 20210712_14h05m25s_grim

Ex OGL: 20210712_14h03m54s_grim

jarrard commented 3 years ago

How are you downloading Revision?

Did you press play now? never got that issue. Yep enable compatibility.

I just used DX9 option, there is also a DX10 mod floating abouts if you want to try that.

The OGL options may not have all the fancy updates by community.

Proton version: 6.12-GE-1 / Experimental : I used proton 6.3-5 for testing. Didn't notice any performance issues but if your trying to get 200fps then perhaps.. playing at 4k here got well over 100fps.

shoober420 commented 3 years ago

@jarrard With the way you explained how you got it working, sounds more than just “pressing play” but ok. No need to adjust prefixes like i tried originally which you evolved off of.

Since it’s a mod, it also will always say “install now” highlighted in green, unlike it being greyed out, like a traditional windows game on linux, which brought further confusion.

Considering how much you lacked testing compared to me, you don’t know how much better OpenGL runs compared to D3D.

Already tested D3D10 on GotY that i linked earlier if you didn’t notice.

https://github.com/ValveSoftware/Proton/issues/798#issuecomment-570986587

Since you know about D3D10 kentie, and considering how about you blindly assumed i didn’t know about it, how about you test on Revision since you know it’s a thing?

jarrard commented 3 years ago

No need to adjust prefixes like i tried originally which you evolved off of.

I said I did it to reserve space otherwise you have 2 prefixes for 1 game basically. :) I was only doing a quick test to see if I had your issues. I DID NOT, no need to get nasty!

shoober420 commented 3 years ago

@jarrard ok dude, save that less than 1gig of space. revision is completely different too, it’s hard to call it the same game.

you saying things like “did you press play now?” came off completely disrespectful, since like i mentioned, it’s a mod that will have a green install button even when compatibility isn’t set, which is what threw me off, and can throw someone else off too.

windows games on linux that don’t have compatibility set will have a greyed out install button. this isn’t the case for revision since it’s a mod.

did you even try opengl? there’s a big fps drop during intro cutscene, when the camera pans out to the big firefight in the road on D3D, and my machine is decent.

EDIT: Since the INSTALL NOW button shouldnt be green unless proton compatibility is enabled on it, i made an issue about the UI bug

jarrard commented 3 years ago

ok dude, save that less than 1gig of space. revision is completely different too, it’s hard to call it the same game.

I just assumed the mod MAY want registry and config files from the base game pre-existing in the prefix, so linking DeusEx to the mods prefix number works pretty well. I've done it before.

There is a option to install and also play now. I used play now button and it worked, but I think maybe your problem is steamplay has not been enabled for non-whitelist games which is a steam settings option you can tick on. I had that ticked on, hence I never get bad platform errors.

I just tried the recommended d3d9 option. Of cause there could be performance issues throughout the game which I have not tested yet. Only the intro/tutorial.

shoober420 commented 3 years ago

So i cant "enable steam play for all titles" because of another bug when having a third party Proton in the ~/.steam/root/compatibilitytools.d directory. Doing so will always have that option unticked after the required restart of Steam, hence me manually needing to enable it for each game.

When removing Proton-GE and enabling steam play for all titles, the INSTALL button is now blue instead of green like in the picture i posted earlier. Thats one way of fixing it, but not everyone, like me unfortunately, has that option enabled. Its still a Steam UI bug, as the button should be greyed out since proton compatibility wasnt enabled on it.

https://github.com/ValveSoftware/Proton/issues/4958#issuecomment-878457955

The "play now" button doesnt appear until after its installed, which is why i thought you were being a smart alec lol. I'm going to make an issue about the other Steam UI bug now.

https://github.com/ValveSoftware/steam-for-linux/issues/7921

jarrard commented 3 years ago

So i cant "enable steam play for all titles" because of another bug when having a third party Proton in the ~/.steam/root/compatibilitytools.d directory. Doing so will always have that option unticked after the required restart of Steam, hence me manually needing to enable it for each game.

I'm not sure what you mean here. I have proton-GE and have no problems. Are you saying if you set the DEFAULT proton as a GE version then after restart it will untick using proton altogether? I have proton6.3-5 as default I think, can't remember.

shoober420 commented 3 years ago

Yes, when you set Proton-GE as default, the box will remain unticked and steamplay isn’t enabled for all titles.

jarrard commented 3 years ago

Ok, well technically you shouldn't be using proton-GE by default unless there is a reason too, such as a game doesn't work. Otherwise it makes it hard to post bug reports because GE has allot of extra work arounds going on. I generally try with default proton to start with anyway.

shoober420 commented 3 years ago

It doesn’t matter what your default Proton is as long as you provide a log of Experimental for them to see as well. I provide GE logs along with Experimental to provide as much information as possible.

bradgy commented 1 year ago

Not sure if this is a regression or if I misconfigured something since I switched from an Arch based distro (Endeavour) to Ubuntu 22.10 recently. Deus Ex Revision launcher and then load graphic and window show briefly before crashing and returning to Steam.

Tried vanilla GOTY and the same thing happened. All other proton experimental titles I have installed at the moment working as expected.

3700X, 5700XT, Ubuntu 22.10, Proton experimental, Wayland. steam-397550.log

edit... aaaaaand, it's already fixed. I don't know what I did, if anything, but it's working as normal again now. Please ignore the above comment.

kisak-valve commented 7 months ago

deus ex revision steamplay proton 7.0-6 error crashings and freeze

Issue transferred from https://github.com/ValveSoftware/Proton/issues/7523. @weron3 posted on 2024-02-26T01:54:51:

Computer Information: ``` Manufacturer: MSI Model: B85M-E45 (MS-7817) Form Factor: Desktop No Touch Input Detected Processor Information: CPU Vendor: GenuineIntel CPU Brand: Intel(R) Pentium(R) CPU G3420 @ 3.20GHz CPU Family: 0x6 CPU Model: 0x3c CPU Stepping: 0x3 CPU Type: 0x0 Speed: 3200 MHz 2 logical processors 2 physical processors Hyper-threading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported AES: Unsupported AVX: Unsupported AVX2: Unsupported AVX512F: Unsupported AVX512PF: Unsupported AVX512ER: Unsupported AVX512CD: Unsupported AVX512VNNI: Unsupported SHA: Unsupported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported Operating System Version: Ubuntu 22.04.4 LTS (64 bit) Kernel Name: Linux Kernel Version: 6.5.0-21-generic X Server Vendor: The X.Org Foundation X Server Release: 12201001 X Window Manager: GNOME Shell Steam Runtime Version: steam-runtime_0.20231127.68515 Video Card: Driver: Intel Mesa Intel(R) HD Graphics (HSW GT1) Driver Version: 4.6 (Compatibility Profile) Mesa 24.0.1 - kisak-mesa PPA OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 59 Hz VendorID: 0x8086 DeviceID: 0x402 Revision Not Detected Number of Monitors: 1 Number of Logical Video Cards: 1 Primary Display Resolution: 1024 x 768 Desktop Resolution: 1024 x 768 Primary Display Size: 10.67" x 7.99" (13.31" diag), 27.1cm x 20.3cm (33.8cm diag) Primary VRAM Not Detected Sound card: Audio device: Intel Haswell HDMI Memory: RAM: 3769 Mb VR Hardware: VR Headset: None detected Miscellaneous: UI Language: English LANG: fi_FI.UTF-8 Total Hard Disk Space Available: 937289 MB Largest Free Hard Disk Block: 766997 MB Storage: Number of SSDs: 2 SSD sizes: 1000G,0B Number of HDDs: 0 Number of removable drives: 0 ```

Kuvakaappaus - 2024-02-26 03-12-09

kisak-valve commented 2 months ago

deus ex revision NVIDIA error

Issue transferred from https://github.com/ValveSoftware/Proton/issues/7904. @bones465 posted on 2024-07-15T10:32:04:

steamplay proton 7.0.6 and steamplay proton 3.16-9

Computer Information: ``` Manufacturer: EVGA INTERNATIONAL CO.,LTD Model: EVGA E672 Form Factor: Desktop No Touch Input Detected Processor Information: CPU Vendor: GenuineIntel CPU Brand: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz CPU Family: 0x6 CPU Model: 0x3a CPU Stepping: 0x9 CPU Type: 0x0 Speed: 4400 MHz 4 logical processors 4 physical processors Hyper-threading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported AVX2: Unsupported AVX512F: Unsupported AVX512PF: Unsupported AVX512ER: Unsupported AVX512CD: Unsupported AVX512VNNI: Unsupported SHA: Unsupported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported Operating System Version: Ubuntu 24.04 LTS (64 bit) Kernel Name: Linux Kernel Version: 6.8.0-38-generic X Server Vendor: The X.Org Foundation X Server Release: 12101011 X Window Manager: GNOME Shell Steam Runtime Version: steam-runtime_0.20240610.91380 Video Card: Driver: NVIDIA Corporation NVIDIA GeForce GTX 970/PCIe/SSE2 Driver Version: 4.6.0 NVIDIA 535.183.01 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 60 Hz VendorID: 0x10de DeviceID: 0x13c2 Revision Not Detected Number of Monitors: 1 Number of Logical Video Cards: 1 Primary Display Resolution: 1920 x 1080 Desktop Resolution: 1920 x 1080 Primary Display Size: 18.78" x 10.55" (21.54" diag), 47.7cm x 26.8cm (54.7cm diag) Primary Bus: PCI Express 16x Primary VRAM: 4096 MB Supported MSAA Modes: 2x 4x 8x 16x Sound card: Audio device: Realtek ALC889 Memory: RAM: 11924 Mb VR Hardware: VR Headset: None detected Miscellaneous: UI Language: English LANG: fi_FI.UTF-8 Total Hard Disk Space Available: 232587 MB Largest Free Hard Disk Block: 124801 MB Storage: Number of SSDs: 1 SSD sizes: 250G Number of HDDs: 0 Number of removable drives: 0 ```

Kuvakaappaus - 2024-07-15 13-10-56