3
submitted 1 year ago* (last edited 1 year ago) by PolarisPyra@lemmy.ml to c/linux_gaming@lemmy.ml

Hello everyone I have been trying to run a arcade game on linux for quite some time and I have failed enough to where I am at the point where it would probably be best for me to ask for some help. The game launches via a start script.bat However I can not get the game to launch via lutris with the bat due to it have 32 bit and 64 bit injection of dlls (iirc) the start. bat looks like this

@echo off

pushd %~dp0

taskkill /f /im amdaemon.exe > nul 2>&1

start /min inject_x64.exe -d -k chusanamhook.dll amdaemon.exe -f -c config_common.json config_server.json config_client.json config_cvt.json config_sp.json config_hook.json

inject_x86.exe -d -k chusanhook.dll chusanApp.exe

taskkill /f /im amdaemon.exe > nul 2>&1

echo. echo Game processes have terminated pause

(I am not sure if lemmy supports markdown) (The game is called Chunithm Sun)

Does anyone have any ideas on how I could launch the exe while getting these dlls injected at the same time? I have tried going into the wine dlls with winetricks and adding them as native built in but it still doesn't launch with the .bat. I can sometimes get just the exe to load but it crashes when it attempts to get past a certain point in the boot up procedure due to not having dlls injected. This is the only game keeping me from using linux full time so I would appreciate any help I can get.

you are viewing a single comment's thread
view the rest of the comments
[-] inode@lemmy.ml 0 points 1 year ago

Does this game launch at all just using wine(not lutris just wine)? wine I believe is capable of running .bat files so I suspect if you try to run using just wine you might see some errors explaining whats happening.

[-] PolarisPyra@lemmy.ml 1 points 1 year ago

Hey! Sorry for the very late reply. lemmy has been down all day today. however here is the log content when i do a simple wine start.bat

[polaris@archlinux bin]$ wine start.bat 002c:fixme:winediag:LdrInitializeThunk wine-staging 8.11 is a testing version containing experimental patches. 002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org. 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 014c:err:module:import_dll Library DPAPI.DLL (which is needed by L"Z:\home\polaris\SSD\Chunithm SUN (SDHD 2.10.01)\App\bin\chusanApp.exe") not found 014c:err:module:import_dll Library gdi32full.dll (which is needed by L"Z:\home\polaris\SSD\Chunithm SUN (SDHD 2.10.01)\App\bin\chusanApp.exe") not found 014c:err:module:LdrInitializeThunk Importing dlls for L"Z:\home\polaris\SSD\Chunithm SUN (SDHD 2.10.01)\App\bin\chusanApp.exe" failed, status c0000135 VirtualFreeEx failed DebugActiveProcess failed: 80070005

[-] INeedMana@lemmy.world 1 points 1 year ago

FYI

if you put
your logs inside \```
newlines will not get markedowned

use the "see source" under this post to see how to use these

this post was submitted on 02 Jul 2023
3 points (100.0% liked)

Linux Gaming

15825 readers
53 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS