rivafarabi / deckboard

Control your PC with your phone in easy way possible. News and updates on @DeckboardApp.
https://deckboard.app/
559 stars 30 forks source link

[BUG] Running Among Us through Run a Program #537

Open AgrPaavan opened 3 years ago

AgrPaavan commented 3 years ago

Describe the bug I have setup a key on one of my boards to run the Among Us.exe file (not through the steam extension). Whenever I run the game, there is a popup saying no configuration files found.

1Cupcake1 commented 3 years ago

Have a look at #499 and #500. I had a similar problem with OBS. It seems the program doesn't know where to find its files to run. You can tell it by using a batch file. Have Deckboard run the batch file instead of among us.exe.

I haven't played Among Us, just us it's file location instead of my example below. Don't forget the quotations.
My batch file for OBS has this in it:

Echo off Echo Starting OBS CD "C:\Program Files\obs-studio\bin\64bit" start "OBS" obs64.exe

AgrPaavan commented 3 years ago

So running this batch file instead of the .exe file doesnt give any errors?

I dont know much about batch files but can you please also tell me what the last line does? Is putting the "OBS" important? Also what if the .exe file has a space in it. Will putting quotations do it?

1Cupcake1 commented 3 years ago

my above example was for a program called OBS. your case would be more like:

Echo off Echo Starting Among Us CD "C:\folder location\amoung us" start "Among US" amongus.exe exit

I don't know the file path or exicutible name for among us, you will have to insert that above. If there is a space quotations are needed. My experience with batch files is limited too, but you can type each line into windows cmd to test. If you don't put exit at the end windows will leave cmd open and you can read any errors.

Put that text into notepad and save it as a .bat file instead of .txt. Put it in a folder like C:\test\ Give it a try. Using a bat file (batch) solved a similar problem for me. It might help. I could only get deckboard to run programs that way. Hope it helps.