-
Notifications
You must be signed in to change notification settings - Fork 2
/
krnlist_all.h
219 lines (196 loc) · 6.35 KB
/
krnlist_all.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
/* krn list*/
const s16 scale1[] =
{
0x0000, 0x004E, 0x011D, 0x01E3, 0x01C1,
0x0000, 0xFCA5, 0xF8D0, 0xF69D, 0xF873,
0x0000, 0x0D47, 0x1E35, 0x2F08, 0x3B6F,
0x4000, 0x3B6F, 0x2F08, 0x1E35, 0x0D47,
0x0000, 0xF873, 0xF69D, 0xF8D0, 0xFCA5,
0x0000, 0x01C1, 0x01E3, 0x011D, 0x004E
};
const s16 stesta[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x1000, 0x2000, 0x3000, 0x4000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
const s16 stestb[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x4000, 0x3000, 0x2000, 0x1000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
const s16 stestc[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x4000, 0x1000, 0x3000, 0x0000, 0x2000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
const s16 stestd[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x2000, 0x0000, 0x3000, 0x1000, 0x4000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
const s16 steste[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x6000, 0x7000, 0x0000,
0x0000, 0x5000, 0x0000, 0x0000, 0x0000,
0x4000, 0x0000, 0x0000, 0x0000, 0x1000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
const s16 scalea[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x2000,
0x4000, 0x4000, 0x4000, 0x4000, 0x2000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
const s16 scaleb[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x4000,
0x4000, 0x4000, 0x4000, 0x4000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
const s16 scalex[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x4000, 0x4000, 0x4000, 0x4000, 0x4000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
const s16 scalec[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0CCC, 0x199A, 0x2666, 0x3334,
0x4000, 0x3334, 0x2666, 0x199A, 0x0CCC,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
const s16 scaled[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x3000, 0x2000, 0x1000, 0x4000,
0x4000, 0x1000, 0x2000, 0x3000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
const s16 scalee[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x1A00,
0x4000, 0x4000, 0x4000, 0x4000, 0x2000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0600,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
const s16 scalef[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0xF400,
0xF800, 0xF800, 0xF800, 0xF800, 0x3000,
0x5000, 0x5000, 0x5000, 0x5000, 0x2000,
0xF800, 0xF800, 0xF800, 0xF800, 0xFC00,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
const s16 scaleg[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x1000,
0x2000, 0x2000, 0x2000, 0x2000, 0x1000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
const s16 scaleh[] =
{
0x0000, 0x002F, 0x008E, 0x00F1, 0x00E0,
0x0000, 0xFE52, 0xFC68, 0xFB4E, 0xFC39,
0x0000, 0x06A3, 0x0F1A, 0x1784, 0x1DB7,
0x2000, 0x1DB7, 0x1784, 0x0F1A, 0x06A3,
0x0000, 0xFC39, 0xFB4E, 0xFC68, 0xFE52,
0x0000, 0x00E0, 0x00F1, 0x008E, 0x002F
};
const s16 scalei[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0xF800, 0xF800, 0xF800, 0xF800,
0xF800, 0x1000, 0x2000, 0x3000, 0x4000,
0x5000, 0x4000, 0x3000, 0x2000, 0x1000,
0xF800, 0xF800, 0xF800, 0xF800, 0xF800,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
const s16 scale2[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x2000, 0x4000, 0x0000, 0x2000, 0x4000,
0x4000, 0x2000, 0x0000, 0x4000, 0x2000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
// 0, 1, 2, 2, 2, 3
// 4, 5, 6, 6, 6, 7
const s16 scaleo[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x1556, 0x2AAA, 0x4000, 0x1556, 0x2AAA,
0x4000, 0x2AAA, 0x1556, 0x0000, 0x2AAA, 0x1556,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
const struct
{
const s16* ptr;
const char* name;
} scalelist1[] =
{
{0, "shoutouts to Kingcom for armips"},
{scale1, "Nintendo default"},
{scalea, "Sono's crisp (original patch)"},
{scalee, "Sono's crisp (tweaked)"},
{scaleb, "Zero interpolation (double pixel)"},
{scalec, "Linear interpolation 1"},
{scaled, "Linear interpolation 2"},
{scalef, "Sharpen test 1"},
{scalei, "Linear sharpen 1"},
{scaleg, "Darken crisp"},
{scaleh, "Darken Nintendo"},
{stesta, "DEBUG PAT 0"},
{stestb, "DEBUG PAT 0 REV"},
{stestc, "DEBUG INT 0"},
{stestd, "DEBUG INT 0 REV"},
{steste, "DEBUG INC TEST"},
{0, 0},
{scale2, "Nintendo default"},
{scaleo, "Linear interpolation test"},
{0, 0},
{scalex, "DEBUG INC TEST"},
{0, 0},
{0, "Custom"},
{0, 0}
};