MythicManiac / Keyboard-Minigames

A snake game for the corsair RGB keyboards
45 stars 13 forks source link

Command prompt error #4

Closed BingoFishy closed 8 years ago

BingoFishy commented 8 years ago

"Windows cannot find keyboardminigames.exe. Please make sure you typed the name correctly and try again." This happens every time I try to launch the program using the keyboard, but it works fine manually. I have carefully followed all instructions correctly. Twice.

On another note, I can't launch it using the script within the batch file. Only by clicking on it (the batch file).

MythicManiac commented 8 years ago

Just to confirm:

This is what the folder you're launching the script from should look like: image

BingoFishy commented 8 years ago

Yes; this is correct.

On Mon, Mar 21, 2016 at 8:41 AM, Mythic notifications@github.com wrote:

Just to confirm:

This is what the folder you're launching the script from should look like: [image: image] https://cloud.githubusercontent.com/assets/8225825/13918923/fdf2ee5e-ef72-11e5-8ad9-3cee467a5dae.png

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/MythicManiac/Keyboard-Minigames/issues/4#issuecomment-199255601

MythicManiac commented 8 years ago

I can't launch it using the script within the batch file.

What exactly are you referring to with this?

As I understood it, it works if you run the SnakeGame.bat by clicking it. Is this correct?

MythicManiac commented 8 years ago

Could you also include the directory path of the SnakeGame.bat file, since it might be related.

BingoFishy commented 8 years ago

C:\Users[User]\Downloads\KeyboardMinigames\KeyboardMinigames\SnakeGame.bat

On Mon, Mar 21, 2016 at 3:09 PM, Mythic notifications@github.com wrote:

Could you also include the directory path of the SnakeGame.bat file, since it might be related.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/MythicManiac/Keyboard-Minigames/issues/4#issuecomment-199430281

MythicManiac commented 8 years ago

There seems to be an issue with relative path finding. This can be fixed by using an absolute path to the .exe file, but doing that would be just a workaround—not a fix.

I wrote a DebugScript.zip that should help debugging the issue.

Could you place the Debug.bat from that .zip in the same folder where you have the SnakeGame.bat. After you've done this, run it once just by double clicking it, and then a second time by assigning it to a button in the CUE the same way you'd do for the snake game.

Once you've done all that, you should have a file called C:\KeyboardMinigamesDebug.txt. Send that over and I'll see what I can extract from the info.

If you dislike the idea of sharing the log publicly, feel free to send it directly to my email at mythicmaniac@gmail.com. Just reply to this thread once you've done so, since that way I will notice faster.

BingoFishy commented 8 years ago

I'm on vacation right now - but I'll do it as soon as I get back (Thursday). Thanks for all the help with this.

On Saturday, March 26, 2016, Mythic notifications@github.com wrote:

There seems to be an issue with relative path finding. This can be fixed by using an absolute path to the .exe file, but doing that would be just a workaround—not a fix.

I wrote a DebugScript.zip https://github.com/MythicManiac/Keyboard-Minigames/files/190485/DebugScript.zip that should help debugging the issue.

Could you place the Debug.bat from that .zip in the same folder where you have the SnakeGame.bat. After you've done this, run it once just by double clicking it, and then a second time by assigning it to a button in the CUE the same way you'd do for the snake game.

Once you've done all that, you should have a file called C:\KeyboardMinigamesDebug.txt. Send that over and I'll see what I can extract from the info.

If you dislike the idea of sharing the log publicly, feel free to send it directly to my email at mythicmaniac@gmail.com javascript:_e(%7B%7D,'cvml','mythicmaniac@gmail.com');. Just reply to this thread once you've done so, since that way I will notice faster.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/MythicManiac/Keyboard-Minigames/issues/4#issuecomment-201801817

BingoFishy commented 8 years ago

Not sure if I'm doing something wrong - but it just opens a command prompt window, then closes. I don't see any new text file.

I'm just running it by double clicking/right click -> open. ezgif com-video-to-gif

Anyways, there's a little gif of it. Apparently I can't upload MP4's but this should work fine as a demonstration.

EDIT: Also, I've tried searching for it; it's not there.

MythicManiac commented 8 years ago

This is getting somewhat difficult to resolve through here—would you mind adding me on Skype? My Skype name is "mythicpotato".

Would be greatly appreciated.

BingoFishy commented 8 years ago

Sounds good. I should be able to Skype tomorrow.

MythicManiac commented 8 years ago

Issue was caused by special characters in the directory path and windows' cd command failing to navigate to this directory. Fixed in the newest release.