-
Notifications
You must be signed in to change notification settings - Fork 0
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
Failed to read AutoSave.jpg error because missing #15
Comments
Hello, I was able to recreate your error by running I'm wondering - did you download the whole project zip file and then extract to a folder on your hard drive? When you run |
Sorry I didn't see the pics folder in the project. I have very little knowledge about Python, thanks for the quick answer and this project. |
No problem at all! Please let me know if that solves it for you. I love that people are using the script and want to make sure the install/use instructions are clear, etc. |
It didn't work again for some reason it doesn't see the word AUTO. I clicked on the game screen several times. By the way, I'm using ReShade, if that has any effect. |
Same error as above |
Interesting. I'm going to do some homework on this. Reading through articles like this one it seems that maybe my code needs to make considerations for the resolution of the monitor the game is running on, otherwise it can have a tough time matching the pictures to what's happening on TCM. Do you know what resolution you're running at? I developed all this on a monitor running at 2560x1440. |
I have a 1920x1080 monitor. I tried Full Screen instead of Windowed Full Screen, no luck. Python codes always end in failure for me, anyway good luck! |
Ok sorry let me back up to a previous question. If you don't have TCM running and you fire off |
Yes I just ran tcm.py without running the game, I chose Victim:
After the AutoSave error a lot of text appears and the last line has the error |
Thank you for the update. I resized my monitor to 1920x1080 and had the same problem you did! So I read up and found this article which includes a response from the author of pyautogui (which does the screen captures): I'm the creator of PyAutoGUI. The problem you have isn't with the screen resolution, but the screen scaling. Your program will work fine on monitors at different resolutions. But at high resolutions, the text and buttons of your programs become too small and so Windows and macOS fix this with "screen scaling", which can increase the size of UI elements like text and buttons by 150% or 200%. If you have multiple monitors, each monitor can have it's own screen scaling setting; for example one monitor at 100% and another at 150%. If you take a screenshot while a monitor is at, for example, 100% and then try to use it on a monitor that is scaled at 200%, the image won't match because the screenshot is literally half the width and length of what it would have been on the 200% monitor Based on this, it looks like I'd have to have a set of reference screenshots for every resolution in order to make this work for everybody. That might be a ton of work considering there are so many resolution combinations. I also read this article which hints that maybe I could incorporate some code to do resizing on the fly. And YouTube videos like this one hint at some pyautogui tweaks to help it find images of various resolutions. Long story short: I'll work on this and get back to you! |
Did I miss something? (I'm playing on XBOX PC)
The text was updated successfully, but these errors were encountered: