XOutput icon indicating copy to clipboard operation
XOutput copied to clipboard

XOutput not starting up automatically minimized with Windows & not able to download v3.32

Open Mubashir78 opened this issue 3 years ago • 27 comments

As the title says, I checked the boxes of Start with Windows and Minimize to tray bar. While running, the program does go to tray when closed, but when I turn on my PC, it does not start up with Windows and I have to start it up with Task Scheduler, but there is another problem with that. Task scheduler doesn't start XOutput minimized which I want because I have set the program to start the emulation of the controllers automatically, so there's no need to check the window. Please see if there is any issue with starting it up minimized. Also, the link provided downloads the 3.31 version of XOutput, but the link and the webpage claim to contain v3.32. Whenever XOutput is opened, it reminds me that a new version is available at the same link which gives me the v.3.31. Kindly also fix that. Thanks in advance.

Mubashir78 avatar Jul 28 '21 06:07 Mubashir78

I have these same issues too actually! Thanks for making a thread about it. minor inconveniences but still think it should be brought to attention for the next iteration

kevinhua23 avatar Jul 30 '21 02:07 kevinhua23

Thank you so much for understanding and cooperation, @kevinhua23 . I hope this thread is looked upon by the devs. I, for now, am using Task Scheduler to start it up on log on and I minimize it myself, just to give me excuse of checking if everything's working. But I'd really like to have the latest version because it keeps telling me at the bottom.

Mubashir78 avatar Jul 30 '21 05:07 Mubashir78

I make a shortcut in start menu (in the folder that loads when windows starts) to one cmd: xoutput.cmd

@echo off
cd d:\utils\xoutput && sudo xoutput.exe --minimized

sudo, obviously, is a script I've found that makes the exe run as an admin: it's scary but it functions...

sudo.cmd

@echo Set objShell = CreateObject("Shell.Application") > %temp%\sudo.tmp.vbs
@echo args = Right("%*", (Len("%*") - Len("%1"))) >> %temp%\sudo.tmp.vbs
@echo objShell.ShellExecute "%1", args, "", "runas" >> %temp%\sudo.tmp.vbs
@cscript %temp%\sudo.tmp.vbs

I hope it's what you are searching for.

khornerz avatar Aug 04 '21 16:08 khornerz

So, do I put both cmds in the start folder? I kinda don't get the whole meaning. Isn't sudo related to Linux admin?

Mubashir78 avatar Aug 04 '21 17:08 Mubashir78

Sorry, sudo.cmd need to be at the xoutput folder, in my case at d:\utils\

And yes, sudo its a "linux" command. Linux users call sudo something, to run something with root privileges. This sudo, help xoutput to run as a administrator, you will need it if you want to hum hidguardian to hide controllers.

khornerz avatar Aug 04 '21 22:08 khornerz

What do you mean by XOutput folder? Isn't there just XOutput.exe? If you mean the .exe then I guess I have to put the sudo.cmd with in the .exe directory and put the xoutput.cmd in the start folder? I'll try that.

Mubashir78 avatar Aug 06 '21 06:08 Mubashir78

You are gonna have to explain a little bit clearer. Right now, I did what you told, and the program doesn't run, let alone run minimized.

Mubashir78 avatar Aug 06 '21 06:08 Mubashir78

uhm, I use this link to save bat in startup menu: https://support.microsoft.com/en-us/windows/add-an-app-to-run-automatically-at-startup-in-windows-10-150da165-dcd9-7230-517b-cf3c295d89dd so it loads when windows boot.

script I use can be located at: http://rbcwindows.blogspot.com/2015/09/run-batch-as-administrator.html

and change script according where you have xoutput.exe

khornerz avatar Aug 06 '21 06:08 khornerz

Thanks for the help, but where do I exactly put the directory of the xoutput.exe in the script? Will it run the program automatically minimized at startup?

On Fri, 6 Aug 2021, 11:32 am khornerz, @.***> wrote:

uhm, I use this link to save bat in startup menu:

https://support.microsoft.com/en-us/windows/add-an-app-to-run-automatically-at-startup-in-windows-10-150da165-dcd9-7230-517b-cf3c295d89dd so it loads when windows boot.

script I use can be located at: http://rbcwindows.blogspot.com/2015/09/run-batch-as-administrator.html

and change script according where you have xoutput.exe

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/csutorasa/XOutput/issues/417#issuecomment-894036183, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUI5CGWLQQOY75X7423X5MDT3N6XPANCNFSM5BDW4UZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

Mubashir78 avatar Aug 08 '21 17:08 Mubashir78

Similar issue here. I only want to open XOutput when I play certain games as not needed permenantly running in my system tray. For instance, in Ace Combat 7, I need to use XOutput to map my Hotas controls to Xinput. I just built a simple AHK script to launch it minimised (and terminate it when the game closes). To use, just save a copy of XOutput.exe and the settings.json in your game directory and then have the AHK script one level above (obviously you can tweak the script to suit, but this is how I have mine set up for my front-end launcher)

Run, %A_ScriptDir%\Ace Combat 7\XOutput.exe,,Min ;Sleep,60 RunWait, %A_ScriptDir%\Ace Combat 7\Ace Combat 7 - Skies Unknown Process,Close,XOutput.exe Run,taskkill /im "XOutput.exe" /F ExitApp Return

andyktaylor avatar Aug 20 '21 08:08 andyktaylor

Xoutput only thinks it is version 3.31. it is really 3.32

kotenok2000 avatar Sep 17 '21 13:09 kotenok2000

Then where's the feature that v 3.32 introduced? I don't see it.

On Fri, 17 Sep 2021, 6:44 pm Кирилл Фролов, @.***> wrote:

Xoutput only thinks it is version 3.31. it is really 3.32

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/csutorasa/XOutput/issues/417#issuecomment-921808639, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUI5CGTFZT6E4LH24FHNB6DUCNA3XANCNFSM5BDW4UZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Mubashir78 avatar Sep 17 '21 13:09 Mubashir78

Files from 3.31 and 3.32 archives are different. You can check it with winmerge

kotenok2000 avatar Jan 23 '22 12:01 kotenok2000

same problem

AamerHelmy avatar Jun 25 '22 13:06 AamerHelmy

Similar issue here. I only want to open XOutput when I play certain games as not needed permenantly running in my system tray. For instance, in Ace Combat 7, I need to use XOutput to map my Hotas controls to Xinput. I just built a simple AHK script to launch it minimised (and terminate it when the game closes). To use, just save a copy of XOutput.exe and the settings.json in your game directory and then have the AHK script one level above (obviously you can tweak the script to suit, but this is how I have mine set up for my front-end launcher)

Run, %A_ScriptDir%\Ace Combat 7\XOutput.exe,,Min ;Sleep,60 RunWait, %A_ScriptDir%\Ace Combat 7\Ace Combat 7 - Skies Unknown Process,Close,XOutput.exe Run,taskkill /im "XOutput.exe" /F ExitApp Return

can you more explain , please

AamerHelmy avatar Jun 25 '22 13:06 AamerHelmy

can you more explain , please

Sure,

  1. Download AutoHotKey (from here: https://www.autohotkey.com/)
  2. In the Ace Combat game directory, create a text file, paste the below in it

Run, %A_ScriptDir%\XOutput.exe,,Hide, PID Sleep, 1000 WinClose ahk_pid %PID% RunWait, %A_ScriptDir%\Ace7Game.exe Process,Close,XOutput.exe Run,taskkill /im "XOutput.exe" /F ExitApp return

  1. Save the text file as "Ace Combat 7.ahk"
  2. Save XOutput.exe in the games directory
  3. save settings.json in the game directory
  4. Run the ahk file

How the Ace Combat folder should look:

Ace

andyktaylor avatar Jun 25 '22 14:06 andyktaylor

can you more explain , please

Sure,

  1. Download AutoHotKey (from here: https://www.autohotkey.com/)
  2. In the Ace Combat game directory, create a text file, paste the below in it

Run, %A_ScriptDir%\XOutput.exe,,Hide, PID Sleep, 1000 WinClose ahk_pid %PID% RunWait, %A_ScriptDir%\Ace7Game.exe Process,Close,XOutput.exe Run,taskkill /im "XOutput.exe" /F ExitApp return

  1. Save the text file as "Ace Combat 7.ahk"
  2. Save XOutput.exe in the games directory
  3. save settings.json in the game directory
  4. Run the ahk file

How the Ace Combat folder should look:

Ace

Thank you , its working , but you forget to tell me rename the file to other game , thx

AamerHelmy avatar Jun 25 '22 18:06 AamerHelmy

can you more explain , please

Sure,

  1. Download AutoHotKey (from here: https://www.autohotkey.com/)
  2. In the Ace Combat game directory, create a text file, paste the below in it

Run, %A_ScriptDir%\XOutput.exe,,Hide, PID Sleep, 1000 WinClose ahk_pid %PID% RunWait, %A_ScriptDir%\Ace7Game.exe Process,Close,XOutput.exe Run,taskkill /im "XOutput.exe" /F ExitApp return

  1. Save the text file as "Ace Combat 7.ahk"
  2. Save XOutput.exe in the games directory
  3. save settings.json in the game directory
  4. Run the ahk file

How the Ace Combat folder should look:

Ace

can i edit script it to just start with windows , minimized and dont close again .

AamerHelmy avatar Jun 30 '22 12:06 AamerHelmy

can i edit script it to just start with windows , minimized and dont close again .

Follow this guide

https://windowsloop.com/run-autohotkey-script-at-windows-startup/

andyktaylor avatar Jun 30 '22 14:06 andyktaylor

Follow this guide

https://windowsloop.com/run-autohotkey-script-at-windows-startup/

No its not I mean , I want to edit script lines to make Xoutput Startup alone with windows minimized .

AamerHelmy avatar Jun 30 '22 18:06 AamerHelmy

I think you can do something with this.

https://www.autohotkey.com/docs/commands/WinMinimize.htm

30.06.2022 21:33:43, AamerHelmy пишет:

Follow this guide

https://windowsloop.com/run-autohotkey-script-at-windows-startup/

No its not I mean , I want to edit script lines to make Xoutput Startup alone with windows minimized .

— Reply to this email directly, view it on GitHub https://github.com/csutorasa/XOutput/issues/417#issuecomment-1171547039, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACDJ4FEJVLUADJ5I4CPOITLVRXSAPANCNFSM5BDW4UZQ. You are receiving this because you commented.Message ID: @.***>

kotenok2000 avatar Jun 30 '22 18:06 kotenok2000

or try to edit script to Run, %A_ScriptDir%\XOutput.exe,,Hide, PID Sleep, 1000 WinClose ahk_pid %PID% this way it will open xoutput and close program window after one second leaving program in system tray.

kotenok2000 avatar Jun 30 '22 19:06 kotenok2000

ok I will try , thx

AamerHelmy avatar Jun 30 '22 19:06 AamerHelmy

@andyktaylor @kotenok2000 I tried some scripts After adjusting the time This script below works well , just start and minimized , thx for evryone .

Run, %A_ScriptDir%\XOutput.exe,,Hide, PID Sleep, 2200 WinClose ahk_pid %PID%

AamerHelmy avatar Jul 02 '22 02:07 AamerHelmy

Same problem here

microSoftware avatar Nov 22 '23 14:11 microSoftware

3.31 and 3.32 downloads are different. They just forgot to change version number. Снимок экрана (165) Снимок экрана (163)

kotenok2000 avatar Nov 22 '23 14:11 kotenok2000

Looks like "Disable automatic device status detection" is "Add option to disable auto refresh" from https://github.com/csutorasa/XOutput/releases/tag/3.32

kotenok2000 avatar Nov 22 '23 14:11 kotenok2000