mirror of
https://github.com/Calinou/scoop-games.git
synced 2026-08-02 15:59:43 +08:00
103 lines
4.4 KiB
JSON
103 lines
4.4 KiB
JSON
{
|
|
"version": "20260801-g202923d",
|
|
"description": "Fast PlayStation 1 emulator (preview build)",
|
|
"homepage": "https://www.duckstation.org/",
|
|
"license": {
|
|
"identifier": "CC-BY-NC-ND-4.0",
|
|
"url": "https://github.com/stenzek/duckstation/blob/master/LICENSE"
|
|
},
|
|
"notes": [
|
|
"ATTENTION: Duckstation requires a PSX BIOS to function.",
|
|
"Place the BIOS file in $persist_dir\\bios",
|
|
"Learn more at: https://web.archive.org/web/20210620033009/https://www.duckstation.org/wiki/BIOS"
|
|
],
|
|
"suggest": {
|
|
"Microsoft Visual C++ Runtime 2022": "extras/vcredist2022"
|
|
},
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/stenzek/duckstation/releases/download/preview/duckstation-windows-x64-release.zip",
|
|
"hash": "20f3614810dbaceef8b8bd9646b55a7ff58ba7afbd69b8e488bf290191696015",
|
|
"post_install": [
|
|
"New-item \"$dir\\portable.txt\" -ItemType File | Out-Null",
|
|
"echo \"update bin/shortcuts\"",
|
|
"$shell = New-Object -COM WScript.Shell",
|
|
"$shortcut = $shell.CreateShortCut(\"$env:APPDATA\\Microsoft\\Windows\\Start Menu\\Programs\\Scoop Apps\\DuckStation (preview).lnk\")",
|
|
"$shortcut.TargetPath = \"$original_dir\\duckstation-qt-x64-ReleaseLTCG.exe\"",
|
|
"$shortcut.Save()"
|
|
],
|
|
"bin": [
|
|
[
|
|
"duckstation-qt-x64-ReleaseLTCG.exe",
|
|
"duckstation"
|
|
]
|
|
]
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/stenzek/duckstation/releases/download/preview/duckstation-windows-arm64-release.zip",
|
|
"hash": "014d41cfad8c0c367c8d45730b2a87d04a380f05cd498ad35ac7378a902622aa",
|
|
"post_install": [
|
|
"New-item \"$dir\\portable.txt\" -ItemType File | Out-Null",
|
|
"echo \"update bin/shortcuts\"",
|
|
"$shell = New-Object -COM WScript.Shell",
|
|
"$shortcut = $shell.CreateShortCut(\"$env:APPDATA\\Microsoft\\Windows\\Start Menu\\Programs\\Scoop Apps\\DuckStation (preview).lnk\")",
|
|
"$shortcut.TargetPath = \"$original_dir\\duckstation-qt-ARM64-ReleaseLTCG.exe\"",
|
|
"$shortcut.Save()"
|
|
],
|
|
"bin": [
|
|
[
|
|
"duckstation-qt-ARM64-ReleaseLTCG.exe",
|
|
"duckstation"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"pre_install": [
|
|
"if (!(Test-Path \"$persist_dir\")) {",
|
|
" New-item \"$persist_dir\" -ItemType Directory | Out-Null",
|
|
" if (Test-Path \"$env:USERPROFILE\\Documents\\DuckStation\") {",
|
|
" Write-host \"Migrating AppData...\" -ForegroundColor yellow",
|
|
" Copy-Item -Path \"$env:USERPROFILE\\Documents\\DuckStation\\*\" -Destination \"$persist_dir\" -Recurse",
|
|
" Remove-Item -Path \"$env:USERPROFILE\\Documents\\DuckStation\" -Recurse",
|
|
" } else {",
|
|
" '[Main]', 'SettingsVersion = 3', '[AutoUpdater]', 'CheckAtStartup = false' | Set-Content \"$dir\\settings.ini\"",
|
|
" }",
|
|
"}"
|
|
],
|
|
"persist": [
|
|
"bios",
|
|
"cache",
|
|
"cheats",
|
|
"covers",
|
|
"dump",
|
|
"gamesettings",
|
|
"inputprofiles",
|
|
"memcards",
|
|
"savestates",
|
|
"screenshots",
|
|
"shaders",
|
|
"textures",
|
|
"settings.ini"
|
|
],
|
|
"pre_uninstall": "Copy-Item \"$dir\\settings.ini\" \"$persist_dir\" -ErrorAction SilentlyContinue -Force",
|
|
"post_uninstall": [
|
|
"echo \"update bin/shortcuts\"",
|
|
"Remove-Item \"$env:APPDATA\\Microsoft\\Windows\\Start Menu\\Programs\\Scoop Apps\\DuckStation (preview).lnk\""
|
|
],
|
|
"checkver": {
|
|
"url": "https://github.com/stenzek/duckstation/releases/tag/preview",
|
|
"regex": " datetime=\"(?<year>[0-9]{4})-(?<month>[0-9]{2})-(?<day>[0-9]{2})[\\s\\S]*?.*duckstation/commit/(?<commit>[0-9a-f]{7})",
|
|
"replace": "${year}${month}${day}-g${commit}"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/stenzek/duckstation/releases/download/preview/duckstation-windows-x64-release.zip"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/stenzek/duckstation/releases/download/preview/duckstation-windows-arm64-release.zip"
|
|
}
|
|
}
|
|
}
|
|
}
|