Skip to content

Commit af871ef

Browse files
authored
[LEGO City Undercover] Add graphics (resolution, texture sharpness) pack (#682)
Thanks to @Ryce-Fast for adding the new Lego City Undercover graphic pack, which allows for changing the resolution and texture sharpness (anisotrophic filtering) of the game.
1 parent 15dbbfc commit af871ef

File tree

1 file changed

+197
-0
lines changed

1 file changed

+197
-0
lines changed

src/LEGOCityUndercover/rules.txt

Lines changed: 197 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
1+
[Definition]
2+
titleIds = 5000010101a00, 5000010101b00
3+
name = "Resolution"
4+
path = "Lego City Undercover/Graphics"
5+
description = Changes the resolution of the game. Made by Ryce-Fast.
6+
version = 5
7+
8+
[Default]
9+
$width = 1280
10+
$height = 720
11+
$gameWidth = 1280
12+
$gameHeight = 720
13+
$0x031 = 0
14+
$0x033 = 0
15+
$0x034 = 0
16+
$0x035 = 0
17+
$0x431 = 0
18+
$0x432 = 0
19+
$0x433 = 0
20+
$0x434 = 0
21+
22+
23+
# Resolutions
24+
25+
[Preset]
26+
name = 640x360
27+
category = Resolution
28+
$width = 640
29+
$height = 360
30+
$gameWidth = 1280
31+
$gameHeight = 720
32+
33+
[Preset]
34+
name = 960x540
35+
category = Resolution
36+
$width = 960
37+
$height = 540
38+
$gameWidth = 1280
39+
$gameHeight = 720
40+
41+
[Preset]
42+
name = 1280x720 (HD, Default)
43+
category = Resolution
44+
default = 1
45+
46+
[Preset]
47+
name = 1600x900 (HD+)
48+
category = Resolution
49+
$width = 1600
50+
$height = 900
51+
$gameWidth = 1280
52+
$gameHeight = 720
53+
54+
[Preset]
55+
name = 1920x1080 (Full HD)
56+
category = Resolution
57+
$width = 1920
58+
$height = 1080
59+
$gameWidth = 1280
60+
$gameHeight = 720
61+
62+
[Preset]
63+
name = 2560x1440 (2K)
64+
category = Resolution
65+
$width = 2560
66+
$height = 1440
67+
$gameWidth = 1280
68+
$gameHeight = 720
69+
70+
[Preset]
71+
name = 3200x1800
72+
category = Resolution
73+
$width = 3200
74+
$height = 1800
75+
$gameWidth = 1280
76+
$gameHeight = 720
77+
78+
[Preset]
79+
name = 3840x2160 (4K)
80+
category = Resolution
81+
$width = 3840
82+
$height = 2160
83+
$gameWidth = 1280
84+
$gameHeight = 720
85+
86+
[Preset]
87+
name = 5120x2880
88+
category = Resolution
89+
$width = 5120
90+
$height = 2880
91+
$gameWidth = 1280
92+
$gameHeight = 720
93+
94+
[Preset]
95+
name = 7680x4320 (8K)
96+
category = Resolution
97+
$width = 7680
98+
$height = 4320
99+
$gameWidth = 1280
100+
$gameHeight = 720
101+
102+
103+
# Texture Sharpness
104+
105+
[Preset]
106+
name = Normal Sharpness
107+
category = Texture Quality
108+
default = 1
109+
110+
[Preset]
111+
name = Medium Sharpness
112+
category = Texture Quality
113+
$0x031 = -.5
114+
$0x033 = -.5
115+
$0x034 = -.5
116+
$0x035 = -.5
117+
$0x431 = -.5
118+
$0x432 = -.5
119+
$0x433 = -.5
120+
$0x434 = -.5
121+
122+
[Preset]
123+
name = High Sharpness
124+
category = Texture Quality
125+
$0x031 = -1
126+
$0x033 = -1
127+
$0x034 = -1
128+
$0x035 = -1
129+
$0x431 = -1
130+
$0x432 = -1
131+
$0x433 = -1
132+
$0x434 = -1
133+
134+
[Preset]
135+
name = Ultra Sharpness
136+
category = Texture Quality
137+
$0x031 = -4
138+
$0x033 = -4
139+
$0x034 = -4
140+
$0x035 = -4
141+
$0x431 = -4
142+
$0x432 = -4
143+
$0x433 = -4
144+
$0x434 = -4
145+
146+
147+
[TextureRedefine]
148+
width = 1280
149+
height = 720
150+
tileModesExcluded = 0x001 # For Video Playback
151+
overwriteWidth = ($width/$gameWidth) * 1280
152+
overwriteHeight = ($height/$gameHeight) * 720
153+
154+
#[TextureRedefine]
155+
#width = 864
156+
#height = 480
157+
#formats = 0x01a
158+
#overwriteWidth = ($width/$gameWidth) * 864
159+
#overwriteHeight = ($height/$gameHeight) * 480
160+
161+
[TextureRedefine]
162+
width = 640
163+
height = 368
164+
overwriteWidth = ($width/$gameWidth) * 640
165+
overwriteHeight = ($height/$gameHeight) * 368
166+
167+
[TextureRedefine]
168+
formats = 0x031
169+
overwriteRelativeLodBias = $0x031
170+
171+
[TextureRedefine]
172+
formats = 0x033
173+
overwriteRelativeLodBias = $0x033
174+
175+
[TextureRedefine]
176+
formats = 0x034
177+
overwriteRelativeLodBias = $0x034
178+
179+
[TextureRedefine]
180+
formats = 0x035
181+
overwriteRelativeLodBias = $0x035
182+
183+
[TextureRedefine]
184+
formats = 0x431
185+
overwriteRelativeLodBias = $0x431
186+
187+
[TextureRedefine]
188+
formats = 0x432
189+
overwriteRelativeLodBias = $0x432
190+
191+
[TextureRedefine]
192+
formats = 0x433
193+
overwriteRelativeLodBias = $0x433
194+
195+
[TextureRedefine]
196+
formats = 0x434
197+
overwriteRelativeLodBias = $0x434

0 commit comments

Comments
 (0)