Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/assets/demo_data.json
7854 views
1
/*
2
* This file defines the demo data. It's parsed by tools/demo_data_converter.py.
3
*
4
* The "table" array declares the order of the demos and will be generated
5
* as pairs of (offset, size).
6
* Each item has a "demofile" property, which must reference a demofile
7
* in the "demofiles" array.
8
* "ifdef" is an optional array property which can be used to specify
9
* requirement of SM64 version.
10
* "extraSize" is an optional property which will be added the size of the
11
* demofile.
12
*
13
* The "demofiles" array declares the inclusion order of the demofiles.
14
* A file with the ".bin" extension with the "name" property as basename
15
* should exist in the assets/demos/ directory.
16
* "ifdef" is an optional array property which can be used to specify
17
* requirement of SM64 version.
18
*/
19
20
{
21
"table": [
22
{"demofile":"bitdw", "ifdef":["VERSION_US", "VERSION_SH"]},
23
24
/* Whomp's Fortress has the wrong size.
25
The original entries probably manually input the sizes. */
26
{"demofile":"wf", "extraSize":368},
27
28
{"demofile":"ccm"},
29
{"demofile":"bbh"},
30
{"demofile":"jrb"},
31
{"demofile":"hmc"},
32
{"demofile":"pss"}
33
],
34
"demofiles": [
35
{"name":"bbh"},
36
{"name":"ccm"},
37
{"name":"hmc"},
38
{"name":"jrb"},
39
{"name":"wf"},
40
{"name":"pss"},
41
42
/* Might be an unused demo, but it doesn't define a header,
43
so it can't be normally called. Speculation: "blooper" take for CCM.
44
Mario runs into the sign and aligns himself as if it were a mistake. */
45
{"name":"unused"},
46
47
{"name":"bitdw", "ifdef":["VERSION_US", "VERSION_SH"]}
48
]
49
}
50
51