Skip to content

Commit f58c968

Browse files
authored
Merge pull request #27 from karst/ragtime
Add Ragtime style replacement/cover
2 parents 337cb85 + e3820c7 commit f58c968

File tree

11 files changed

+88
-448
lines changed

11 files changed

+88
-448
lines changed
9.52 MB
Binary file not shown.
13.8 MB
Binary file not shown.
11.3 MB
Binary file not shown.
12 MB
Binary file not shown.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"id": "openrct2.music.ragtime2",
3+
"sourceGame": "official",
4+
"authors": ["Karst van Galen Last"],
5+
"version": "1.0",
6+
"objectType": "music",
7+
"properties": {
8+
"tracks": [
9+
{
10+
"source": "music/0.flac",
11+
"name": "Dill Pickles Rag",
12+
"composer": "Charles L. Johnson"
13+
},
14+
{
15+
"source": "music/1.flac",
16+
"name": "Something Doing Rag",
17+
"composer": "Scott Joplin"
18+
},
19+
{
20+
"source": "music/2.flac",
21+
"name": "New Era Rag",
22+
"composer": "James Scott"
23+
},
24+
{
25+
"source": "music/3.flac",
26+
"name": "Peacherine Rag",
27+
"composer": "Scott Joplin"
28+
}
29+
]
30+
},
31+
"strings": {
32+
"name": {
33+
"en-GB": "Ragtime style 2",
34+
"ca-ES": "Estil ragtime 2",
35+
"cs-CZ": "Ragtime 2",
36+
"da-DK": "Ragtime stil 2",
37+
"de-DE": "Ragtime-Stil 2",
38+
"es-ES": "Estilo ragtime 2",
39+
"fr-FR": "Ragtime 2",
40+
"hu-HU": "Ragtime stílus 2",
41+
"it-IT": "Stile ragtime 2",
42+
"ja-JP": "ラグタイム・スタイル 2番",
43+
"ko-KR": "래그타임 스타일 2",
44+
"nl-NL": "Ragtimestijl 2",
45+
"pl-PL": "Styl ragtime 2",
46+
"pt-BR": "Estilo Ragtime 2",
47+
"ru-RU": "Стиль Регги 2",
48+
"sv-SE": "Glade Chapplies piano 2",
49+
"tr-TR": "Ragtime tarzı 2",
50+
"zh-CN": "拉格泰姆风格2",
51+
"zh-TW": "雷格泰姆音樂風格2",
52+
"eo-ZZ": "Ragtimo-stilo 2",
53+
"fi-FI": "Ragtime-tyylinen 2"
54+
}
55+
}
56+
}
-32.4 KB
Binary file not shown.
-13.3 KB
Binary file not shown.

build.mjs

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,10 @@ const verbose = process.argv.indexOf('--verbose') != -1;
88

99
async function main() {
1010
await mkdir('out');
11-
const objectDirectories = await getContents('alternative', {
12-
includeDirectories: true
13-
});
14-
for (const dir of objectDirectories) {
15-
await createMusicObject(path.join('alternative', dir));
16-
}
11+
await createObjects('alternative');
12+
await createObjects('additional');
1713
await createAssetPack('openrct2.music.alternative.json');
14+
await createAssetPack('openrct2.music.cover.json');
1815
await createPackage();
1916
await rm('temp');
2017
}
@@ -29,6 +26,15 @@ async function createPackage() {
2926
await zip("out", path.join('..', packageFileName), contents);
3027
}
3128

29+
async function createObjects(root) {
30+
const objectDirectories = await getContents(root, {
31+
includeDirectories: true
32+
});
33+
for (const dir of objectDirectories) {
34+
await createMusicObject(path.join(root, dir));
35+
}
36+
}
37+
3238
async function createAssetPack(filename) {
3339
await rm('temp');
3440
await mkdir('temp');

0 commit comments

Comments
 (0)