Skip to content
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

Won't open on a fresh version of Windows 10 #36

Open
professoroakz opened this issue Jan 30, 2023 · 5 comments
Open

Won't open on a fresh version of Windows 10 #36

professoroakz opened this issue Jan 30, 2023 · 5 comments

Comments

@professoroakz
Copy link

professoroakz commented Jan 30, 2023

Hey. I've been using this tool for about half a year on an enterprise laptop that I'm currently not using for anything, and it's been working great. I got everything I wanted from this OWL season. However, when I reinstalled windows, so I have a fresh windows installation -- (through Windows) and I can't open this application no matter what I do. I cant seem to run the .bat file either.

I've tried to: Disable app protection, disable windows defender, reboot the machine, tried different accounts, run as administrator. Dunnnit work man :/. Any ideas?

I'm currently installing Python and a dev environment to the machine to see if it helps.

EDIT 1: I launched it on a fresh version of W11 and that works. I wondered if there was any problems with extraction so I redownloaded it, extracted, nothing. I synced the extracted file from W11 system to my W10 machine and it still doesn't work. Behaviour is this: At first start, Windows defender complains that it's from an unknown developer or some shit, then it opens the CMD window and instantly closes it. After that it refuses to open the CMD window. What the hell?

Sorry. Kind of hard to help when you might not be able to reproduce. Hopefully you've seen this and have an answer.

@ucarno
Copy link
Owner

ucarno commented Jan 30, 2023

Create new bat file inside app's folder with following content:

OverwatchTokenFarmer.exe
pause

and try running it. The window should no longer close now. What does the console say?

@professoroakz
Copy link
Author

Create new bat file inside app's folder with following content:

OverwatchTokenFarmer.exe
pause

and try running it. The window should no longer close now. What does the console say?

Same situation. It opens the cmd window and closes it instantly, no log, no console output, nothing.

@ucarno
Copy link
Owner

ucarno commented Jan 31, 2023

Try adding call to your bat:

call OverwatchTokenFarmer.exe
pause

@TStevens13
Copy link

TStevens13 commented Feb 19, 2023

Im getting a similar issue. Fresh install of windows 10 and the window appears and disappears instanty when running the exe. I ran it manually using PowerShell and it says "Error loading Python DLL 'C:\Users\user\Downloads\OverwatchTokenFarmer\python310.dll'.
LoadLibrary: The specified module could not be found". I can see the python310 dll in the directory so it does exist.

@angelmankel
Copy link

@OktayGardener, @TStevens13, and others who might be encountering similar problems,

I had this problem as well and spent hours trying to figure out what was going on. I have a Proxmox server set up and created a Win11, Win10 1909, and Win10 22H2 vm and tried it on all of them; none of them worked. Just opened quickly and then closed because it can't find the python311.dll. I think it is due to how the app is being packaged but not 100% what exactly it is.

I found this stackoverflow thread which discusses a similar problem and provides some insights. However, to validate this, I'd need to try repackaging the app myself.

@ucarno, this thread might provide some useful information for you to investigate further.

A Temporary Solution:

For those encountering the same issue, I've found that installing Python on your Windows PC might be a viable temporary fix. The steps below were tested on Windows 10 version 1909, but they should likely work for other versions as well. However, please note that I haven't had a chance to confirm this with other versions yet.

Steps to Replicate the Solution:

  1. Install Windows 10 version 1909. I used Proxmox to create a VM, but the method of installation shouldn't matter.
    image

  2. Download and install Python 3.11.3 from the official Python website.

    • During the installation process, ensure that you add Python to PATH.
    • Also, when prompted, disable the character limit at the end of the installation process.

Just wanted to post this for anyone who is having this issue since I haven't been able to use this app for a while now because of this. When I get some more time maybe I can try to repackage the app myself to see if I can find a better fix so Python isn't required.

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

No branches or pull requests

4 participants