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

Ghostrunner wrong launch options #3751

Open
nonoche2 opened this issue May 14, 2024 · 6 comments
Open

Ghostrunner wrong launch options #3751

nonoche2 opened this issue May 14, 2024 · 6 comments
Labels
bug:unconfirmed Someone works on identifying the issue

Comments

@nonoche2
Copy link

Describe the bug

  • Ghostrunner only has one launch option (DirectX 12) in the local menu which can't be unselected
  • when launched with CrossOver and D3DMetal (which supports DirectX 12), an error alert says my setup doesn't support DirectX 12 games and the game quits
  • the game runs fine with the Steam version and CrossOver

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

  • macOS Sonoma 14.4.1

Additional information

No response

@nonoche2 nonoche2 added the bug:unconfirmed Someone works on identifying the issue label May 14, 2024
@imLinguin
Copy link
Member

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

@nonoche2
Copy link
Author

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

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

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

nonoche2 commented Jun 3, 2024

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

@LucasSnatiago
Copy link

I'm having the same issue on linux:
image

Launching "Ghostrunner" (legendary)
Native? No
Installed in: /home/lucas/HD/Heroic/Games/Ghostrunner
System Info:
CPU: 12x AMD Ryzen 5 3600XT 6-Core Processor
Memory: 25.11 GB (used: 3.69 GB)
GPUs:
  GPU 0:
    Name: Advanced Micro Devices, Inc. [AMD/ATI] Navi 33 [Radeon RX 7600/7600 XT/7600M XT/7600S/7700S / PRO W7600]
    IDs: D=7480 V=1002 SD=e482 SV=1da2
    Driver: amdgpu
OS: Arch Linux 6.11.6-zen1-1-zen (linux)
The current system is not a Steam Deck
We are not running inside a Flatpak container

Software Versions:
  Heroic: 2.15.2 Emeth
  Legendary: 0.20.36 Urban Flight (Heroic)
  gogdl: 1.1.2
  comet: comet 0.1.2
  Nile: 1.1.2 Will A. Zeppeli

Game Settings: {
	"autoInstallDxvk": true,
	"autoInstallDxvkNvapi": false,
	"autoInstallVkd3d": true,
	"preferSystemLibs": false,                                                
	"enableEsync": true,
	"enableMsync": false,
	"enableFsync": true,
	"launcherArgs": "",
	"nvidiaPrime": false,
	"offlineMode": false,
	"enviromentOptions": [],
	"wrapperOptions": [],
	"savesPath": "/home/lucas/HD/Heroic/Prefixes/Ghostrunner/pfx/drive_c/users/steamuser/AppData/Local/Ghostrunner/Saved/SaveGames",
	"showFps": false,
	"targetExe": "",
	"useGameMode": false,
	"useSteamRuntime": true,
	"battlEyeRuntime": true,
	"eacRuntime": true,
	"language": "",
	"beforeLaunchScriptPath": "",
	"afterLaunchScriptPath": "",
	"gamescope": {
		"enableUpscaling": false,
		"enableLimiter": false,
		"windowType": "fullscreen",
		"gameWidth": "",
		"gameHeight": "",
		"upscaleHeight": "",
		"upscaleWidth": "",
		"upscaleMethod": "fsr",
		"fpsLimiter": "",
		"fpsLimiterNoFocus": "",
		"additionalOptions": ""
	},

	"wineVersion": {
		"bin": "/home/lucas/.local/share/Steam/steamapps/common/Proton - Experimental/proton",
		"name": "Proton - Proton - Experimental",
		"type": "proton"
	},
	"winePrefix": "/home/lucas/HD/Heroic/Prefixes/Ghostrunner",
	"wineCrossoverBottle": ""
}

Game launched at: Thu Nov 28 2024 21:38:51 GMT-0300 (Horário Padrão de Brasília)
Winetricks packages: w_workaround_wine_bug-50894, ucrtbase2019, vcrun2019

Launch Command: HEROIC_APP_NAME=ea8df71f923649a193ab1c1fded7e1b3 HEROIC_APP_RUNNER=legendary GAMEID=umu-0 HEROIC_APP_SOURCE=epic STORE=egs STEAM_COMPAT_INSTALL_PATH=/home/lucas/HD/Heroic/Games/Ghostrunner LD_PRELOAD= STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/lucas/.steam/steam WINEPREFIX=/home/lucas/HD/Heroic/Prefixes/Ghostrunner STEAM_COMPAT_DATA_PATH=/home/lucas/HD/Heroic/Prefixes/Ghostrunner PROTONPATH="/home/lucas/.local/share/Steam/steamapps/common/Proton - Experimental" WINE_FULLSCREEN_FSR=0 PROTON_DISABLE_NVAPI=1 PROTON_EAC_RUNTIME=/home/lucas/.config/heroic/tools/runtimes/eac_runtime PROTON_BATTLEYE_RUNTIME=/home/lucas/.config/heroic/tools/runtimes/battleye_runtime STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId=heroic-Ghostrunner PROTON_LOG_DIR=/home/lucas /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary launch ea8df71f923649a193ab1c1fded7e1b3 -dx12 --no-wine --wrapper "/home/lucas/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/_v2-entry-point -- "/home/lucas/.local/share/Steam/steamapps/common/Proton - Experimental/proton" waitforexitandrun" --language pt_BR

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: Launching ea8df71f923649a193ab1c1fded7e1b3...
wine: using kernel write watches, use_kernel_writewatch 1.
fsync: up and running.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
[S_API FAIL] SteamAPI_Init() failed; no appID found.
Either launch the game from Steam, or put the file steam_appid.txt containing the correct appID in your game folder.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
============= End of log =============

Edit: I reinstalled the game and fixed completely the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:unconfirmed Someone works on identifying the issue
Projects
None yet
Development

No branches or pull requests

5 participants