Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Call of Juarez Gunslinger (204450)

Open dragonfly-lover opened this issue 6 years ago • 25 comments

Works out of the box like a charm!

System informations:

Steam client version: 23/08/2018 Distribution: Ubuntu update 18.04 Opted into Steam client beta?: Yes Have you checked for system updates?: Yes CPU: AMD Ryzen5 1500 RAM: 8GB Video Card: NVIDIA GTX750ti Driver version: NVidia 396.54 Video memory: 2GB

dragonfly-lover avatar Aug 24 '18 08:08 dragonfly-lover

if you don't install windows media player 10 you don't get the cut scenes, but the game is totally playable without them.

there was results for this on the wine appdb but i can't find them anymore.

s3rg3 avatar Aug 24 '18 11:08 s3rg3

I had two issues:

  • Gamma changes do not apply fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1
  • The log is spammed with err:d3d:wined3d_debug_callback 0x1fd080: "GL_INVALID_ENUM in glMatrixMode(mode)".

But apart from that two things it runs really well.

OS: Ubuntu 18.04 64-bit CPU: AMD Athlon(tm) II X4 620 GPU: AMD Radeon HD 7800 Series Driver Version: Mesa 18.3.0-devel - padoka PPA

tfaller avatar Aug 24 '18 13:08 tfaller

Hi,

I'm doing some research for my issue at number 1464. That issue deals with cinematic/video playback. Most of the listed games already have a proton log attached to their issue, but this game does not.

Could somebody be so kind as to upload a proton log from a clean install?

I need to search in the proton log for mentions of MF or quartz, so that I can categorize the game.

Thanks for the help!

HonkingGoose


Edit: I got my log. Thanks for the help!

HonkingGoose avatar Jan 28 '19 18:01 HonkingGoose

@HonkingGoose

Here is a log of when re-played two levels of the game, I believe there should have been a video cut-scene played at the beginning of each level that were skipped.

Videos are in wmv format, did a quick search for mfplat and quartz in the log but got no hits.

media_info.txt steam-204450.log system_info.txt

Distro: Linux Mint 19.1 Tessa (64 bit) GPU: Vega 56 Driver/LLVM version: Mesa 19.1.0-devel/9.0.0 Kernel version: 5.0.10-050010-lowlatency Proton version: 4.2-3

AwesamLinux avatar Apr 29 '19 14:04 AwesamLinux

Looks like this game uses WMVCore.dll. fixme:wmvcore:WMReader_Open (0xddcea90)->(L"z:/mnt/games/steamlibrary/steamapps/common/coj gunslinger/coj4/data/cinematics/intro.wmv" 0x12ee3b70 (nil))

kisak-valve avatar Apr 29 '19 14:04 kisak-valve

@AwesamLinux and @kisak-valve Thanks for the information, I've updated my list at #1464.

HonkingGoose avatar Apr 29 '19 16:04 HonkingGoose

i used this patch by @fallenguru to install wmp9 into my Call of Juarez Gunslinger prefix and now the cutscenes play perfectly. i tested this using Proton 5.0-2

the steps i did are:

  1. have winetricks installed (i have it from the manjaro community repo)
  2. copy the winetricks script (in my case it was at /usr/bin/winetricks) to another directory, eg. ~
cp /usr/bin/winetricks ~
  1. create a .patch file containing the patch, eg. wmp9on64.patch
echo '--- winetricks	2020-02-08 12:33:16.053305995 +0100
+++ winetricks-custom	2020-02-08 19:56:48.468458158 +0100
@@ -16046,7 +16046,7 @@
     # https://appdb.winehq.org/appview.php?versionId=1449
 
     # This version of Windows Media Player can be installed only on Windows 98 Second Edition, Windows Millennium Edition, Windows 2000, Windows XP(32-bit), and Windows .NET Server(32-bit).
-    w_package_unsupported_win64
+#    w_package_unsupported_win64
 
     w_call wsh57
 
@@ -16067,8 +16067,11 @@
     w_override_app_dlls MPSetup.exe native pidgen
 
     w_try_cd "$W_CACHE"/"$W_PACKAGE"
-    w_try "$WINE" MPSetup.exe $W_UNATTENDED_SLASH_Q
 
+    w_try cabextract -d "$W_TMP" ./MPSetup.exe
+    w_try_cd "$W_TMP"
+    w_try sed -i 's/IsWow64Process/IsNow64Process/' setup_wm.exe
+    "$WINE" setup_wm.exe $W_UNATTENDED_SLASH_CAP_QUIET
     load_wm9codecs
 
     w_set_winver 'default'' > wmp9on64.patch
  1. make sure you are in the directory containing both files, eg. ~
cd ~
  1. patch the winetricks script with your patch file
patch < wmp9on64.patch
  1. install wmp9 to your prefix using your modified winetricks script:
WINEPREFIX='/BLABLABLA/steamapps/compatdata/204450/pfx/' ./winetricks wmp9

Click through the installers. WMP9 setup will say it failed, but it doesn't matter

  1. play Call of Juarez with cutscenes on Proton!

you will see it works when you start the game and the UBISOFT/TECHLAND/CHROME ENGINE 5 startup video plays

VoodaGod avatar Feb 17 '20 00:02 VoodaGod

I'm getting graphical glitches whenever a level is over and the next one starts (max graphics settings):

gunslinger

Ubuntu 18.04, Kernel 5.3.0-45, Nvidia GTX 970 (440.64 driver), Proton 5.0-5, DX10 mode.

Restarting the whole game fixes it until the next level. Same in D3D9 mode.

