mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-22 01:29:18 +01:00
[Skylanders] Add FPS patch and update to V6
This commit is contained in:
parent
e44ba624e7
commit
189af91213
@ -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
|
@ -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
|
@ -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]
|
||||
|
@ -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
|
||||
{
|
@ -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;
|
@ -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
|
||||
{
|
@ -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
|
@ -22,6 +22,7 @@
|
||||
// Used for: Horizontal bloom blur
|
||||
float resXScale = float($width)/float($gameWidth);
|
||||
|
||||
|
||||
#ifdef VULKAN
|
||||
layout(set = 1, binding = 1) uniform ufBlock
|
||||
{
|
@ -22,6 +22,7 @@
|
||||
// Used for: Fixing shadow resolution
|
||||
float resScale = float($width)/float($gameWidth);
|
||||
|
||||
|
||||
#ifdef VULKAN
|
||||
layout(set = 0, binding = 0) uniform ufBlock
|
||||
{
|
@ -22,6 +22,7 @@
|
||||
// Used for: Vertical bloom blur
|
||||
float resYScale = float($height)/float($gameHeight);
|
||||
|
||||
|
||||
#ifdef VULKAN
|
||||
layout(set = 1, binding = 1) uniform ufBlock
|
||||
{
|
@ -22,6 +22,7 @@
|
||||
// Used for: Fixing shadow resolution
|
||||
float resScale = float($width)/float($gameWidth);
|
||||
|
||||
|
||||
#ifdef VULKAN
|
||||
layout(set = 0, binding = 0) uniform ufBlock
|
||||
{
|
@ -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
|
||||
{
|
@ -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
|
||||
{
|
@ -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
|
76
src/SkylandersTrapTeam/Mods/FPS/rules.txt
Normal file
76
src/SkylandersTrapTeam/Mods/FPS/rules.txt
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user