Playnite Forums
  • Playnite Web
  • Rules
  • Members
  • Team
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Playnite Forums Extension Database Generic Extensions DS4Windows Wrapper - quick access to important ds4windows functions from playnite

DS4Windows Wrapper - quick access to important ds4windows functions from playnite
turtleship_
Offline

#1
08-14-2021, 11:40 PM (This post was last modified: 09-30-2021, 03:59 PM by turtleship_.)
I made this extension to quickly access key DS4Windows features and and functions without needing to leave playnite. 

GitHub

I promised you v0.2. Screw that take 1.0! Expect 2.0 some time soon™.

New features:
Query: Check current profile, emulated controller type, current controller name, connection type, and battery status (level and whether or not it's charging).
Updater: Check for updates without checking the forums! Feel free to check it every so often (you don't need to do it more than once a day, at least once a month). When Playnite 9 comes out this will be removed (I spent way too long on this).

Update 1.0.1:
Fixed path used in query commands
Update 1.0.2:
Fixed updater

Currently supported functions are:
Start
Stop
Shutdown
Open (the app)
Check current profile, emulated controller type, current controller name, connection type, and battery status (level and wheather or not it's charging).


Requirements:
DS4Windows forked by Ryochan7
DS4WindowsCMD

Instructions:
1) Download and open attached .pext file.
2) After installing, go to playnite's main menu -> ds4windows -> config -> configure path.
A file dialogue will come up, go to where DS4WindowsCMD is (should be in the home directory of DS4Windows, otherwise it won't work) and double click it.
3) Go to the main menu, and under DS4Windows, select whatever you want to do.

    
.pext   DS4Windows_1_0_2.pext (Size: 34.67 KB / Downloads: 224)

Upcoming features:
Per game config: Change the current config based on whatever game you launch, (add on a per game basis, or bulk add)

Notes:
Still in development, many functions and features to come.
Ignore the debug option, that's just for development.
If you have any problems, questions, or feedback, leave a comment, make an issue on GitHub or ping me in Playnite's discord server in #extensions-support (BT 7274#3906).

Old versions:

.pext   DS4Windows_0_1.pext (Size: 32.94 KB / Downloads: 117)

.pext   DS4Windows_1_0_0.pext (Size: 34.71 KB / Downloads: 115)

.pext   DS4Windows_1_0_1.pext (Size: 34.66 KB / Downloads: 121)
Migz
Offline

#2
08-21-2021, 02:29 PM
Nice plugin! Interested to see where this goes, hoping to have a way that I can select which games use DS4Windows and automatically run/stop it as i open/close those games.

I downloaded, installed and configured the path but yet when I run a query it still gives me your hardcoded path?


Thumbnail(s)
   
turtleship_
Offline

#3
08-21-2021, 02:42 PM
(08-21-2021, 02:29 PM)Migz Wrote: Nice plugin! Interested to see where this goes, hoping to have a way that I can select which games use DS4Windows and automatically run/stop it as i open/close those games.

I downloaded, installed and configured the path but yet when I run a query it still gives me your hardcoded path?
My bad, I just updated it to use your path, I guess I forgot to change it! You can download the updated pext file from the original post.
Migz
Offline

#4
08-21-2021, 02:51 PM
(08-21-2021, 02:42 PM)turtleship_ Wrote: My bad, I just updated it to use your path, I guess I forgot to change it! You can download the updated pext file from the original post.
Working as expected now Smile thank you
Luka8989
Offline

#5
08-21-2021, 10:21 PM
It would be great if you could add this extension to full screen mode
Nomig6866
Offline

#6
08-24-2021, 10:06 PM
I really like this, however I have a problem with it. Some games I use DS4Windows, but for others I use steam's controller support, no problem - just turn DS4Windows off. The problem is that if I turn that off without disconnecting first it turns my controller off and I can't turn it on again (I have to restart DS4Windows, disconnect the controller then turn DS4Windows off). Is there any solution to this? Perhaps showing the commands associated with the start/stop action such that the user can edit those actions (to disconnect the controller beforehand).
turtleship_
Offline

#7
08-25-2021, 12:35 PM
(08-24-2021, 10:06 PM)Nomig6866 Wrote: I really like this, however I have a problem with it. Some games I use DS4Windows, but for others I use steam's controller support, no problem - just turn DS4Windows off. The problem is that if I turn that off without disconnecting first it turns my controller off and I can't turn it on again (I have to restart DS4Windows, disconnect the controller then turn DS4Windows off). Is there any solution to this? Perhaps showing the commands associated with the start/stop action such that the user can edit those actions (to disconnect the controller beforehand).
Out of curiosity, is this using the stop button in the extension that the controller turns off? 
As for editing it, it is made in powershell, and if you go to where the extension is installed (you can open the directory from extension settings) and you can edit it there, the main functions will be in main.ps1, just edit it in any text editor and when you're done, go back to playnite and hit f12.
Luka8989
Offline

#8
08-29-2021, 10:28 PM
Could you add the ability to stop DS4 for single game?
turtleship_
Offline

#9
09-23-2021, 05:24 PM (This post was last modified: 09-23-2021, 05:26 PM by turtleship_.)
(08-29-2021, 10:28 PM)Luka8989 Wrote: Could you add the ability to stop DS4 for single game?
I do plan to add per game configs (which have the advantage of having support for each emulated game rather than just using the emulator if you use the auto profiles) and turning it off, however this is my exam year so I don't have too much free time.
I may be able to get it around christmas holiday, but if someone else wants to add it before then, I'll happily accept pull requests.

(08-21-2021, 10:21 PM)Luka8989 Wrote: It would be great if you could add this extension to full screen mode
AFAIK, there is no way to add extensions to fullscreen.
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode