Skip to content

Commit cc90417

Browse files
authored
[Skylanders Trap Team] Add ultrawide monitor support
Thanks to @Flextape05 for this addition!
1 parent 0914ce0 commit cc90417

File tree

2 files changed

+124
-5
lines changed

2 files changed

+124
-5
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[tfbgame_cafe16]
2+
moduleMatches = 0x2a14bb42
3+
0x10006864 = .float $width/$height #Main aspect ratio
4+
0x10006860 = .float $hudY
5+
0x1000685c = .float $hudX
6+
0x1005d808 = .float $fov
7+
8+
[tfbgame_cafe0]
9+
moduleMatches = 0x321d97f0
10+
0x10006864 = .float $width/$height #Main aspect ratio
11+
0x10006860 = .float $hudY
12+
0x1000685c = .float $hudX
13+
0x1005d808 = .float $fov
14+

src/SkylandersTrapTeam/Graphics/rules.txt

Lines changed: 110 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
titleIds = 000500001017C600,0005000010181F00
33
name = Game Resolution and Shadow Quality
44
path = "Skylanders Trap Team/Graphics"
5-
description = Changes the resolution of the game and the quality of the shadows.||Made by Crementif.
5+
description = Changes the resolution of the game and the quality of the shadows.||Made by Crementif.Aspect ratio patch made by Flextape05
66
version = 5
77

88
[Default]
@@ -11,7 +11,9 @@ $height = 720
1111
$gameWidth = 1280
1212
$gameHeight = 720
1313
$shadowRes = 1
14-
14+
$hudY = 720
15+
$hudX = 1280
16+
$fov = 0.017453292
1517

1618
# Resolution
1719

@@ -73,8 +75,113 @@ name = 7680x4320
7375
$width = 7680
7476
$height = 4320
7577

78+
[Preset]
79+
category = Resolution
80+
name = 2560x1080(21:9)
81+
$width = 2560
82+
$height = 1080
83+
$hudY = 720
84+
$hudX = 1720
85+
$fov = 0.0163
86+
87+
[Preset]
88+
category = Resolution
89+
name = 3440x1440(21:9)
90+
$width = 3440
91+
$height = 1440
92+
$hudY = 720
93+
$hudX = 1720
94+
$fov = 0.0163
95+
96+
[Preset]
97+
category = Resolution
98+
name = 5120x2160(21:9)
99+
$width = 5120
100+
$height = 2160
101+
$hudY = 720
102+
$hudX = 1720
103+
$fov = 0.0163
104+
105+
[Preset]
106+
category = Resolution
107+
name = 3840x1080(32:9)(broken shadows)
108+
$width = 3840
109+
$height = 1080
110+
$hudY = 720
111+
$hudX = 2560
112+
$fov = 0.013
76113

77-
# Shadow Quality
114+
[Preset]
115+
category = Resolution
116+
name = 5120x1440(32:9)(broken shadows)
117+
$width = 5120
118+
$height = 1440
119+
$hudY = 720
120+
$hudX = 2560
121+
$fov = 0.013
122+
123+
[Preset]
124+
category = Resolution
125+
name = 640x480(4:3)
126+
$width = 640
127+
$height = 480
128+
$hudY = 768
129+
$hudX = 1024
130+
$fov = 0.019053293
131+
132+
[Preset]
133+
category = Resolution
134+
name = 1024x768(4:3)
135+
$width = 1024
136+
$height = 768
137+
$hudY = 768
138+
$hudX = 1024
139+
$fov = 0.019053293
140+
141+
[Preset]
142+
category = Resolution
143+
name = 1600x1200(4:3)
144+
$width = 1600
145+
$height = 1200
146+
$hudY = 768
147+
$hudX = 1024
148+
$fov = 0.019053293
149+
150+
[Preset]
151+
category = Resolution
152+
name = 1280x800(16:10)
153+
$width = 1280
154+
$height = 800
155+
$hudY = 800
156+
$hudX = 1280
157+
$fov = 0.018353293
158+
159+
[Preset]
160+
category = Resolution
161+
name = 1680x1050(16:10)
162+
$width = 1680
163+
$height = 1050
164+
$hudY = 800
165+
$hudX = 1280
166+
$fov = 0.018353293
167+
168+
[Preset]
169+
category = Resolution
170+
name = 1920x1200(16:10)
171+
$width = 1920
172+
$height = 1200
173+
$hudY = 800
174+
$hudX = 1280
175+
$fov = 0.018353293
176+
177+
[Preset]
178+
category = Resolution
179+
name = 2560x1600(16:10)
180+
$width = 2560
181+
$height = 1600
182+
$hudY = 800
183+
$hudX = 1280
184+
$fov = 0.018353293
78185

79186
[Preset]
80187
category = Shadow Quality
@@ -100,8 +207,6 @@ category = Shadow Quality
100207
name = Extreme (400%, Unstable)
101208
$shadowRes = 4
102209

103-
104-
105210
# Texture Redefines
106211

107212
[TextureRedefine] # Game output and hud resolution

0 commit comments

Comments
 (0)