Skip to content

Commit

Permalink
[Skylanders] Add FPS patch and update to V6
Browse files Browse the repository at this point in the history
  • Loading branch information
Crementif committed Jun 16, 2021
1 parent e44ba62 commit 189af91
Show file tree
Hide file tree
Showing 15 changed files with 301 additions and 148 deletions.
33 changes: 0 additions & 33 deletions Enhancements/SkylandersImaginators_Shadows/rules.txt

This file was deleted.

33 changes: 0 additions & 33 deletions Enhancements/SkylandersTrapTeam_Shadows/rules.txt

This file was deleted.

49 changes: 25 additions & 24 deletions src/FastRacingNeo/Mods/StaticFPS/rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,64 +12,65 @@ $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
$targetFPS:int = 144

[Preset]
name = 60 FPS
name = 120 FPS
category = FPS Limit
default = 1
$targetFPS:int = 120

[Preset]
name = 72 FPS
name = 100 FPS
category = FPS Limit
$targetFPS:int = 72
$targetFPS:int = 100

[Preset]
name = 75 FPS
name = 85 FPS
category = FPS Limit
$targetFPS:int = 75
$targetFPS:int = 85

[Preset]
name = 85 FPS
name = 75 FPS
category = FPS Limit
$targetFPS:int = 85
$targetFPS:int = 75

[Preset]
name = 100 FPS
name = 72 FPS
category = FPS Limit
$targetFPS:int = 100
$targetFPS:int = 72

[Preset]
name = 120 FPS
name = 60 FPS (Default)
category = FPS Limit
$targetFPS:int = 120
default = 1

[Preset]
name = 144 FPS
name = 40 FPS
category = FPS Limit
$targetFPS:int = 144
$targetFPS:int = 40

[Preset]
name= 165 FPS
name = 30 FPS
category = FPS Limit
$targetFPS:int = 165
$targetFPS:int = 30

[Preset]
name= 244 FPS
name = 20 FPS
category = FPS Limit
$targetFPS:int = 244
$targetFPS:int = 20



[Control]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Loading

0 comments on commit 189af91

Please sign in to comment.