GithubHelp home page GithubHelp logo

divinebuttertoast / steam-patch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from corando98/steam-patch

1.0 0.0 0.0 277 KB

Some Steam patches, fixing broken Steam features on generic devices i.e. ROG Ally / Legion Go

License: MIT License

Shell 20.60% Rust 79.40%

steam-patch's Introduction

⚙️ Steam Patch

Steam Patch is a tool designed to enhance your Steam experience by applying patches to the Steam client.

Installation

Decky is now required due to how we patch steam now, this should make steam-patch work as long as decky works.

Decky one liner install

curl -L https://github.com/SteamDeckHomebrew/decky-installer/releases/latest/download/install_release.sh | sh

Steam-patch install

curl -L https://github.com/corando98/steam-patch/raw/main/install.sh | sh

GPU Slider not working?

Edit the steamos-priv-write

sudo vi /usr/bin/steamos-polkit-helpers/steamos-priv-write

For Z1E devices (ROG ALLY, LEGION GO) around line 167, comment as such: Screenshot Terminal2023-12-18 at 16 51 @2x

Updating

curl -L https://github.com/corando98/steam-patch/raw/main/install.sh | sh

📋 Available Patches

Here is a list of currently available patches that can be applied:

  1. TDP Slider Fix for Quick Access Menu: This patch addresses and resolves the issues with the TDP slider in the Quick Access Menu, ensuring a smoother user experience.

  2. GPU Slider Fix for Quick Access Menu: This patch integrates the QAM slider to the correct range, note: (ROG ONLY) changes to the steamos-priv-write file are required.

  3. Menu Icon Replacement For a more integrated and consistent look, this patch replaces icon to

  4. Mapping Device-Specific Buttons for Asus Rog Ally: This patch adjusts the mapping of the Asus Rog Ally's device-specific buttons for the Main Menu and Quick Access Menu to match the button mapping of the Steam Deck.

🎯 Supported Devices

Offically tested devices include: ROG Ally, Legion Go

Generic features should work in most devices.

🛠️ Configuration file

For customization a configuration is in place, find the config.toml in the root of the repo. Example below.

Default location is ~/steam-patch/config.toml

#For changes to reflect on steamUI, restart steam-patch, and restart steam. (Current mitigation)
main_enabled = true
tdp_control = true
gpu_control = true
max_tdp = 30               #If using smokeless bios you can push this higher
max_gpu = 2700

#Feature toggles
legacy_tdp = false         #true = ryzenadj, false = ACPI ROG ALLY METHOD
mapper = true              #Enable disable the QAM and Steam button mapping
spoof_glyphs = true        #Enable to change PS/Xbox buttons to match SD including Steam Menu and Option menu
nintendo_glyphs: false     #Swaps A <-> B and X <-> Y


#Experimental ROG ALLY ONLY
auto_nkey_recovery = false #Attempts to suspend and resume the device if NKEY is lost

Before adjusting the TDP, please ensure your device can support the new value. There is a tangible risk of causing damage to your device otherwise.

legacy_tdp - False, utilizes ryzenadj method of changing TDP, check if your device is compatible. ie. Legion Go, ROG Ally, etc mapper - Only ROG ally for now, maps the QAM/Steam button to the AC/CC buttons. auto_nkey_recovery - Extrememly hacky way of recoverying the AC/CC button due to sleep/suspend issue on Ally, use with caution.

Steam Client

Only compatible with Stable Steam client, use beta branch for beta Steam client (breaks often)

Credits

This project wouldn't have been possible without the work of Maclay74 for his base integration under the hood, thank you!

📝 License

This project is licensed under the MIT License. Feel free to use and modify the code according to the terms of the license.

I've added a new section for supported devices and removed the note about no support of patching after a Steam restart as you requested.

steam-patch's People

Contributors

corando98 avatar maclay74 avatar jlobue10 avatar felipejfc avatar divinebuttertoast avatar honjow avatar

Stargazers

Andrew Oke 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.