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 start "Failed to create process: 0x2" #18

Open
ultranewt opened this issue Oct 7, 2020 · 2 comments
Open

Won't start "Failed to create process: 0x2" #18

ultranewt opened this issue Oct 7, 2020 · 2 comments

Comments

@ultranewt
Copy link

ultranewt commented Oct 7, 2020

Fairly certain I'm punching in my directories and commands correctly, but I get a "Failed to create process: 0x2" error and neither program will start.

Definitely have the x86 c++ distributable, and even restarted my pc (the horror)

I've tried typing the directory as absolute or with the %appdata% format

C:\WINDOWS\system32>cd C:\Users\User\Desktop\AbsoluteTouch-1.1.0\x86\

C:\Users\User\Desktop\AbsoluteTouch-1.1.0\x86>atloader.exe C:\Users\User\appdata\local\osu!\osu!.exe
Failed to create process: 0x2

C:\Users\User\Desktop\AbsoluteTouch-1.1.0\x86>atloader.exe %LocalAppData%\osu!\osu!.exe
Failed to create process: 0x2

C:\Users\User\Desktop\AbsoluteTouch-1.1.0\x86>\

This is what the window looks like when i run atloader.exe directly

Contact for device 00020059: link=1, touchArea={0,0,1030,748}
Contact for device 00020059: link=2, touchArea={0,0,1030,748}
Contact for device 00020059: link=3, touchArea={0,0,1030,748}
Contact for device 00020059: link=4, touchArea={0,0,1030,748}
Contact for device 00020059: link=5, touchArea={0,0,1030,748}
Detected touchpad with handle 00020059
CreateWindowExW() -> hWnd=00050336
RegisterRawInputDevices(mouse)

@apsun
Copy link
Owner

apsun commented Oct 7, 2020

0x2 is the error code for "file not found", are you sure osu! is actually installed at that path? If you just enter

%LocalAppData%\osu!\osu!.exe

does that work?

@ultranewt
Copy link
Author

I think the issue is that the desktop and appdata folders are both in the User folder, so when I set the current directory to the subfolder on the desktop it couldn't go up a level to where osu was installed, but maybe its something else.
I totally sidestepped the issue by putting the program into the osu folder.

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