2019-12-26 08:56:02 -08:00
|
|
|
{
|
|
|
|
"homepage": "http://mamedev.org",
|
|
|
|
"description": "Arcade machine emulator",
|
2021-07-28 10:00:32 -07:00
|
|
|
"version": "0.234",
|
2019-12-26 08:56:02 -08:00
|
|
|
"license": "GPL-2.0-or-later",
|
|
|
|
"architecture": {
|
|
|
|
"64bit": {
|
2021-07-28 10:00:32 -07:00
|
|
|
"url": "https://github.com/mamedev/mame/releases/download/mame0234/mame0234b_64bit.exe#/dl.7z",
|
|
|
|
"hash": "8a73162a5553f9aeb951e737501f2c8b8695e2d84a3459e917a9a9ee9e653bad",
|
2021-06-21 00:10:10 -07:00
|
|
|
"pre_install": [
|
|
|
|
"if(!(Test-Path \"$persist_dir\\mame.ini\")) {",
|
|
|
|
" Start-Process \"$dir\\mame.exe\" -WorkingDirectory \"$dir\" -ArgumentList \"-createconfig\"",
|
|
|
|
" Start-Sleep -Seconds 5",
|
|
|
|
"}"
|
|
|
|
],
|
2019-12-26 08:56:02 -08:00
|
|
|
"bin": [
|
|
|
|
[
|
2021-06-21 00:10:10 -07:00
|
|
|
"mame.exe",
|
2019-12-26 08:56:02 -08:00
|
|
|
"mame"
|
|
|
|
]
|
|
|
|
],
|
2021-06-21 00:10:10 -07:00
|
|
|
"shortcuts": [
|
2019-12-26 08:56:02 -08:00
|
|
|
[
|
2021-06-21 00:10:10 -07:00
|
|
|
"mame.exe",
|
2019-12-26 08:56:02 -08:00
|
|
|
"MAME"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"32bit": {
|
2021-06-21 00:10:10 -07:00
|
|
|
"url": "https://file-examples-com.github.io/uploads/2017/02/file_example_JSON_1kb.json",
|
|
|
|
"hash": "aa20e971f6a0a7c482f3ed70cc6edc115eb577f987322ba42e5c3869e1d714d1",
|
|
|
|
"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",
|
|
|
|
" }",
|
|
|
|
"}"
|
2019-12-26 08:56:02 -08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"persist": [
|
|
|
|
"ctrlr",
|
|
|
|
"plugins",
|
|
|
|
"roms",
|
|
|
|
"mame.ini",
|
|
|
|
"ui.ini",
|
|
|
|
"plugin.ini"
|
|
|
|
],
|
|
|
|
"checkver": {
|
|
|
|
"github": "https://github.com/mamedev/mame",
|
|
|
|
"regex": "MAME ([\\d.]+)"
|
|
|
|
},
|
|
|
|
"autoupdate": {
|
|
|
|
"architecture": {
|
|
|
|
"64bit": {
|
|
|
|
"url": "https://github.com/mamedev/mame/releases/download/mame$cleanVersion/mame$cleanVersionb_64bit.exe#/dl.7z"
|
|
|
|
},
|
|
|
|
"32bit": {
|
2021-06-21 00:10:10 -07:00
|
|
|
"url": "https://file-examples-com.github.io/uploads/2017/02/file_example_JSON_1kb.json"
|
2019-12-26 08:56:02 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|