/
mame.json
79 lines (79 loc) · 2.88 KB
/
mame.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
{
"version": "0.265",
"description": "Arcade machine emulator",
"homepage": "http://mamedev.org",
"license": {
"identifier": "GPL-2.0",
"url": "https://github.com/mamedev/mame/blob/master/COPYING"
},
"architecture": {
"32bit": {
"url": "https://raw.githubusercontent.com/Calinou/scoop-games/27ba46f443a3446a70bf1f93eeb09797be0fb286/bucket/mame.json",
"hash": "c5000bfb8d01c568cb4b7df64cb16f2361729e19d43dd7bee30d1db72ac1b2c5",
"pre_install": [
"Write-Host -ForegroundColor Yellow \"WARN: MAME no longer provides up to date 32bit binaries\"",
"Write-Host -ForegroundColor Yellow \"Continue installing latest 32bit release (0.217)? \"",
"$choice = (Read-Host -Prompt \"[Y / N]\").toLower()",
"switch ($choice) {",
" y {scoop uninstall mame",
" scoop install https://raw.githubusercontent.com/Calinou/scoop-games/27ba46f443a3446a70bf1f93eeb09797be0fb286/bucket/mame.json",
" scoop hold mame",
" exit 0",
" }",
" n {Write-Error -Message \"Install aborted.\" -Category NotInstalled",
" scoop uninstall mame",
" exit 1",
" }",
"}"
]
},
"64bit": {
"url": "https://github.com/mamedev/mame/releases/download/mame0265/mame0265b_64bit.exe#/dl.7z",
"hash": "5a0e769958a089f58892a9aac4418cfba032cf371a15384f254c4780a5f60350",
"pre_install": [
"if(!(Test-Path \"$persist_dir\\mame.ini\")) {",
" Start-Process \"$dir\\mame.exe\" -WorkingDirectory \"$dir\" -ArgumentList \"-createconfig\"",
" Start-Sleep -Seconds 5",
"}"
],
"bin": [
[
"mame.exe",
"mame"
],
[
"chdman.exe",
"chdman"
]
],
"shortcuts": [
[
"mame.exe",
"Arcade [mame]"
]
]
}
},
"persist": [
"ctrlr",
"plugins",
"roms",
"mame.ini",
"ui.ini",
"plugin.ini"
],
"checkver": {
"github": "https://github.com/mamedev/mame",
"regex": "MAME ([\\d.]+)"
},
"autoupdate": {
"architecture": {
"32bit": {
"url": "https://raw.githubusercontent.com/Calinou/scoop-games/27ba46f443a3446a70bf1f93eeb09797be0fb286/bucket/mame.json"
},
"64bit": {
"url": "https://github.com/mamedev/mame/releases/download/mame$cleanVersion/mame$cleanVersionb_64bit.exe#/dl.7z"
}
}
}
}