Skip to content

Commit

Permalink
[Skylanders Spyro Adventure] Add fixed resolution pack (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBlinker authored Jul 14, 2024
1 parent 8a968e6 commit 5e0a6b6
Show file tree
Hide file tree
Showing 2 changed files with 226 additions and 0 deletions.
149 changes: 149 additions & 0 deletions SkylandersSpyrosAdventure/Graphics/rules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
[Definition]
titleIds = 0005000010142D00
name = Resolution V2
path = "Skylanders: Spyro's Adventure/Graphics"
description = Changes the resolution of the game. Gamepad will only function with base resolution. Using the seperate gamepad view impacts game performance.||Made by Mr.Blinker
version = 6

[Default]
$tvWidth = 1280
$tvHeight = 720
$gamepadWidth = 854
$gamepadHeight = 480
$gameWidth = 1280
$gameHeight = 720
$shadowRes = 1

# TV Resolution

[Preset]
category = Resolution
name = 1280x720 (Default)
$tvWidth = 1280
$tvHeight = 720

[Preset]
category = Resolution
name = 640x360
$tvWidth = 640
$tvHeight = 360

[Preset]
category = Resolution
name = 960x540
$tvWidth = 960
$tvHeight = 540

[Preset]
category = Resolution
name = 1600x900
$tvWidth = 1600
$tvHeight = 900

[Preset]
category = Resolution
name = 1920x1080
$tvWidth = 1920
$tvHeight = 1080

[Preset]
category = Resolution
name = 2560x1440
$tvWidth = 2560
$tvHeight = 1440

[Preset]
category = Resolution
name = 3200x1800
$tvWidth = 3200
$tvHeight = 1800

[Preset]
category = Resolution
name = 3840x2160
$tvWidth = 3840
$tvHeight = 2160

[Preset]
category = Resolution
name = 5120x2880
$tvWidth = 5120
$tvHeight = 2880

[Preset]
category = Resolution
name = 7680x4320
$tvWidth = 7680
$tvHeight = 4320

# Gamepad Resolution

[Preset]
name = 854x480 (Default)
category = Gamepad Resolution
$gamepadWidth = 854
$gamepadHeight = 480


# 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%)
$shadowRes = 4

# Texture Redefines

[TextureRedefine] # Game output and hud resolution
width = 1280
height = 720
formats = 0x01a,0x011
overwriteWidth = ($tvWidth/$gameWidth) * 1280
overwriteHeight = ($tvHeight/$gameHeight) * 720

[TextureRedefine] # Gamepad resolution
width = 864
height = 480
formats = 0x01a
overwriteWidth = $gamepadWidth
overwriteHeight = $gamepadHeight

[TextureRedefine] # Stage rendering
width = 1024
height = 576
formats = 0x01a,0x011,0x80e
overwriteWidth = ($tvWidth/$gameWidth) * 1024
overwriteHeight = ($tvHeight/$gameHeight) * 576

[TextureRedefine] # Squashed/bloom alt viewport
width = 512
height = 576
formats = 0x01a,0x80e,0x011
overwriteWidth = ($tvWidth/$gameWidth) * 512
overwriteHeight = ($tvHeight/$gameHeight) * 576

[TextureRedefine] # Half-res viewport depth, blur and bloom
width = 512
height = 288
formats = 0x01a,0x80e,0x011
overwriteWidth = ($tvWidth/$gameWidth) * 512
overwriteHeight = ($tvHeight/$gameHeight) * 288
77 changes: 77 additions & 0 deletions SkylandersSpyrosAdventure/Mods/FPS/rules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
[Definition]
titleIds = 0005000010142d00
name = FPS V2
path = "Skylanders: Spyro's Adventure/Mods/FPS"
description = Changes the game's dynamic FPS target. Might increase the chance of issues with scanning figures.||Made by Mr.Blinker
version = 6

[Default]
$targetFPS:int = 60


# 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
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]
vsyncFrequency = $targetFPS

0 comments on commit 5e0a6b6

Please sign in to comment.