Hypertext Tags (WIP) - Wyverex84/RTSS-Info-Samlung GitHub Wiki
Vom Post List of all Hypertext Tags
Here is a list of macros and tags to the best of my current knowledge. I make no claims on the completeness or correctness of this list. Important for beginners:
Macros share their name space with data sources, so if you want to use %CPU%, make sure you don't have your CPU load or temperature source named the same.
Names of tags and macros are case sensitive. "App" is not the same as "APP".
The individual layer "refresh period" is for smooth timer based animations and does not poll data sources more or less often.
It is best practice to reset your own tags for color () and font size () at the end of a layer to avoid it spilling into the next layer. "Use custom text color" automatically appends .
%CPUFull%β%GPUFull%βCPU/GPU name as seen in device manager
%CPU%βββββ%GPU%βββββLess verbose version of the above
%RAM%βββββ%VRAM%ββββAmount of RAM/VRAM (e.g. 12GB)
%Driver%ββββββββββββGraphics driver and version (e.g. Adrenalin 2020 20.4.2)
%Time12%ββββββββββββTime of day in 12 hour format (e.g. 07:52:12 PM)
%Time24%ββββββββββββTime of day in 24 hour format (e.g. 19:52:12)
%Date%ββββββββββββββDate in local short format (e.g. 05/12/21 or 12.05.21 etc.)
%PingAddr%ββββββββββDisplay address that you set up for ping tests.
%Timer%βββββββββββββDisplays your timer value (e.g. 0:00:10). Use HotkeyHandler.dll plugin to arm the timer.
%TimerFlashing%βββββSame as above, but flashes the timer slowly when it reaches 0:00:00.
%TimerHiding%βββββββSame as above, but hides the timer when it reaches 0:00:00.
%PollingTime0%ββββββPolling time for external sources*.
%PollingTime1%ββββββPolling time for internal HAL sources*.
- Polling times are divided into internal and external sources: Internal refers to the "Internal HAL" set of data sources provided by the overlay editor plugin itself, while external sources are all the rest: MSI Afterburner, HWiNFO64, AIDA64, Windows Performance Counters and the invisible RTSS sources that provide frame times.
βββββββββββββββ3D API name (e.g. OpenGL, Direct3D11, ...)
βββββββββββββββCompact version of the above (e.g. OGL, D3D11, ...)
βββββββββββββββApplication file name without path (e.g. googleearth.exe)
ββββββββββββββFor 64-bit programs or UWP apps this prints either "x64" or "UWP". Empty otherwise.
βββββββββββββββCurrent framebuffer resolution (e.g. 1920x1080)
<TIME=format>βββββββPrint date/time using Python format strings and US locale. ββββββββββββββββββββWARNING: For performance reasons you are responsible for validating the format string. Invalid strings can crash RTSS.
ββββββββββββββββFrametime in milliseconds with one decimal (e.g. 16.7)
ββββββββββββββββFramerate. Select "Display integer framerate" option in RTSS to round to integer.
βββββββββββββMinimum framerate*.
βββββββββββββMaximum framerate*.
βββββββββββββAverage framerate*.
βββββββββββββFramerate of 1% slowest frames. (See also "Percentile calculation" option)*.
βββββββββββββFramerate of 10% slowest frames. (See also "Percentile calculation" option)*.
βββββββββββββDuration of current benchmark run (e.g. 01:12:34)*.
- Benchmarking has to be enabled via "Enable benchmark mode" option or hotkeys for these to be filled.
<S=...>βββββββββββββSets the font size in percent. Negative value produce subscript instead of superscript.
ββββββββββββββββββββSizes 50, 100 and 200 have their own sprites and look best. Other sizes will be resized versions of those three.
βββββββββββββββββReset font size to 100%.
<C=aarrggbb>ββββββββHex color code. Alpha cannot be zero.
βββββββββββββββββReset color and opacity.
<A=n>βββββββββββββββOpens a "box" of n grid cells width within which following elements are aligned. (This is what tables are made of.) ββββββββββββββββββββPositive values align left within the box, negative values align right.
/<A=0>βββββββββββFinishes an open alignment box and moves the cursor to the right of it.
<TT=name>βββββββββββInsert tags to render a named text table. Cursor will be placed after the last defined cell.
For the <S=>, <C=> and <A=> tags, there are memory slots from 0-255 that can be written to by using the regular tag with an index, e.g. <C25=FF208030> to store a color at index 25 and to recall and use it. This functionality is used internally to optimize duplicate colors, font sizes and alignments away. If you want to use this feature and inadvertently overwrite slots used by the optimizer, then colors, font sizes or alignments will be off. Use the "Tools" menu to display the hypertext and read the dark blue part at the start to check.
<P=x,y>βββββββββββββSet new cursor position*.
...βββββββββMove cursor to screen corner or edge indexed from left to right, top to bottom.
<B=x,y>βββββββββββββDraw a rectangle at the cursor in the current color*.
<G=...>βββββββββββββInsert a graph based on a data source*. Use UI to create it.
<I=...>βββββββββββββInsert a static image*. Use UI to create it.
<AI=...>ββββββββββββInsert a sprite animation driven by a data source*. (Custom gauge.) Use UI to create it.
- Individual x or y coordinates, widths and heights can be positive or negative. Positive values measure pixels while negative values count grid cells. In each case, "0,0" is the top left screen corner. Keep in mind that the "On-Screen Display zoom" in RTSS affects the scaling.
The current data source is stored in x. Aside from the basic operators +, -, * and / you can also use % (the modulo operator) and ^ (x to the power of y) as well as parenthesis. Be aware that when you divide integers by integers the result will also be an integer (rounded towards zero). So if you want to use fractional numbers divide by a floating point number like so: x/1024.0.