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

Call of Juarez Gunslinger (204450) #366

Open
dragonfly-lover opened this issue Aug 24, 2018 · 25 comments
Open

Call of Juarez Gunslinger (204450) #366

dragonfly-lover opened this issue Aug 24, 2018 · 25 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues

Comments

@dragonfly-lover
Copy link

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

@s3rg3
Copy link

s3rg3 commented Aug 24, 2018

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.

@tfaller
Copy link

tfaller commented Aug 24, 2018

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

@HonkingGoose
Copy link

HonkingGoose commented Jan 28, 2019

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!

@kisak-valve kisak-valve added Game compatibility - Unofficial Games not expected to work without issues and removed Whitelist Request Community tested games to be whitelisted in Steam labels Jan 28, 2019
@kisak-valve kisak-valve changed the title [Whitelist] - Call of Juarez, Gunslinger (204450) Call of Juarez Gunslinger (204450) Jan 28, 2019
@AwesamLinux
Copy link

AwesamLinux commented Apr 29, 2019

@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

@kisak-valve
Copy link
Member

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))

@HonkingGoose
Copy link

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

@VoodaGod
Copy link

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

@DanMan
Copy link

DanMan commented Apr 4, 2020

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.

@LevitatingBusinessMan
Copy link

LevitatingBusinessMan commented Dec 16, 2021

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)

@VoodaGod
Copy link

VoodaGod commented Dec 17, 2021

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

@LevitatingBusinessMan
Copy link

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).

@VoodaGod
Copy link

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
Copy link

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)

@DanMan
Copy link

DanMan commented Dec 23, 2021

Feel free to edit your last comment instead next time.

@fedor4ever
Copy link

Tried Proton 8.0 on steam deck - audio still crackles.

@ranplayer
Copy link

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
Copy link

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

@kisak-valve kisak-valve added the Regression Confirmed working on an older version of Proton label Mar 29, 2024
@waspennator
Copy link

waspennator commented Mar 29, 2024

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

@kisak-valve
Copy link
Member

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.)

@waspennator
Copy link

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

@kisak-valve
Copy link
Member

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

@Scapior
Copy link

Scapior commented May 4, 2024

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%

@alasky17
Copy link
Collaborator

alasky17 commented May 6, 2024

@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
Copy link
Collaborator

alasky17 commented Jul 2, 2024

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 :)

@kisak-valve kisak-valve added the Need Retest Request to retest an issue with vanilla Proton label Jul 2, 2024
@kisak-valve kisak-valve removed Regression Confirmed working on an older version of Proton Need Retest Request to retest an issue with vanilla Proton labels Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues
Projects
None yet
Development

No branches or pull requests

15 participants