P.S.: The latest Winetricks doesn't need the WMP patch anymore. You can just do WINEPREFIX='/path/to/steamapps/compatdata/204450/pfx' WINE='/path/to/steamapps/common/Proton 5.0/dist/bin/wine' /path/to/winetricks -q wmp9 for example.

DanMan avatar Apr 04 '20 22:04 DanMan

For some reasons when I install the media player via protontricks 204450 wmp9 the game starts with a black screen and crashes shortly after.

Edit: Fixed it by using a different version of proton (was using 6.21-GE-1 but am now using 4.11-13)

LevitatingBusinessMan avatar Dec 16 '21 18:12 LevitatingBusinessMan

~i believe this game should work out of the box with proton 6.3 or recent proton-ge versions now~

VoodaGod avatar Dec 17 '21 06:12 VoodaGod

i believe this game should work out of the box with proton 6.3 or recent proton-ge versions now

Are you sure? Because when I tried playing it I had no cutscenes for sure (before I installed wmp9).

LevitatingBusinessMan avatar Dec 18 '21 18:12 LevitatingBusinessMan

double checked and i did indeed still have wmp9 in my prefix. tried with a fresh prefix and no more cutscenes. though i don't have a problem running with 6.21-GE.

VoodaGod avatar Dec 19 '21 11:12 VoodaGod

tried writing a protonfix to automatically install wmp9 to be included in proton-ge, and noticed that on a newly created prefix the game window instantly closes with 6.21-GE. but i did get it to run with proton experimental. on my old prefix 6.21-GE works like a charm (i use it for the FSR patch)

VoodaGod avatar Dec 23 '21 09:12 VoodaGod

Feel free to edit your last comment instead next time.

DanMan avatar Dec 23 '21 15:12 DanMan

Tried Proton 8.0 on steam deck - audio still crackles.

fedor4ever avatar May 07 '23 21:05 fedor4ever

Audio crackling/cutting on the game's cutscenes. I've tried with Proton 8.0 and Experimental (2023-05-26)

Log file: steam-204450.tar.gz

Main errors lines:

(other plugin warnings like the one below...)
(wine:29201): GStreamer-WARNING **: 16:27:53.872: Failed to load plugin '/home/gamer/.local/share/Steam/steamapps/common/Proton - Experimental/files/lib64/gstreamer-1.0/libgstcoretracers.so': /home/gamer/.local/share/Steam/steamapps/common/Proton - Experimental/files/lib64/gstreamer-1.0/libgstcoretracers.so: wrong ELF class: ELFCLASS64
winegstreamer error: typefind: Internal data stream error.
winegstreamer error: typefind: ../src-gstreamer/plugins/elements/gsttypefindelement.c(1232): gst_type_find_element_loop (): /GstBin:bin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind:
streaming stopped, reason error (-5)
winegstreamer error: typefind: Internal data stream error.
winegstreamer error: typefind: ../src-gstreamer/plugins/elements/gsttypefindelement.c(1232): gst_type_find_element_loop (): /GstBin:bin1/GstDecodeBin:decodebin1/GstTypeFindElement:typefind:
streaming stopped, reason error (-5)
1240.391:0134:01d4:err:wmvcore:init_stream Failed to connect parser, hr 0x80004005.

Specs:

  • O.S: Arch
  • Kernel: 6.1.29
  • CPU: Ryzen 7 5700 G (8c/16t)
  • GPU: RX 6700 XT (Mesa 23.1.0)
  • Audio: pipewire (1:0.3.71-1) / pipewire-pulse (1:0.3.71-1) / wireplumber (0.4.14-1)

ranplayer avatar May 26 '23 19:05 ranplayer

This game crashes on launch with Proton 9.0 (Beta 16). It's playable with Proton 8.0-5. Logs: steam-204450.tar.gz

Specs:

  • OS: Arch
  • Kernel: 6.6.23
  • GPU: RX 6700 XT (Mesa 24.0.3)
  • CPU: Ryzen 7 5700G

ranplayer avatar Mar 29 '24 11:03 ranplayer

Crashes on proton Experimental on my oled deck too unless I drop to 8.0-5

waspennator avatar Mar 29 '24 20:03 waspennator

Hello @waspennator, please add PROTON_LOG=1 %command% to the game's launch options, reproduce the crash, and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.)

kisak-valve avatar Mar 29 '24 20:03 kisak-valve

Hello @waspennator, please add PROTON_LOG=1 %command% to the game's launch options, reproduce the crash, and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.)

steam-204450.log

waspennator avatar Mar 29 '24 21:03 waspennator

Thanks, that tells us you're seeing the same issue as @ranplayer at least.

kisak-valve avatar Mar 29 '24 21:03 kisak-valve

The game doesn't launch on my 5950X without a thead count limit.

WINE_CPU_TOPOLOGY=31:0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30 %command%

Scapior avatar May 04 '24 13:05 Scapior

@Scapior Thank you for reporting this! We now have a way to add a CPU topology override directly in Proton to fix games without everyone needing to independently investigate these tweaks :D

Would you mind getting a log of the launch failure to aid with our investigation? You can just add PROTON_LOG=1 %command% to your game launch options (without the topology override of course) to get a basic log.

alasky17 avatar May 06 '24 22:05 alasky17

This game crashes on launch with Proton 9.0 (Beta 16). It's playable with Proton 8.0-5. Logs: steam-204450.tar.gz

Specs:

  • OS: Arch
  • Kernel: 6.6.23
  • GPU: RX 6700 XT (Mesa 24.0.3)
  • CPU: Ryzen 7 5700G

@ranplayer @waspennator I forgot to update this github issue when this regression was fixed. Regression should be fixed in Proton 9.0-2 :)

alasky17 avatar Jul 02 '24 00:07 alasky17