This commit is contained in:
Tk-Glitch
2021-02-18 16:32:34 +01:00
parent 38abb724e3
commit 532e0f6233
5 changed files with 13575 additions and 9 deletions

View File

@@ -142,7 +142,7 @@ _tkg_initscript() {
elif [ "$_basever" = "59" ] || [ "$_basever" = "510" ]; then
prompt="`echo $' > 1.Undead PDS (TkG)\n 2.Project C / PDS\n 3.Project C / BMQ\n 4.MuQSS\n 5.CFS\nchoice[1-5?]: '`"
elif [ "$_basever" = "511" ]; then
prompt="`echo $' > 1.Project C / PDS\n 2.Project C / BMQ\n 3.CFS\nchoice[1-3?]: '`"
prompt="`echo $' > 1.Project C / PDS\n 2.Project C / BMQ\n 3.MuQSS\n 4.CFS\nchoice[1-4?]: '`"
else
prompt="`echo $' > 1.CFS\nchoice[1-1?]: '`"
fi
@@ -158,13 +158,11 @@ _tkg_initscript() {
elif [ "$CONDITION" = "3" ]; then
if [ "$_basever" = "54" ] || [ "$_basever" = "57" ] || [ "$_basever" = "58" ] || [ "$_basever" = "59" ] || [ "$_basever" = "510" ]; then
echo "_cpusched=\"bmq\"" > "${_path}"/cpuschedset
elif [ "$_basever" = "511" ]; then
echo "_cpusched=\"cfs\"" > "${_path}"/cpuschedset
else
echo "_cpusched=\"MuQSS\"" > "${_path}"/cpuschedset
fi
elif [ "$CONDITION" = "4" ]; then
if [ "$_basever" = "54" ] || [ "$_basever" = "57" ] || [ "$_basever" = "58" ]; then
if [ "$_basever" = "54" ] || [ "$_basever" = "57" ] || [ "$_basever" = "58" ] || [ "$_basever" = "511" ]; then
echo "_cpusched=\"cfs\"" > "${_path}"/cpuschedset
else
echo "_cpusched=\"MuQSS\"" > "${_path}"/cpuschedset
@@ -626,7 +624,7 @@ _tkg_srcprep() {
plain "1: Deboost and requeue task. (default)"
plain "2: Set rq skip task."
if [ "${_cpusched}" = "MuQSS" ]; then
read -rp "`echo $'\n 0. Supposedly best option for gaming performance - could lead to stability issues on some (AMD) platforms when combined with MuQSS\n > 1. Default and recommended option for MuQSS - could lead to stability issues on some (Intel) platforms\n 2. Can be a good option with low rr_interval on MuQSS\n [0-2?]: '`" CONDITION0;
read -rp "`echo $'\n 0. Supposedly best option for gaming performance,\n but might lead to stability issues on some (AMD) platforms when combined with MuQSS\n > 1. Default and recommended option for MuQSS - could lead to stability issues on some (Intel) platforms\n 2. Can be a good option with low rr_interval on MuQSS\n [0-2?]: '`" CONDITION0;
else
read -rp "`echo $'\n > 0. Recommended option for gaming on PDS - "tkg" default\n 1. Default, but can lead to stability issues on some platforms\n 2. Can be a good option with low rr_interval on MuQSS\n [0-2?]: '`" CONDITION0;
fi