diff --git a/Enhancements/SkylandersImaginators_Shadows/rules.txt b/Enhancements/SkylandersImaginators_Shadows/rules.txt deleted file mode 100644 index 5566fffd..00000000 --- a/Enhancements/SkylandersImaginators_Shadows/rules.txt +++ /dev/null @@ -1,33 +0,0 @@ -[Definition] -titleIds = 00050000101F4D00,00050000101FB100 -name = Shadow Resolution -path = "Skylanders Imaginators/Graphics/Shadow Resolution" -description = Note: Increasing shadow resolution is known to increase VRAM usage directly. Lowering this might give you a good boost in performance if you're limited on VRAM but makes shadows blockier. Medium is the original resolution. Made by Crementif. -version = 4 - -[Preset] -name = Medium (100%, Default) -$shadowRes = 1 - -[Preset] -name = Low (50%) -$shadowRes = 0.5 - -[Preset] -name = High (200%) -$shadowRes = 2 - -[Preset] -name = Ultra (300%) -$shadowRes = 3 - -[Preset] -name = Extreme (400%, Unstable) -$shadowRes = 4 - -[TextureRedefine] -width = 512 -height = 2048 -formats = 0x005 -overwriteWidth = $shadowRes * 512 -overwriteHeight = $shadowRes * 2048 diff --git a/Enhancements/SkylandersTrapTeam_Shadows/rules.txt b/Enhancements/SkylandersTrapTeam_Shadows/rules.txt deleted file mode 100644 index 0255ed25..00000000 --- a/Enhancements/SkylandersTrapTeam_Shadows/rules.txt +++ /dev/null @@ -1,33 +0,0 @@ -[Definition] -titleIds = 000500001017C600,0005000010181F00 -name = Shadow Resolution -path = "Skylanders Trap Team/Graphics/Shadow Resolution" -description = Note: Increasing shadow resolution is known to increase VRAM usage directly. Lowering this might give you a good boost in performance if you're limited on VRAM but makes shadows blockier. Medium is the original resolution. Made by Crementif. -version = 4 - -[Preset] -name = Medium (100%, Default) -$shadowRes = 1 - -[Preset] -name = Low (50%) -$shadowRes = 0.5 - -[Preset] -name = High (200%) -$shadowRes = 2 - -[Preset] -name = Ultra (300%) -$shadowRes = 3 - -[Preset] -name = Extreme (400%, Unstable) -$shadowRes = 4 - -[TextureRedefine] -width = 512 -height = 2048 -formats = 0x5 -overwriteWidth = $shadowRes * 512 -overwriteHeight = $shadowRes * 2048 diff --git a/src/FastRacingNeo/Mods/StaticFPS/rules.txt b/src/FastRacingNeo/Mods/StaticFPS/rules.txt index 87c0c240..3dc3fc23 100644 --- a/src/FastRacingNeo/Mods/StaticFPS/rules.txt +++ b/src/FastRacingNeo/Mods/StaticFPS/rules.txt @@ -12,44 +12,19 @@ $targetFPS:int = 60 # FPS Limit [Preset] -name = 20 FPS +name= 244 FPS (experimental) category = FPS Limit -$targetFPS:int = 20 +$targetFPS:int = 244 [Preset] -name = 30 FPS +name= 165 FPS (experimental) category = FPS Limit -$targetFPS:int = 30 +$targetFPS:int = 165 [Preset] -name = 40 FPS +name = 144 FPS (experimental) category = FPS Limit -$targetFPS:int = 40 - -[Preset] -name = 60 FPS -category = FPS Limit -default = 1 - -[Preset] -name = 72 FPS -category = FPS Limit -$targetFPS:int = 72 - -[Preset] -name = 75 FPS -category = FPS Limit -$targetFPS:int = 75 - -[Preset] -name = 85 FPS -category = FPS Limit -$targetFPS:int = 85 - -[Preset] -name = 100 FPS -category = FPS Limit -$targetFPS:int = 100 +$targetFPS:int = 144 [Preset] name = 120 FPS @@ -57,19 +32,45 @@ category = FPS Limit $targetFPS:int = 120 [Preset] -name = 144 FPS +name = 100 FPS category = FPS Limit -$targetFPS:int = 144 +$targetFPS:int = 100 [Preset] -name= 165 FPS +name = 85 FPS category = FPS Limit -$targetFPS:int = 165 +$targetFPS:int = 85 [Preset] -name= 244 FPS +name = 75 FPS category = FPS Limit -$targetFPS:int = 244 +$targetFPS:int = 75 + +[Preset] +name = 72 FPS +category = FPS Limit +$targetFPS:int = 72 + +[Preset] +name = 60 FPS (Default) +category = FPS Limit +default = 1 + +[Preset] +name = 40 FPS +category = FPS Limit +$targetFPS:int = 40 + +[Preset] +name = 30 FPS +category = FPS Limit +$targetFPS:int = 30 + +[Preset] +name = 20 FPS +category = FPS Limit +$targetFPS:int = 20 + [Control] diff --git a/Resolutions/SkylandersImaginators_Resolution/3fd22273e2306b43_0000000000000000_vs.txt b/src/SkylandersImaginators/Graphics/3fd22273e2306b43_0000000000000000_vs.txt similarity index 99% rename from Resolutions/SkylandersImaginators_Resolution/3fd22273e2306b43_0000000000000000_vs.txt rename to src/SkylandersImaginators/Graphics/3fd22273e2306b43_0000000000000000_vs.txt index b1532c69..539f86df 100644 --- a/Resolutions/SkylandersImaginators_Resolution/3fd22273e2306b43_0000000000000000_vs.txt +++ b/src/SkylandersImaginators/Graphics/3fd22273e2306b43_0000000000000000_vs.txt @@ -22,6 +22,7 @@ // Used for: Horizontal shadow edge smoothing float resXScale = float($width)/float($gameWidth); + #ifdef VULKAN layout(set = 0, binding = 0) uniform ufBlock { diff --git a/Resolutions/SkylandersImaginators_Resolution/73111ccc2ffa1907_0000000000000000_vs.txt b/src/SkylandersImaginators/Graphics/73111ccc2ffa1907_0000000000000000_vs.txt similarity index 98% rename from Resolutions/SkylandersImaginators_Resolution/73111ccc2ffa1907_0000000000000000_vs.txt rename to src/SkylandersImaginators/Graphics/73111ccc2ffa1907_0000000000000000_vs.txt index 032be06e..51a99870 100644 --- a/Resolutions/SkylandersImaginators_Resolution/73111ccc2ffa1907_0000000000000000_vs.txt +++ b/src/SkylandersImaginators/Graphics/73111ccc2ffa1907_0000000000000000_vs.txt @@ -20,7 +20,8 @@ // shader 73111ccc2ffa1907 // Used for: Fixing shadow smoothing resolution -float resXScale = float($width)/float($gameWidth); +float resScale = float($width)/float($gameWidth); + #ifdef VULKAN layout(set = 0, binding = 0) uniform ufBlock @@ -105,7 +106,7 @@ R123f.z = (mul_nonIEEE(R1f.y,intBitsToFloat(uf_remappedVS[2].x)) + PV1f.z); PV0f.z = R123f.z; R123f.w = (mul_nonIEEE(R1f.y,intBitsToFloat(uf_remappedVS[2].w)) + PV1f.w); PV0f.w = R123f.w; -R0f.z = intBitsToFloat(0xbf800000)/resXScale; +R0f.z = intBitsToFloat(0xbf800000)/resScale; PS0f = R0f.z; // 3 backupReg0f = R1f.x; diff --git a/Resolutions/SkylandersImaginators_Resolution/bc5cb1edf2b7da65_0000000000000000_vs.txt b/src/SkylandersImaginators/Graphics/bc5cb1edf2b7da65_0000000000000000_vs.txt similarity index 99% rename from Resolutions/SkylandersImaginators_Resolution/bc5cb1edf2b7da65_0000000000000000_vs.txt rename to src/SkylandersImaginators/Graphics/bc5cb1edf2b7da65_0000000000000000_vs.txt index 92a35187..a10e3054 100644 --- a/Resolutions/SkylandersImaginators_Resolution/bc5cb1edf2b7da65_0000000000000000_vs.txt +++ b/src/SkylandersImaginators/Graphics/bc5cb1edf2b7da65_0000000000000000_vs.txt @@ -22,6 +22,7 @@ // Used for: Vertical shadow edge smoothing float resYScale = float($height)/float($gameHeight); + #ifdef VULKAN layout(set = 0, binding = 0) uniform ufBlock { diff --git a/Resolutions/SkylandersImaginators_Resolution/rules.txt b/src/SkylandersImaginators/Graphics/rules.txt similarity index 59% rename from Resolutions/SkylandersImaginators_Resolution/rules.txt rename to src/SkylandersImaginators/Graphics/rules.txt index 27f1d57b..dd09f25b 100644 --- a/Resolutions/SkylandersImaginators_Resolution/rules.txt +++ b/src/SkylandersImaginators/Graphics/rules.txt @@ -1,83 +1,173 @@ [Definition] titleIds = 00050000101F4D00,00050000101FB100 -name = Resolution -path = "Skylanders Imaginators/Graphics/Resolution" -description = Changes the resolution of the game. Made by Crementif. -version = 4 +name = TV Resolution, Gamepad Resolution and Shadow Quality +path = "Skylanders Imaginators/Graphics" +description = Changes the TV resolution and gamepad resolution of the game. Additionally you can also change the quality of the shadows.||Made by Crementif. +version = 5 -[Preset] -name = 1280x720 (Default) +[Default] $width = 1280 $height = 720 +$padWidth = 854 +$padHeight = 480 $gameWidth = 1280 $gameHeight = 720 +$gamePadWidth = 854 +$gamePadHeight = 480 +$shadowRes = 1 -# Performance + +# TV Resolution [Preset] +category = TV Resolution +name = 1280x720 (Default) + +[Preset] +category = TV Resolution name = 640x360 $width = 640 $height = 360 -$gameWidth = 1280 -$gameHeight = 720 [Preset] +category = TV Resolution name = 960x540 $width = 960 $height = 540 -$gameWidth = 1280 -$gameHeight = 720 - -# Common HD Resolutions [Preset] +category = TV Resolution name = 1600x900 $width = 1600 $height = 900 -$gameWidth = 1280 -$gameHeight = 720 [Preset] +category = TV Resolution name = 1920x1080 $width = 1920 $height = 1080 -$gameWidth = 1280 -$gameHeight = 720 [Preset] +category = TV Resolution name = 2560x1440 $width = 2560 $height = 1440 -$gameWidth = 1280 -$gameHeight = 720 [Preset] +category = TV Resolution name = 3200x1800 $width = 3200 $height = 1800 -$gameWidth = 1280 -$gameHeight = 720 [Preset] +category = TV Resolution name = 3840x2160 $width = 3840 $height = 2160 -$gameWidth = 1280 -$gameHeight = 720 [Preset] +category = TV Resolution name = 5120x2880 $width = 5120 $height = 2880 -$gameWidth = 1280 -$gameHeight = 720 [Preset] +category = TV Resolution name = 7680x4320 $width = 7680 $height = 4320 -$gameWidth = 1280 -$gameHeight = 720 + + +# Gamepad Resolution + +[Preset] +name = 854x480 (Default) +category = Gamepad Resolution + +[Preset] +category = Gamepad Resolution +name = 640x360 +$padWidth = 640 +$padHeight = 360 + +[Preset] +category = Gamepad Resolution +name = 960x540 +$padWidth = 960 +$padHeight = 540 + +[Preset] +category = Gamepad Resolution +name = 1600x900 +$padWidth = 1600 +$padHeight = 900 + +[Preset] +category = Gamepad Resolution +name = 1920x1080 +$padWidth = 1920 +$padHeight = 1080 + +[Preset] +category = Gamepad Resolution +name = 2560x1440 +$padWidth = 2560 +$padHeight = 1440 + +[Preset] +category = Gamepad Resolution +name = 3200x1800 +$padWidth = 3200 +$padHeight = 1800 + +[Preset] +category = Gamepad Resolution +name = 3840x2160 +$padWidth = 3840 +$padHeight = 2160 + +[Preset] +category = Gamepad Resolution +name = 5120x2880 +$padWidth = 5120 +$padHeight = 2880 + +[Preset] +category = Gamepad Resolution +name = 7680x4320 +$padWidth = 7680 +$padHeight = 4320 + + +# Shadow Quality + +[Preset] +category = Shadow Quality +name = Medium (100%, Default) + +[Preset] +category = Shadow Quality +name = Low (50%) +$shadowRes = 0.5 + +[Preset] +category = Shadow Quality +name = High (200%) +$shadowRes = 2 + +[Preset] +category = Shadow Quality +name = Ultra (300%) +$shadowRes = 3 + +[Preset] +category = Shadow Quality +name = Extreme (400%, Unstable) +$shadowRes = 4 + + + +# Texture Redefines [TextureRedefine] # Game output and hud resolution width = 1280 @@ -90,8 +180,8 @@ overwriteHeight = ($height/$gameHeight) * 720 width = 864 height = 480 formats = 0x01a -overwriteWidth = ($width/$gameWidth) * 864 -overwriteHeight = ($height/$gameHeight) * 480 +overwriteWidth = ($padWidth/$gamePadWidth) * 864 +overwriteHeight = ($padHeight/$gamePadHeight) * 480 [TextureRedefine] # Stage rendering width = 1024 @@ -198,3 +288,11 @@ height = 4 formats = 0x01a overwriteWidth = ($width/$gameWidth) * 8 overwriteHeight = ($height/$gameHeight) * 4 + +# Shadows +[TextureRedefine] +width = 512 +height = 2048 +formats = 0x005 +overwriteWidth = $shadowRes * 512 +overwriteHeight = $shadowRes * 2048 diff --git a/Resolutions/SkylandersTrapTeam_Resolution/4f04d8903ea4256a_0000000000000079_ps.txt b/src/SkylandersTrapTeam/Graphics/4f04d8903ea4256a_0000000000000079_ps.txt similarity index 99% rename from Resolutions/SkylandersTrapTeam_Resolution/4f04d8903ea4256a_0000000000000079_ps.txt rename to src/SkylandersTrapTeam/Graphics/4f04d8903ea4256a_0000000000000079_ps.txt index 6e9d3398..4b326bb5 100644 --- a/Resolutions/SkylandersTrapTeam_Resolution/4f04d8903ea4256a_0000000000000079_ps.txt +++ b/src/SkylandersTrapTeam/Graphics/4f04d8903ea4256a_0000000000000079_ps.txt @@ -22,6 +22,7 @@ // Used for: Horizontal bloom blur float resXScale = float($width)/float($gameWidth); + #ifdef VULKAN layout(set = 1, binding = 1) uniform ufBlock { diff --git a/Resolutions/SkylandersTrapTeam_Resolution/52c4522be0df98da_0000000000000000_vs.txt b/src/SkylandersTrapTeam/Graphics/52c4522be0df98da_0000000000000000_vs.txt similarity index 99% rename from Resolutions/SkylandersTrapTeam_Resolution/52c4522be0df98da_0000000000000000_vs.txt rename to src/SkylandersTrapTeam/Graphics/52c4522be0df98da_0000000000000000_vs.txt index d6edc96e..e7caab7a 100644 --- a/Resolutions/SkylandersTrapTeam_Resolution/52c4522be0df98da_0000000000000000_vs.txt +++ b/src/SkylandersTrapTeam/Graphics/52c4522be0df98da_0000000000000000_vs.txt @@ -22,6 +22,7 @@ // Used for: Fixing shadow resolution float resScale = float($width)/float($gameWidth); + #ifdef VULKAN layout(set = 0, binding = 0) uniform ufBlock { diff --git a/Resolutions/SkylandersTrapTeam_Resolution/74681a5c2af57975_0000000000000079_ps.txt b/src/SkylandersTrapTeam/Graphics/74681a5c2af57975_0000000000000079_ps.txt similarity index 99% rename from Resolutions/SkylandersTrapTeam_Resolution/74681a5c2af57975_0000000000000079_ps.txt rename to src/SkylandersTrapTeam/Graphics/74681a5c2af57975_0000000000000079_ps.txt index d89ebdce..2b4dc27e 100644 --- a/Resolutions/SkylandersTrapTeam_Resolution/74681a5c2af57975_0000000000000079_ps.txt +++ b/src/SkylandersTrapTeam/Graphics/74681a5c2af57975_0000000000000079_ps.txt @@ -22,6 +22,7 @@ // Used for: Vertical bloom blur float resYScale = float($height)/float($gameHeight); + #ifdef VULKAN layout(set = 1, binding = 1) uniform ufBlock { diff --git a/Resolutions/SkylandersTrapTeam_Resolution/b262de99418ca791_0000000000000000_vs.txt b/src/SkylandersTrapTeam/Graphics/b262de99418ca791_0000000000000000_vs.txt similarity index 99% rename from Resolutions/SkylandersTrapTeam_Resolution/b262de99418ca791_0000000000000000_vs.txt rename to src/SkylandersTrapTeam/Graphics/b262de99418ca791_0000000000000000_vs.txt index d6edc96e..e7caab7a 100644 --- a/Resolutions/SkylandersTrapTeam_Resolution/b262de99418ca791_0000000000000000_vs.txt +++ b/src/SkylandersTrapTeam/Graphics/b262de99418ca791_0000000000000000_vs.txt @@ -22,6 +22,7 @@ // Used for: Fixing shadow resolution float resScale = float($width)/float($gameWidth); + #ifdef VULKAN layout(set = 0, binding = 0) uniform ufBlock { diff --git a/Resolutions/SkylandersTrapTeam_Resolution/b6bb4d6527f56601_0000000000000000_vs.txt b/src/SkylandersTrapTeam/Graphics/b6bb4d6527f56601_0000000000000000_vs.txt similarity index 99% rename from Resolutions/SkylandersTrapTeam_Resolution/b6bb4d6527f56601_0000000000000000_vs.txt rename to src/SkylandersTrapTeam/Graphics/b6bb4d6527f56601_0000000000000000_vs.txt index 6366026a..13dec710 100644 --- a/Resolutions/SkylandersTrapTeam_Resolution/b6bb4d6527f56601_0000000000000000_vs.txt +++ b/src/SkylandersTrapTeam/Graphics/b6bb4d6527f56601_0000000000000000_vs.txt @@ -22,6 +22,7 @@ // Used for: Vertical shadow edge smoothing float resYScale = float($height)/float($gameHeight); + #ifdef VULKAN layout(set = 0, binding = 0) uniform ufBlock { diff --git a/Resolutions/SkylandersTrapTeam_Resolution/e2a33ddb22abbc43_0000000000000000_vs.txt b/src/SkylandersTrapTeam/Graphics/e2a33ddb22abbc43_0000000000000000_vs.txt similarity index 99% rename from Resolutions/SkylandersTrapTeam_Resolution/e2a33ddb22abbc43_0000000000000000_vs.txt rename to src/SkylandersTrapTeam/Graphics/e2a33ddb22abbc43_0000000000000000_vs.txt index f7f90e87..18a0aef8 100644 --- a/Resolutions/SkylandersTrapTeam_Resolution/e2a33ddb22abbc43_0000000000000000_vs.txt +++ b/src/SkylandersTrapTeam/Graphics/e2a33ddb22abbc43_0000000000000000_vs.txt @@ -22,6 +22,7 @@ // Used for: Horizontal shadow edge smoothing float resXScale = float($width)/float($gameWidth); + #ifdef VULKAN layout(set = 0, binding = 0) uniform ufBlock { diff --git a/Resolutions/SkylandersTrapTeam_Resolution/rules.txt b/src/SkylandersTrapTeam/Graphics/rules.txt similarity index 75% rename from Resolutions/SkylandersTrapTeam_Resolution/rules.txt rename to src/SkylandersTrapTeam/Graphics/rules.txt index fb9440ef..5b04afb8 100644 --- a/Resolutions/SkylandersTrapTeam_Resolution/rules.txt +++ b/src/SkylandersTrapTeam/Graphics/rules.txt @@ -1,83 +1,108 @@ [Definition] titleIds = 000500001017C600,0005000010181F00 -name = Resolution -path = "Skylanders Trap Team/Graphics/Resolution" -description = Changes the resolution of the game. Made by Crementif. -version = 4 +name = Game Resolution and Shadow Quality +path = "Skylanders Trap Team/Graphics" +description = Changes the resolution of the game and the quality of the shadows.||Made by Crementif. +version = 5 -[Preset] -name = 1280x720 (Default) +[Default] $width = 1280 $height = 720 $gameWidth = 1280 $gameHeight = 720 +$shadowRes = 1 -# Performance + +# Resolution [Preset] +category = Resolution +name = 1280x720 (Default) + +[Preset] +category = Resolution name = 640x360 $width = 640 $height = 360 -$gameWidth = 1280 -$gameHeight = 720 [Preset] +category = Resolution name = 960x540 $width = 960 $height = 540 -$gameWidth = 1280 -$gameHeight = 720 - -# Common HD Resolutions [Preset] +category = Resolution name = 1600x900 $width = 1600 $height = 900 -$gameWidth = 1280 -$gameHeight = 720 [Preset] +category = Resolution name = 1920x1080 $width = 1920 $height = 1080 -$gameWidth = 1280 -$gameHeight = 720 [Preset] +category = Resolution name = 2560x1440 $width = 2560 $height = 1440 -$gameWidth = 1280 -$gameHeight = 720 [Preset] +category = Resolution name = 3200x1800 $width = 3200 $height = 1800 -$gameWidth = 1280 -$gameHeight = 720 [Preset] +category = Resolution name = 3840x2160 $width = 3840 $height = 2160 -$gameWidth = 1280 -$gameHeight = 720 [Preset] +category = Resolution name = 5120x2880 $width = 5120 $height = 2880 -$gameWidth = 1280 -$gameHeight = 720 [Preset] +category = Resolution name = 7680x4320 $width = 7680 $height = 4320 -$gameWidth = 1280 -$gameHeight = 720 + + +# Shadow Quality + +[Preset] +category = Shadow Quality +name = Medium (100%, Default) + +[Preset] +category = Shadow Quality +name = Low (50%) +$shadowRes = 0.5 + +[Preset] +category = Shadow Quality +name = High (200%) +$shadowRes = 2 + +[Preset] +category = Shadow Quality +name = Ultra (300%) +$shadowRes = 3 + +[Preset] +category = Shadow Quality +name = Extreme (400%, Unstable) +$shadowRes = 4 + + + +# Texture Redefines [TextureRedefine] # Game output and hud resolution width = 1280 @@ -145,6 +170,7 @@ overwriteWidth = ($width/$gameWidth) * 102 overwriteHeight = ($height/$gameHeight) * 57 # Bloom blur + [TextureRedefine] # Squashed bloom width = 256 height = 256 @@ -181,3 +207,12 @@ height = 240 formats = 0x01a,0x011 overwriteWidth = ($width/$gameWidth) * 427 overwriteHeight = ($height/$gameHeight) * 240 + +# Shadows + +[TextureRedefine] +width = 512 +height = 2048 +formats = 0x5 +overwriteWidth = $shadowRes * 512 +overwriteHeight = $shadowRes * 2048 diff --git a/src/SkylandersTrapTeam/Mods/FPS/rules.txt b/src/SkylandersTrapTeam/Mods/FPS/rules.txt new file mode 100644 index 00000000..5bae6a09 --- /dev/null +++ b/src/SkylandersTrapTeam/Mods/FPS/rules.txt @@ -0,0 +1,76 @@ +[Definition] +titleIds = 000500001017C600,0005000010181F00 +name = FPS +path = "Skylanders Trap Team/Mods/FPS" +description = Changes the game's dynamic FPS target. Might have bugs, especially when going above 120 FPS.||Made by Mew00. +version = 6 + +[Default] +$targetFPS:int = 30 + + +# FPS Limit + +[Preset] +name= 244 FPS +category = FPS Limit +$targetFPS:int = 244 + +[Preset] +name= 165 FPS +category = FPS Limit +$targetFPS:int = 165 + +[Preset] +name = 144 FPS +category = FPS Limit +$targetFPS:int = 144 + +[Preset] +name = 120 FPS +category = FPS Limit +$targetFPS:int = 120 + +[Preset] +name = 100 FPS +category = FPS Limit +$targetFPS:int = 100 + +[Preset] +name = 85 FPS +category = FPS Limit +$targetFPS:int = 85 + +[Preset] +name = 75 FPS +category = FPS Limit +$targetFPS:int = 75 + +[Preset] +name = 72 FPS +category = FPS Limit +$targetFPS:int = 72 + +[Preset] +name = 60 FPS +category = FPS Limit +$targetFPS:int = 60 + +[Preset] +name = 40 FPS +category = FPS Limit +$targetFPS:int = 40 + +[Preset] +name = 30 FPS (Default) +category = FPS Limit +default = 1 + +[Preset] +name = 20 FPS +category = FPS Limit +$targetFPS:int = 20 + + +[Control] +vsyncFrequency = 2*$targetFPS \ No newline at end of file