-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python window appears but game fails to launch #58
Comments
More information. I tried running it manually and got this error on line 137. AttributeError: 'WindowsPath' object has no attribute 'hardlink_to' I truncated the script and manually copied the modified exe back into the game directory, and can confirm that the rest of it seems to be working. |
Thanks, that information is helpful! Apparently Can you please try replacing line 137 with the following: if sys.version_info.minor >= 10:
(game_dir_patched / f).hardlink_to(f)
else:
f.link_to(game_dir_patched / f) Hope that helps! |
Or just use this: |
thanks! that fixed the issue for me (on Arch Linux) |
Hello, I have Python 3.9.13 on windows 10, and it does have PATH.
When installing the mod and launching the game, the python window appears for a moment (blank) and then closes, and the game does not launch.
Startup commands tested:
python er-patcher --rate 165 --all -- %command%
python er-patcher --all -- %command%
python er-patcher -u -- %command%
Latest version of windows 10 and the game.
The text was updated successfully, but these errors were encountered: