A .bat file to start both pitool and piservice launcher?

Title. Do someone have such thing? Piserivce launcher usually cause issues with mouse so better have it start only when needed.

@DrWilken doc, didn’t you have a cure for this?

1 Like

The cure is to get a better USB controller. Either a hub or a PCI-E extension card. Most motherboard implementations are junk.

3 Likes

I have some hints for the bat file… :wink:

https://community.openmr.ai/t/8k-5k-headset-not-tracked-workaround/17454

Inateck cards are said to be good (and are/were suggested by Oculus too).

I’m using this one:
https://www.inateck.com/inateck-ktu3fr-2o2i-usb-3-0-pci-express-card.html

5 Likes

set pieserviceLauncher to manual start

then you can start it with the following

sc start PiserviceLauncher

make it a .bat file and run with administrator privileges

4 Likes

This will start and stop pimax services:

echo off
set ServiceName=PiServiceLauncher
set ProcessName=PiService.exe
tasklist /fi “imagename eq %ProcessName%” |find /v “:” > nul&&(
sc query “%ServiceName%”|find “STATE”|find /v “RUNNING”>nul&&(
sc start %ServiceName%
timeout 10
)
sc stop %ServiceName%
) || (
sc start %ServiceName%
)

5 Likes

What if i also want to start Pitool with it?

2 Likes

Just add the PiTool command from the PiTool shortcut in the bottom.

1 Like

A simple google search and you’ll find.

Fun fact: you don’t need Pitool to use a Pimax HMD. If you’re fine with the default settings (it remembers whatever you saved last time), you can just launch SteamVR and play.

The PiserviceLauncher is what needs to run.

4 Likes

Yep Pitool is only a front end for piservice.

Sounds like though maybe an Amd gpu mix for mouse jitters