File not found error after connecting to process
I ran the python scripts/serve.py with ng.pt. All working.
Running python scripts/play.py -- process 'process.exe'. Finds the process, but I get FileNotFoundError.
And why is it trying to inject a speedhack wth?
log:
Connected to model server at localhost:5555
Session reset
Model loaded, starting environment...
3...
2...
1...
Game process found: isaac-ng.exe (PID: XXXXX, Arch: x86, Window: Binding of Isaac: Rebirth)
Traceback (most recent call last):
File "scripts/play.py", line 93, in
env = GamepadEnv(
^^^^^^^^^^^
File "nitrogen/game_env.py", line 474, in init
self.speedhack_client = xsh.Client(process_id=self.game_pid, arch=self.game_arch)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "site-packages/xspeedhack/client.py", line 64, in init
self.inject_dll(self.pid)
File "site-packages/xspeedhack/client.py", line 98, in inject_dll
subprocess.run([path_injector, str(pid), str(path_dll)], check=True)
File "Python312/Lib/subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Python312/Lib/subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "Python312/Lib/subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
__
Also by default installing the requirements installs a wrong version of pytorch that does not has cuda support so I used this trick:
https://github.com/Comfy-Org/ComfyUI/issues/2427