Could not launch Shadow Tactics Blades of the Shogun

I have echoed the steam_appid into the game folder, but when launching the game from heroic using steam proton 7.0 it'll show the following logs
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 a334978574a840d594c31521592925f3...
wineserver: using server-side synchronization.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
[S_API FAIL] SteamAPI_Init() failed; connect to global user failed.Mono path[0] = 'Z:/home/jason/Data/Heroic/ShadowTacticsAikosChoice/Shadow Tactics_Data/Managed'
Mono path[1] = 'Z:/home/jason/Data/Heroic/ShadowTacticsAikosChoice/Shadow Tactics_Data/Mono'
Mono config path = 'Z:/home/jason/Data/Heroic/ShadowTacticsAikosChoice/Shadow Tactics_Data/Mono/etc'
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 a334978574a840d594c31521592925f3...
wineserver: using server-side synchronization.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
[S_API FAIL] SteamAPI_Init() failed; connect to global user failed.Mono path[0] = 'Z:/home/jason/Data/Heroic/ShadowTacticsAikosChoice/Shadow Tactics_Data/Managed'
Mono path[1] = 'Z:/home/jason/Data/Heroic/ShadowTacticsAikosChoice/Shadow Tactics_Data/Mono'
Mono config path = 'Z:/home/jason/Data/Heroic/ShadowTacticsAikosChoice/Shadow Tactics_Data/Mono/etc'
86 Replies
harsh-harlequin
harsh-harlequinOP•3y ago
Game Settings: {

"autoInstallDxvk": true,

"autoInstallVkd3d": true,

"preferSystemLibs": false,

"enableEsync": false,

"nvidiaPrime": false,

"enviromentOptions": [],

"wrapperOptions": [],

"showFps": false,

"useGameMode": false,

"useSteamRuntime": true,

"language": "",

"wineVersion": {

"bin": "/home/jason/Data/SteamLibrary/steamapps/common/Proton 7.0/proton",

"name": "Proton - Proton 7.0",

"type": "proton"

},

"winePrefix": "/home/jason/.wine",

"eacRuntime": false

}

Game launched at: Fri Jan 06 2023 11:25:59 GMT+0900 (Japan Standard Time)

Legendary's config from config.ini (before Heroic's settings):

{

"game_parameters": [],

"game_executable": "Shadow Tactics.exe",

"game_directory": "/home/jason/Data/Heroic/ShadowTacticsAikosChoice",

"launch_command": [

"wine"

],

"working_directory": "/home/jason/Data/Heroic/ShadowTacticsAikosChoice",

"user_parameters": [],

"environment": {},

"pre_launch_command": "",

"pre_launch_wait": false

}

Launch Command: LD_PRELOAD= STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/jason/.steam/steam STEAM_COMPAT_DATA_PATH=/home/jason/.wine PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId=heroic-ShadowTacticsAikosChoice PROTON_LOG_DIR=/home/jason /home/jason/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/run --filesystem=/home/jason/Data/Heroic/ShadowTacticsAikosChoice -- /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary launch a334978574a840d594c31521592925f3 --language en --no-wine --wrapper "'/home/jason/Data/SteamLibrary/steamapps/common/Proton 7.0/proton' run"
Game Settings: {

"autoInstallDxvk": true,

"autoInstallVkd3d": true,

"preferSystemLibs": false,

"enableEsync": false,

"nvidiaPrime": false,

"enviromentOptions": [],

"wrapperOptions": [],

"showFps": false,

"useGameMode": false,

"useSteamRuntime": true,

"language": "",

"wineVersion": {

"bin": "/home/jason/Data/SteamLibrary/steamapps/common/Proton 7.0/proton",

"name": "Proton - Proton 7.0",

"type": "proton"

},

"winePrefix": "/home/jason/.wine",

"eacRuntime": false

}

Game launched at: Fri Jan 06 2023 11:25:59 GMT+0900 (Japan Standard Time)

Legendary's config from config.ini (before Heroic's settings):

