Skip to content

Conversation

@bomburr
Copy link

@bomburr bomburr commented Jan 1, 2026

Added a reliable architecture detection, speedhack client no longer dies on KeyError: 'unknown' when process queries fail.

game_env.py now tries PROCESS_QUERY_LIMITED_INFORMATION and then the PE header to detect x86 vs x64 when OpenProcess fails.
game_env.py adds an optional game_arch parameter to GamepadEnv and throws a clear error if the architecture is still unknown instead of letting xspeedhack crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant