Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Manipulate Rivatuner Statistics Server (RTSS) via CLI

NotificationsYou must be signed in to change notification settings

xanderfrangos/rtss-cli

Repository files navigation

Manipulate various settings and features from Rivatuner Statistics Server (RTSS) via CLI. Intended for use in automation scripts, like Sunshine and AutoHotKey.

Available features include:

  • Get and set profile properties.
  • Show and hide the stats overlay.
  • Disable and enable the framerate limiter.
  • Update the global framerate limit value.

Note: RTSS runs as an elevated process. rtss-cli may not work as expected unless you also execute it as an elevated process. It's possible for rtss-cli to work with normal permissions, but RTSS's UI may not update to reflect the changes.

Usage

The following commands are supported by rtss-cli:

property:set            set a profile propertyproperty:get            print a profile propertyoverlay:set             set overlay visibilityoverlay:get             return overlay visibilityoverlay:toggle          toggle overlay statelimiter:set             set if limiter is activelimiter:get             print value of limiter statuslimiter:toggle          toggle limiter statuslimit:set               set framerate limit for global profilelimit:offset            offset framerate limit for global profilelimit:get               print framerate limit for global profile

Commands that require addition arguments are described below:

property:set <profile> <property> <value>    <profile>           string, such as "App.exe" or "Global" (without quotes)    <property>          string, such as "FramerateLimit" or "AppDetectionLevel" (without quotes)    <value>             integer to assign as the new valueproperty:get <profile> <property>    <profile>           string, such as "App.exe" or "Global" (without quotes)    <property>          string, such as "FramerateLimit" or "AppDetectionLevel" (without quotes)overlay:set <value>     0 or 1limiter:set <value>     0 or 1limit:set <value>       integer to set the framerate limit tolimit:offset <value>    integer to offset the framerate limit with

When usingproperty:set orproperty:get, the following properties can be used:

AppDetectionLevel                       0..3- Application detection levelImplementation                          0..1- On-Screen Display rendering modeEnableFloatingInjectionAddress          0..1- Stealth modeEnableDynamicOffsetDetection            0..1- Custom Direct3D supportFramerateLimit                          ....- Framerate limitFontWeight                              ....- font weight for Raster3D On-Screen Display rendering modeEnableOSD                               0..1- On-Screen Display supportEnableBgnd                              0..1- On-Screen Display shadowEnableStat                              ....- Show own statisticsBaseColor, BgndColor                    ....- On-Screen Display palettePositionX, PositionY                    ....- On-Screen Display positionZoomRatio                               1..8- On-Screen Display zoomCoordinateSpace                         0..1- On-Screen Display coordinate space

Examples

Set FramerateLimit for a specific profile to 90 (prints "OK"):

rtss-cli.exe profile:set AppName.exe FramerateLimit 90

Get ZoomRatio for the global profile (prints the value):

rtss-cli.exe profile:get Global ZoomRatio

Toggle overlay visibility (prints the new status as 0 or 1):

rtss-cli.exe overlay:toggle

Get the current global framerate limit (prints the value):

rtss-cli.exe limit:get

Build

cl rtss-cli.cpp /O1 /MD /link /DEFAULTLIB:advapi32.lib /DEFAULTLIB:user32.lib

[8]ページ先頭

©2009-2025 Movatter.jp