{

"game_parameters": [],

"game_executable": "Shadow Tactics.exe",

"game_directory": "/home/jason/Data/Heroic/ShadowTacticsAikosChoice",

"launch_command": [

"wine"

],

"working_directory": "/home/jason/Data/Heroic/ShadowTacticsAikosChoice",

"user_parameters": [],

"environment": {},

"pre_launch_command": "",

"pre_launch_wait": false

}

Launch Command: LD_PRELOAD= STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/jason/.steam/steam STEAM_COMPAT_DATA_PATH=/home/jason/.wine PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId=heroic-ShadowTacticsAikosChoice PROTON_LOG_DIR=/home/jason /home/jason/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/run --filesystem=/home/jason/Data/Heroic/ShadowTacticsAikosChoice -- /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary launch a334978574a840d594c31521592925f3 --language en --no-wine --wrapper "'/home/jason/Data/SteamLibrary/steamapps/common/Proton 7.0/proton' run"
exotic-emerald
exotic-emerald•3y ago
can you post your full log file, you are missing information
harsh-harlequin
harsh-harlequinOP•3y ago
@Allora those are the logs generated from heoric
exotic-emerald
exotic-emerald•3y ago
these are not the full logs from heroic.. Read the read me first pinned post for instructions on how to get the game log heroic generates
harsh-harlequin
harsh-harlequinOP•3y ago
@Allora when I cliect the SHOW LOG FILE IN FOLDER button, it'll redirect to the folder /home/jason/.config/heroic which contains multiple folders The files I uploaded are chosen from logs folder
exotic-emerald
exotic-emerald•3y ago
these are not correct. when you click show log in folder, it should highlight the right log to send
harsh-harlequin
harsh-harlequinOP•3y ago
not working here I did not see any highlighted logs
exotic-emerald
exotic-emerald•3y ago
the contents of the file should look something like the log file shown in the window these logs look nothing like that. make sure you are looking at the game logs not the general heroic log
harsh-harlequin
harsh-harlequinOP•3y ago
yep, game logs
harsh-harlequin
harsh-harlequinOP•3y ago
No description
harsh-harlequin
harsh-harlequinOP•3y ago
this is the folder that pops up when the button is clicked so I guess the folder log is not correct or something
exotic-emerald
exotic-emerald•3y ago
just click copy log and paste it here or to paste bin sounds like you system is not configured properly
harsh-harlequin
harsh-harlequinOP•3y ago
okay https://paste.debian.net/1266272/ it's here @Allora
exotic-emerald
exotic-emerald•3y ago
your wine prefix path looks wrong additionally using proton you wont get clear logs, best to use wine-ge and ensure the prefix path is correct
harsh-harlequin
harsh-harlequinOP•3y ago
you mean this
"winePrefix": "/home/jason/.wine",
"winePrefix": "/home/jason/.wine",
exotic-emerald
exotic-emerald•3y ago
"winePrefix": "/home/jason/.wine", this is not where heroic puts wine prefixes yes heroic, by default, makes prefixes for each game inside the Games/Heroic/Prefixes folder or some similar name
harsh-harlequin
harsh-harlequinOP•3y ago
okay, I've changed the Prefixes path and installing Wine-GE-Proton7-35 @Allora it becomes like this https://paste.debian.net/1266273 https://bugs.winehq.org/show_bug.cgi?id=51086 I think it's a bug of wine?
exotic-emerald
exotic-emerald•3y ago
your wine prefix still looks wrong
harsh-harlequin
harsh-harlequinOP•3y ago
it should be pointed to newly installed wine-ge?
exotic-emerald
exotic-emerald•3y ago
no it should be pointed at a folder dedicated to that game's wine prefix
harsh-harlequin
harsh-harlequinOP•3y ago
is that automatically handled by heroic? or when installing the game
exotic-emerald
exotic-emerald•3y ago
generally yes sounds like you have configured something that causes heroic to not use its default behavior
harsh-harlequin
harsh-harlequinOP•3y ago
or how can I reset it to default value yep, when I install heroic I think I did some manual configuration
exotic-emerald
exotic-emerald•3y ago
This is what mine looks like when i install this game
No description
harsh-harlequin
harsh-harlequinOP•3y ago
that causes such issue okay let me try reinstalling it
harsh-harlequin
harsh-harlequinOP•3y ago
No description
harsh-harlequin
harsh-harlequinOP•3y ago
should it be like this?
exotic-emerald
exotic-emerald•3y ago
yep and then when you run the game it will create that folder similarly your global heroic settings should not have the .wine prefix you had before
harsh-harlequin
harsh-harlequinOP•3y ago
https://paste.debian.net/1266274/ yes I've changed that (generic wine prefix) for heroric
exotic-emerald
exotic-emerald•3y ago
have you followed the dependencies part of the read me first post
harsh-harlequin
harsh-harlequinOP•3y ago
ohh, nope I will do a install
harsh-harlequin
harsh-harlequinOP•3y ago
@Allora I've installed all dependencies here https://github.com/lutris/docs/blob/master/WineDependencies.md but still the same error
GitHub
docs/WineDependencies.md at master · lutris/docs
Contribute to lutris/docs development by creating an account on GitHub.
harsh-harlequin
harsh-harlequinOP•3y ago
exotic-emerald
exotic-emerald•3y ago
since you are using wine-ge you dont need to set use steam runtime
exotic-emerald
exotic-emerald•3y ago
to play the new Shadow Tactics Aiko's Choice I had to install d3dcompiler_43 using Winetricks
harsh-harlequin
harsh-harlequinOP•3y ago
hey I can launch the game by using default wine stage version
No description
exotic-emerald
exotic-emerald•3y ago
go to settings of the game > WINETRICKS > Ok > Install a windows dll or component > Ok > search for d3dcompiler_43 > Ok > after it ends to Cancel cancel until it's closed
harsh-harlequin
harsh-harlequinOP•3y ago
but it won't use my gpu card but only using cpu
exotic-emerald
exotic-emerald•3y ago
for me it worked with Wine-GE-Proton7-34 and the d3dcompiler_43 stuff
harsh-harlequin
harsh-harlequinOP•3y ago
though I've checked using the dedicated graphic gard
exotic-emerald
exotic-emerald•3y ago
did you change that in the Game's settings or in the general settings? because the settings in general are defaults for when installing a new games that you don't have previous configs, if you changed that in the general settings after installing the game then that doesn't get changed automatically
exotic-emerald
exotic-emerald•3y ago
If you dont have two GPUs (like an integrated and a dedicated) you dont need this option
harsh-harlequin
harsh-harlequinOP•3y ago
I have integrated one and dedicated one ohh, it's pc so I think by default the integrated one is disabled
exotic-emerald
exotic-emerald•3y ago
its mostly meant for like laptops with that setup using like nvidia optimus or simmilar
exotic-emerald
exotic-emerald•3y ago
your log only shows one GPU, so yes, it's probably disabled, heroic should have said something about enabling it with only one GPU detected (we show a warning saying it's not needed) can you check if you have the kernel32.dll file in the drive_c/windows/system32 and drive_c/windows/syswow64 folders inside the prefix? disable this "useSteamRuntime": true,
exotic-emerald
exotic-emerald•3y ago
oh you still had that enabled? i said to disable that earlier too
harsh-harlequin
harsh-harlequinOP•3y ago
No description
harsh-harlequin
harsh-harlequinOP•3y ago
not sure but this option does not exist any more confirmed they existed
exotic-emerald
exotic-emerald•3y ago
change to another wine (maybe proton) and I think the option reappears, then change back to wine
harsh-harlequin
harsh-harlequinOP•3y ago
ohhh
exotic-emerald
exotic-emerald•3y ago
i feel this option should be auto turned off when you dont use proton 😛
exotic-emerald
exotic-emerald•3y ago
I think it's being ignored for non-proton stuff anyway, I'm not sure how that works but maybe it's just ignored when running the command with wine
exotic-emerald
exotic-emerald•3y ago
ah
harsh-harlequin
harsh-harlequinOP•3y ago
https://paste.debian.net/1266276 hmm still it uses cpu
exotic-emerald
exotic-emerald•3y ago
can confirm all thsi game needs to run is the d3dcompiler_43
harsh-harlequin
harsh-harlequinOP•3y ago
No description
exotic-emerald
exotic-emerald•3y ago
sorry, when I said go back to wine I meant Wine-GE, not Wine Staging
harsh-harlequin
harsh-harlequinOP•3y ago
exotic-emerald
exotic-emerald•3y ago
I would suggest one thing though: - set Wine-GE-Proton-7-35 - delete the folder pointed by the prefix setting (don't delete the setting, just the folder on your disk) - go to heroic and use WINETRICKS to install d3dcompiler_43 as described before this should take care of creating a new clean prefix with that wine and the compiler, then try to run the game
exotic-emerald
exotic-emerald•3y ago
yep yep that should be what you need
harsh-harlequin
harsh-harlequinOP•3y ago
I am trying thanks so much for your help! you are awesome, https://paste.debian.net/1266278 I've done that kernel32.dll exists 0024:err:vulkan:__wine_create_vk_instance_with_callback Failed to create instance, res=-1
harsh-harlequin
harsh-harlequinOP•3y ago
I also installed d3dcompiler_43 via WINETRICKS
No description
exotic-emerald
exotic-emerald•3y ago
have you installed all the vulkan stuff for your gpu? drivers, etc
exotic-emerald
exotic-emerald•3y ago
since you are on arch it seems: https://wiki.archlinux.org/title/Vulkan
harsh-harlequin
harsh-harlequinOP•3y ago
if it is from here
harsh-harlequin
harsh-harlequinOP•3y ago
GitHub
docs/WineDependencies.md at master · lutris/docs
Contribute to lutris/docs development by creating an account on GitHub.
exotic-emerald
exotic-emerald•3y ago
that doesnt include any driver stuff
harsh-harlequin
harsh-harlequinOP•3y ago
ohh~
exotic-emerald
exotic-emerald•3y ago
follow the directions for your gpu
harsh-harlequin
harsh-harlequinOP•3y ago
I get my vulkan driver installed I test it with dota2 vulkan driver it works but when I start the game from heoric, it'll come into full screen mode, and the flash screen shows and disappears, then it'll be black screen I can see the game cursor, but no response https://paste.debian.net/1266282 it looks like taht it could not get fullscreen monitor info can we start the game in windowed mode?
exotic-emerald
exotic-emerald•3y ago
did you install the d3dcompiler_43? via wine tricks
harsh-harlequin
harsh-harlequinOP•3y ago
yes, installed
exotic-emerald
exotic-emerald•3y ago
(after you redid the prefix)
harsh-harlequin
harsh-harlequinOP•3y ago
ohh wait a second, I redid the prefix...
exotic-emerald
exotic-emerald•3y ago
yeah if you deleted your prefix, you have to re-install the winetricks stuff you did
harsh-harlequin
harsh-harlequinOP•3y ago
hmm still the same issue
0024:err:x11drv:update_net_wm_fullscreen_monitors Failed to get xinerama fullscreen monitor indices.
0024:err:x11drv:update_net_wm_fullscreen_monitors Failed to get xinerama fullscreen monitor indices.
can we start the game in window mode?
exotic-emerald
exotic-emerald•3y ago
i only saw this error if the d3dcompiler wasnt installed
harsh-harlequin
harsh-harlequinOP•3y ago
how to verify if this dll has been installed?
harsh-harlequin
harsh-harlequinOP•3y ago
No description
harsh-harlequin
harsh-harlequinOP•3y ago
I have these dlls installed in drive_c/windows/system32
other-emerald
other-emerald•3y ago
im experiencing the same issue, i have tried installing the d3dcompiler_43 dll but this doesnt seem to fix it :/ i have also verified that the kernel32.dll file is there in both the system32 and the syswow64 directories here is some of my system information, incase it helps Arch linux 6.1.3-arch1-1 CPU: Ryzen 7 5700X GPU: Radeon RX 6600XT Window manager: awesomewm i have attached the files from the crash folder
other-emerald
other-emerald•3y ago
im running heroic version 2.5.2
other-emerald
other-emerald•3y ago
here is the heroic log for the game
exotic-emerald
exotic-emerald•3y ago
Make sure you installed the dependencies noted in the read me first pinned post
other-emerald
other-emerald•3y ago
sorry for the delay in response; first pinned post where? oh, do you mean this? https://discord.com/channels/812703221789097985/1044301598018515105/1044301598018515105 i have all these dependencies

Did you find this page helpful?