added FPS fixer for sparking zero

This commit is contained in:
Cyber Anonymous 2024-10-30 13:18:03 -03:00
parent 797a768817
commit 1ddfebb395
3 changed files with 16 additions and 0 deletions

View file

@ -7,3 +7,12 @@ export zenity="zenity $ARGS"
zenity --info --text="Welcome to SteamDeck Tools Version 0.0.1"
option=$(cat tools_list.txt | $zenity --list --column=Tools | cut -d '|' -f1)
./"$TOOLS_DIR"/"$option".sh 2>&1 | tee -a "$SDT"/log.txt
case $? in
0)
;;
*)
zenity --info --title="An Error Occurred" --text="An error occurred in one of the steps, see the log for more information"
;;
esac

6
tools/sparking40.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
cd $SDT
set -xe
cd '/home/deck/.local/share/Steam/steamapps/compatdata/1790600/pfx/drive_c/users/steamuser/AppData/Local/SparkingZERO/Saved/Config/Windows'
echo "[/script/engine.engine]\nFixedFrameRate=40\n\n[SystemSettings]\nbUseFixedFrameRate=True\nbSmoothFrameRate=False\nFixedFrameRate=40\nFrameRateLimit=40" >> Engine.ini
zenity --info --title="Sparking Zero 40 FPS" --text="Fixed Sparking Zero at 40 FPS"

View file

@ -2,3 +2,4 @@ pubip|Get your public IP
steamtinkerlaunch|Install SteamTinkerLaunch, a easy graphical configuration of game tools
thepowdertoy|Install ThePowderToy, a free physics sandbox game
update|Update SteamDeckTools
sparking40|Tool to fix DragonBall Sparking Zero at 40FPS