Heroic-Games-Launcher / HeroicGamesLauncher

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
https://heroicgameslauncher.com
GNU General Public License v3.0
7.6k stars 408 forks source link

Ghostrunner wrong launch options #3751

Open nonoche2 opened 1 month ago

nonoche2 commented 1 month ago

Describe the bug

Add logs

n/a

Steps to reproduce

1) launch Ghostrunner

Expected behavior

the game should work like the Steam version does

Screenshots

No response

Heroic Version

Latest Stable

System Information

Additional information

No response

imLinguin commented 1 month ago

Could you provide more context like game log or details as to where the game was bought

nonoche2 commented 1 month ago

my apologies, the game was baught on the Epic Games Store.

When I install it without touching the launch options menu, the game runs fine. But if I click on the launch options menu, only "Ghostrunner DirectX 12" is available (Steam version offers an additional DirectX 11 launch option). If I select that, then the game fails to launch from then on, and I can't unselect the launch option (I have to uninstall the game and reinstall it for it to work again).

If I run it after selecting the Direct X 12 launch option, I get an error alert saying "DX12 is not supported on your system, try running without the -dx12 or -d3d12 command line argument" (which is odd since D3DMetal does support DirectX 12)

Here's Heroic's log :

Launching "Ghostrunner" (legendary) Native? No Installed in: /Volumes/Transcend/Heroic/Ghostrunner

System Info: CPU: 8x Apple M1 Memory: 17.18 GB (used: 4.37 GB) GPUs:

OS: 14.4.1 (darwin)

The current system is not a Steam Deck We are not running inside a Flatpak container

Software Versions: Heroic: 2.14.1 Flame Emperor Sabo Legendary: 0.20.34 Direct Intervention gogdl: 1.0.1 Nile: 1.0.2 Jonathan Joestar

Game Settings: { "autoInstallDxvk": true, "autoInstallDxvkNvapi": false, "autoInstallVkd3d": true, "preferSystemLibs": false, "enableEsync": true, "enableMsync": true, "enableFsync": true, "launcherArgs": "", "nvidiaPrime": false, "enviromentOptions": [], "wrapperOptions": [], "showFps": false, "useGameMode": false, "battlEyeRuntime": false, "eacRuntime": false, "language": "", "beforeLaunchScriptPath": "", "afterLaunchScriptPath": "", "wineVersion": { "bin": "/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin/wine", "name": "CrossOver - 24.0.1", "type": "crossover", "wineserver": "/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin/wineserver" }, "wineCrossoverBottle": "Heroic-D3DMetal", "winePrefix": "/Users/nonoche/Games/Heroic/Prefixes" }

Game launched at: Tue May 14 2024 13:01:30 GMT-0400 (Eastern Daylight Time)

Winetricks packages:

Launch Command: HEROIC_APP_NAME=ea8df71f923649a193ab1c1fded7e1b3 HEROIC_APP_RUNNER=legendary HEROIC_APP_SOURCE=epic LD_PRELOAD= DOTNET_BUNDLE_EXTRACT_BASE_DIR= DOTNET_ROOT= CX_BOTTLE=Heroic-D3DMetal WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEMSYNC=1 /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/legendary launch ea8df71f923649a193ab1c1fded7e1b3 -dx12 --wine /Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin/wine --language en

Game Log: [cli] INFO: Logging in... [Core] INFO: Trying to re-use existing login session... [cli] INFO: Checking for updates... [Core] INFO: Getting authentication token... [cli] INFO: Using CrossOver Bottle "Heroic-D3DMetal" [cli] INFO: Launching ea8df71f923649a193ab1c1fded7e1b3... msync: bootstrapped mach port on wine-c9cf6c5-msync. msync: up and running. ============= End of log =============

zastrixarundell commented 1 month ago

For me on Linux at least there are the "default" and DX12 launch options:

image

When I don't select anything, it's DX11/DXVK, otherwise it's DX12/VKD3D.

Kajot-dev commented 1 month ago

It's true that it cannot be deselected once selected (so You must restart Heroic to deselect dx12 back to default dx11).

I think that game not running in dx12 mode is not directly tied to Heroic though. (insert works on my machine here, but on linux, not mac)

nonoche2 commented 1 month ago

thing is, the DX12 version works fine on Mac thanks to GPTK (the Steam version of the game runs like a charm with DX12). Also, restarting Heroic doesn't reset the launch option for me, I have to uninstall the game once the DX12 option has been selected