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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
"""
Looks for a configuration file named `decomp.yaml` starting from the current directory and going to all parent directories.
"""
"""
Looks for a configuration file named `decomp.yaml` starting from the given directory and going to all parent directories.
"""
"""
Reads a configuration file from the given path.
"""
"""
The top-level configuration struct. This represents the entirety of the decomp.yaml format.
"""
:
"""
Human-readable name of the project. Example: Paper Mario
"""
: | None
"""
The repository URL of the project
"""
: | None
"""
The website for the project
"""
: | None
"""
An invite link to the project's Discord server
"""
:
"""
The platform the project is for. Example: n64
"""
: | None
"""
The build system used by the project. Example: [ninja, make]
"""
:
"""
A list of all Versions inside the project
"""
: | None
"""
Settings for various tools
"""
...
"""
Represents a single version of a project. A project can have one or several versions. For example, one might decompile the JP 1.0, JP 1.1, and US 1.1 versions of a game. These each would be a Version.
"""
:
"""
The shorthand identifier for the version, meant to be easily memorable and typable. Example: us10
"""
:
"""
The human-readable name of the version. Example: US 1.0
"""
: | None
"""
The sha1 hash of the target executable. This can be used by tools to ensure the correct executable is being worked with.
"""
:
"""
A list of paths that tools may care about.
"""
"""
Represents the set of important file and directory paths associated with a project version.
Each field corresponds to a specific artifact or directory relevant to decomp tools.
"""
:
"""
Path to the original target binary (e.g., the ROM or executable to decompile). Usually called "baserom" by many projects.
## Examples
```
target: "config/us/baserom_decompressed.us.z64"
```
"""
:
"""
Directory where build artifacts are generated.
## Examples
```
build_dir: "build/ntsc-u/"
```
"""
:
"""
Path to the map file generated during the build.
## Examples
```
map: "build/us/drmario64.us.map"
```
"""
:
"""
Path to the binary produced by the project's build system.
## Examples
```
compiled_target: "build/us/drmario64_uncompressed.us.z64"
```
"""
: | None
"""
Path to the intermediary ELF file generated during the build, if any.
## Examples
```
elf: "build/pokemonsnap.elf"
```
"""
: | None
"""
Directory containing the expected files used for comparison.
Many projects simply put a copy of their `build` directory inside this expected directory.
## Examples
```
expected_dir: "expected/"
```
"""
: | None
"""
Directory containing disassembled assembly files.
## Examples
```
asm: "asm/"
```
```
asm: "asm/rev0/"
```
"""
: | None
"""
Directory containing functions or files that have not yet been matched to the original binary.
## Examples
```
nonmatchings: "asm/rev0/nonmatchings"
```
"""
: | None
"""
Path to the original target binary before decompression, if any.
## Examples
```
compressed_target: "config/usa/rom_original.z64"
```
"""
: | None
"""
Path to the compressed binary produced by the build system, if any.
## Examples
```
compressed_compiled_target: "build/usa/compressed_rom.z64"
```
"""
"""
Represents a tool and its settings
"""
...
...
...
...
...
"""
Settings for the [decomp.me](https://decomp.me) platform
"""
:
"""
Settings for [decomp-permuter](https://github.com/simonlindholm/decomp-permuter)
"""
:
"""
Settings for [frogress](https://github.com/decompals/frogress)
"""
:
"""
The project slug as defined in the frogress database
"""
:
"""
The frogress settings for each version of the project
"""
"""
Settings for a version in frogress's schema
"""
: