/
yquake2.json
98 lines (98 loc) · 2.99 KB
/
yquake2.json
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
{
"version": "8.30",
"description": "Conservative Quake 2 source port focused on singleplayer and cooperative gameplay",
"homepage": "https://www.yamagi.org/quake2/",
"license": "GPL-2.0-or-later",
"notes": [
"Place game data files (such as pak0.pak-pak2.pak) in:",
"",
"- Quake 2:",
" $persist_dir\\baseq2\\",
"",
"- Quake 2 - Ground Zero:",
" $persist_dir\\rogue\\",
"",
"- Quake 2 - The Reckoning:",
" $persist_dir\\xatrix\\",
"",
"- Quake 2 - Zaero:",
" $persist_dir\\zaero\\",
"",
"The last of which was never released as an official expansion, but later showed up as a free download on the web - you should be able to find it easily by searching for it.",
"",
"Music",
"-----",
"",
"For the base game, copy all the tracks into the baseq2/music directory following the trackXX.[ogg,flac,mp3,wav] naming scheme (so track02.ogg, track03.ogg... for OGG files etc.).",
"",
"For Ground Zero, The Reckoning and Zaero, copy the tracks to rogue/music, xatrix/music, and zaero/music directories respectively.",
"",
"Tip: Create a soft symbolic link to the music directory if you want to save space.",
""
],
"suggest": {
"Vulkan renderer": "yquake2-ref-vk"
},
"url": "https://deponie.yamagi.org/quake2/windows/quake2-8.30.zip",
"hash": "48aa2e1e7b613db59eae6ff78c694f8c1a2249d575f29956eb73ea6b27a939e6",
"extract_dir": "quake2-8.30",
"installer": {
"script": [
"$persistFolders = @(",
" \"baseq2\"",
" \"ctf\"",
" \"rogue\"",
" \"xatrix\"",
" \"zaero\"",
")",
"$persistFolders | ForEach-Object {",
" if (Test-Path \"$persist_dir\\$_\") {",
" Copy-Item -Force -Recurse \"$dir\\$_\\*.dll\" \"$persist_dir\\$_\"",
" }",
"}"
]
},
"bin": [
"yquake2.exe",
"q2ded.exe"
],
"shortcuts": [
[
"yquake2.exe",
"Yamagi Quake 2"
],
[
"yquake2.exe",
"Yamagi Quake 2 (Ground Zero)",
"+set game rogue"
],
[
"yquake2.exe",
"Yamagi Quake 2 (The Reckoning)",
"+set game xatrix"
],
[
"yquake2.exe",
"Yamagi Quake 2 (Zaero)",
"+set game zaero"
]
],
"persist": [
"baseq2",
"ctf",
"music",
"rogue",
"xatrix",
"zaero"
],
"checkver": {
"url": "https://deponie.yamagi.org/quake2/windows",
"regex": "(?'ver'\\d\\.\\d{2}[a-z]?)",
"replace": "${ver}",
"reverse": true
},
"autoupdate": {
"url": "https://deponie.yamagi.org/quake2/windows/quake2-$matchVer.zip",
"extract_dir": "quake2-$matchVer"
}
}