GithubHelp home page GithubHelp logo

ryanrudolfoba / playnitescriptsforsteamdeck Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 3.0 30 KB

This repository contains the scripts that I use to manage SWICD, Neptune controller, and for setting the TDP.

PowerShell 100.00%
ryzenadj scripting steamdeck tdp swicd

playnitescriptsforsteamdeck's Introduction

PlayniteScriptsForSteamDeck

Whats New ???

v0.2 - added scripts to set TDP level - 3W, 7W, 10W, 15W

v0.1 - initial release - SWICD and Neptune Controller scripts

About

This repository contains the scripts that I use to manage SWICD, Neptune controller, and for setting the TDP.

By default the SWICD controller is ON, and the Neptune controller is hidden. This prevents double inputs in games.

TDP can be set on a global level or per game basis. Set TPD to 7W on a global level, and then for games that run slow / have performance issues it can be set to 10W or 15W on a per-game basis.

The appropriate script gets executed by Playnite - a front-end for games.

Pre-requisites - What is needed for this to run correctly?

  1. Playnite - click here for more details
  2. SWICD - click here for more details And mostly the dependencies needed by SWICD - MS Visual C++ Redistributable Package, VIGEM, HIDHIDE, and Tetherscript.
  3. Initial HIDHIDE configuration.
  4. RyzenAdj - click here for details

How to Use the Scripts

  1. Download and extract the zip archive to a common folder (example c:\tools\scripts)
  2. Edit the script and look at the heading for Initialize Variables. Edit that to reflect the correct directory.
  3. Open an elevated / admin PowerShell command prompt and execute - Set-ExecutionPolicy RemoteSigned and press Y on the prompt.
  4. Configure Playnite to use the scripts.

How to Configure HIDHIDE

  1. Once HIDHIDE is installed, open the HIDHIDE desktop shortcut.
  2. Put a checkmark on Inverse Application Cloak.
  3. Press the + sign, and then browse to where Steam is installed. Usually this is C:\Program Files (x86)\Steam
  4. Select Steam.exe and press Open.
  5. Press the + sign again and add GameOverlayUI.exe and Streaming_Client.exe
  6. Click the Devices tab.
  7. Uncheck Gaming devices only.
  8. Put a checkmark on Valve Software Steam Deck Controller
  9. Put a checkmark on Enable device hiding
  10. Once done, close HIDHIDE.

Screenshot for reference

image image

How to Configure Playnite to use SWICD by Default on All Games

  1. Go to Playnite Desktop App
  2. Go to Settings
  3. Go to Scripts
  4. Execute after exiting a game - enter the path where swicd_on.ps1 is located

Screenshot for reference -

image

How to Configure Playnite to Use Neptune Controller on a Per-Game Basis

  1. Go to Playnite Desktop App
  2. Right click the game that will be configured for Neptune controller
  3. Click Edit
  4. Go to Scripts
  5. Execute before starting a game - enter the path where neptune_on.ps1 is located

Screenshot for reference -

image

How to Configure Playnite to Use 7W TDP on All Games

  1. Go to Playnite Desktop App
  2. Go to Settings
  3. Go to Scripts
  4. Execute before starting a game - enter the path where tdp_7w.ps1 is located

Screenshot for reference -

image

How to Configure Playnite to Use a Different TDP on a Per-Game Basis

  1. Go to Playnite Desktop App
  2. Right click the game that will be configured to use a differnt TDP
  3. Click Edit
  4. Go to Scripts
  5. Execute before starting a game - enter the path where tdp_10w.ps1 (or tdp_15w.ps1, tdp_3w.ps1) is located

Screenshot for reference -

image

NOTE1: There are several scripts that set TDP - tdp_3w.ps1, tdp_7w.ps1, tdp_10w.ps1 and tdp_15w.ps1.

NOTE2: The TDP scripts will only get executed when Steam Deck is running on battery.

NOTE3: RyzenAdj needs admin rights. UAC prompt will appear when the script runs - press YES when the UAC prompt appears.

NOTE4: UAC prompts can get annoying. Disable UAC prompts if needed.

playnitescriptsforsteamdeck's People

Contributors

ryanrudolfoba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.