Перейти к содержимому

Playnite + Console Mode is an AMAZING experience!

Josephenoo

0:00 / 0:00

Playnite + Console Mode is an AMAZING experience!

37 просмотров · 8 дн. назад
Josephenoo
162 подписчика
37 просмотров · 8 дн. назад
If you like this content then please SUBSCRIBE, and go follow my Twitch and TikTok. Twitch:   / josephenoo   TikTok:   / josephenooo   Playnite download - https://playnite.link/ Console Mode download - https://github.com/lippdev/consolemode Scripts for Playnite: (replace parts of the code with your own. mainly the locations and fps numbers) “Execute before starting a game”: (copy code below) Change these two numbers if you want $tvLimit = 60 $monitorLimit = 228 $rtssFile = "C:\Program Files (x86)\RivaTuner Statistics Server\Profiles\Global" if ($PlayniteApi.ApplicationInfo.Mode.ToString() -eq "Fullscreen") { $limit = $tvLimit } else { $limit = $monitorLimit } try { $text = [System.IO.File]::ReadAllText($rtssFile) if ($text -match "(?m)^Limit=\d+") { $text = $text -replace "(?m)^Limit=\d+", "Limit=$limit" [System.IO.File]::WriteAllText($rtssFile, $text, [System.Text.Encoding]::ASCII) } else { $PlayniteApi.Dialogs.ShowErrorMessage("Could not find the Limit line in the RTSS file.") } } catch { $PlayniteApi.Dialogs.ShowErrorMessage("RTSS limit was not changed: $_") } “Execute after starting a game”: (copy code below) Waits 5 seconds, then sets the limit again $tvLimit = 60 $monitorLimit = 228 $rtssFile = "C:\Program Files (x86)\RivaTuner Statistics Server\Profiles\Global" if ($PlayniteApi.ApplicationInfo.Mode.ToString() -eq "Fullscreen") { $limit = $tvLimit } else { $limit = $monitorLimit } Start-Sleep -Seconds 5 try { $text = [System.IO.File]::ReadAllText($rtssFile) $text = $text -replace "(?m)^Limit=\d+", "Limit=$limit" [System.IO.File]::WriteAllText($rtssFile, $text, [System.Text.Encoding]::ASCII) } catch { $PlayniteApi.Dialogs.ShowErrorMessage("RTSS limit was not changed: $_") } “Execute after exiting a game”: (copy code below) $rtssFile = "C:\Program Files (x86)\RivaTuner Statistics Server\Profiles\Global" try { $text = [System.IO.File]::ReadAllText($rtssFile) $text = $text -replace "(?m)^Limit=\d+", "Limit=228" [System.IO.File]::WriteAllText($rtssFile, $text, [System.Text.Encoding]::ASCII) } catch { $PlayniteApi.Dialogs.ShowErrorMessage("RTSS limit was not reset: $_") }