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

Operation did not complete successfully because the file contains a virus or a potentially unwanted software #33

Closed
h3oCharles opened this issue May 15, 2020 · 8 comments

Comments

@h3oCharles
Copy link

continuing my 'venture from #31, now I can't open the software, giving me this error
explorer_2020-05-15_18-26_2EFFRku461

i... uhh... have no idea anymore

@pixeltris
Copy link
Owner

pixeltris commented May 15, 2020

If you're having issues you could build the code yourself and copy that 'driver' folder from the GK6X-v1.6 folder.

If you want to compile it without having to install visual studio there are two ways to do it. Using MSBuild.exe or csc.exe which should be located at C:\Windows\Microsoft.NET\Framework64\v4.0.30319\

If MSBuild is in that folder that's the best thing to use as it's simple and resolves everything for you.

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe C:\GK6X\GK6X.sln

If only csc is there then you can use the following (it will output an exe called Program.exe and you'll want to copy that to the Build folder along with HidSharp.dll).

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe /unsafe -recurse:"C:\GK64\GK6X\*.cs" /r:"C:\GK64\GK6X\HIDSharp\HidSharp.dll"

@pixeltris
Copy link
Owner

Thinking about it it's probably this code that is making it throw a hissy fit https://github.com/pixeltris/GK6X/blob/master/GK6X/CommandLogger.cs I'll look at disabling it for future builds as it isn't used.

@h3oCharles
Copy link
Author

h3oCharles commented May 15, 2020

I do have MSBuild, so i made a bat to execute MSBuild pointing at GK6X.sln and ran it as admin, it successfully compiled and i successfully ran the exe!

geez finally- BUUUUT typing "gui" and pressing Enter gives me "Couldn't find data path; Started web GUI server at http://localhost:6464", on top of that, going to localhost:6464 on Chrome spits out ERR_CONNECTION_REFUSED, so that's a problem, but this is probably a topic for a separate issue

yea, try taking a look at the CommandLogger thing, maybe something will fruit out of this

@pixeltris
Copy link
Owner

pixeltris commented May 15, 2020

You need to make sure you have the 'driver' folder (from the GK6X-v1.6.zip) in the location where the .exe is. The logic for that "Started web GUI server" message is incorrect, if it says it can't find the data path it doesn't actually start the web server (as it needs those files).

@h3oCharles
Copy link
Author

h3oCharles commented May 15, 2020

i uhh... don't think i have that folder anywhere from the build directory...? should i copy it from the source?

O7r1nw6yVC

@pixeltris
Copy link
Owner

You need to copy it from the GK6X-v1.6.zip. That folder doesn't exist in the source code in this repo (as it contains a lot of bloat / images that aren't needed normally). You need it get it from the zip.

@h3oCharles
Copy link
Author

OOH, okay, got it, and localhost works now!

thanks for help, you might wanna make a guide if this issue occurs to anyone else (or maybe just reference to this and my previous issue)

you can close now

@pixeltris
Copy link
Owner

Hopefully it should fix itself when the CommandLogger code is disabled. There is a note on the README about the additional files (mentioning you can get them from the official software, or use the pre-built version).

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

2 participants