-
Notifications
You must be signed in to change notification settings - Fork 205
Description
I am attempting to run NitroGen with Black Myth: Wukong. While the script successfully identifies the process ID (b1.exe), it fails to detect the game window, resulting in a crash during environment initialization.
The script finds the process but lists Window: None, triggering an exception in game_env.py.
Game process found: b1.exe (PID: 42612, Arch: x64, Window: None)
Traceback (most recent call last):
File "D:\project\NitroGen-main\NitroGen-main\scripts\play_win.py", line 148, in
env = GamepadEnv(
^^^^^^^^^^^
File "D:\project\NitroGen-main\NitroGen-main\nitrogen\game_env_win.py", line 567, in init
raise Exception(f"No window found with game name: {self.game}")
Exception: No window found with game name: b1.exe
Configuration
Namespace(process='b1.exe', allow_menu=False, port=5555, game_speed=1.0, env_fps=60, async_mode=True, speedhack=False, image_height=1600, image_width=2560, controller_type='xbox', screenshot_backend='dxcam')
Has anyone successfully run this agent with b1.exe?
Are there specific display settings (e.g., Borderless Windowed vs. Fullscreen) required for the window detector to hook correctly?
Is there a recommended workaround to force the script to latch onto the PID even if the window title is not returned immediately?
Thanks!!