Fix cemu, citra, ppsspp, rpcs3, xemu and more (#654)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
master
beyondmeat 2022-07-10 16:17:03 -07:00 committed by GitHub
parent 79542125c7
commit 91d40966ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 173 additions and 109 deletions

View File

@ -8,7 +8,7 @@ build: off
deploy: off
clone_depth: 2
image: Visual Studio 2019
image: Visual Studio 2022
environment:
scoop: C:\projects\scoop
@ -17,7 +17,7 @@ environment:
lessmsi: '%scoop_helpers%\lessmsi\lessmsi.exe'
innounp: '%scoop_helpers%\innounp\innounp.exe'
matrix:
- PowerShell: 5
# - PowerShell: 5
- PowerShell: 7
cache:
@ -29,13 +29,13 @@ matrix:
init:
- ps: if(!(Test-Path "$env:SCOOP")) { git clone -q --depth=1 "https://github.com/ScoopInstaller/Scoop" "$env:SCOOP" }
for:
- matrix:
only:
- PowerShell: 5
install:
- ps: . "$env:SCOOP_HOME\test\bin\init.ps1"
test_script:
- ps: . "$env:SCOOP_HOME\test\bin\test.ps1" -TestPath "$env:APPVEYOR_BUILD_FOLDER"
# - matrix:
# only:
# - PowerShell: 5
# install:
# - ps: . "$env:SCOOP_HOME\test\bin\init.ps1"
# test_script:
# - ps: . "$env:SCOOP_HOME\test\bin\test.ps1" -TestPath "$env:APPVEYOR_BUILD_FOLDER"
- matrix:
only:
- PowerShell: 7

View File

@ -1,4 +1,4 @@
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = Resolve-Path (scoop prefix scoop) }
$checkurls = "$env:SCOOP_HOME/bin/checkurls.ps1"
$dir = "$psscriptroot/../bucket" # checks the parent dir
$dir = "$PSScriptRoot/../bucket" # checks the parent dir
Invoke-Expression -command "& '$checkurls' -dir '$dir' $($args | ForEach-Object { "$_ " })"

View File

@ -1,4 +1,4 @@
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = Resolve-Path (scoop prefix scoop) }
$checkver = "$env:SCOOP_HOME/bin/checkver.ps1"
$dir = "$psscriptroot/../bucket" # checks the parent dir
$dir = "$PSScriptRoot/../bucket" # checks the parent dir
Invoke-Expression -command "& '$checkver' -dir '$dir' $($args | ForEach-Object { "$_ " })"

View File

@ -1,4 +1,4 @@
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = Resolve-Path (scoop prefix scoop) }
$formatjson = "$env:SCOOP_HOME/bin/formatjson.ps1"
$path = "$psscriptroot/../bucket" # checks the parent dir
$path = "$PSScriptRoot/../bucket" # checks the parent dir
Invoke-Expression -command "& '$formatjson' -dir '$path' $($args | ForEach-Object { "$_ " })"

View File

@ -1,4 +1,4 @@
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = Resolve-Path (scoop prefix scoop) }
$missing_checkver = "$env:SCOOP_HOME/bin/missing-checkver.ps1"
$dir = "$psscriptroot/../bucket" # checks the parent dir
$dir = "$PSScriptRoot/../bucket" # checks the parent dir
Invoke-Expression -command "& '$missing_checkver' -dir '$dir' $($args | ForEach-Object { "$_ " })"

View File

@ -1,4 +1,5 @@
#requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '4.4.0' }
#Requires -Modules @{ ModuleName = 'Pester'; MaximumVersion = '4.99' }
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = Resolve-Path (scoop prefix scoop) }
Invoke-Pester "$psscriptroot/.."
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = Convert-Path (scoop prefix scoop) }
$result = Invoke-Pester "$PSScriptRoot\.." -PassThru
exit $result.FailedCount

76
bucket/cemu-dev.json Normal file
View File

@ -0,0 +1,76 @@
{
"version": "1.27.1",
"description": "Nintendo Wii U emulator",
"homepage": "https://cemu.info/",
"license": {
"identifier": "Freeware",
"url": "https://cemu.info"
},
"suggest": {
"cemuhook": "cemuhook",
"Microsoft Visual C++ Runtime 2022": "extras/vcredist2022"
},
"architecture": {
"64bit": {
"url": "https://cemu.info/releases/cemu_1.27.1.zip",
"hash": "d8e72e47f012f6cead4382409f44c3071c20342f9e18ec89235fa5d190404638"
}
},
"extract_dir": "cemu_1.27.1",
"pre_install": "if (!(Test-Path \"$persist_dir\\keys.txt\")) { New-Item \"$dir\\keys.txt\" -Type File | Out-Null }",
"installer": {
"script": [
"'cemuhook.dll', 'keystone.dll' | ForEach-Object {",
" if (Test-Path \"$(versiondir 'cemuhook' 'current' $global)\\$_\") {",
" Copy-Item \"$(versiondir 'cemuhook' 'current' $global)\\$_\" \"$dir\"",
" }",
"}",
"if (!(Test-Path \"$persist_dir\\keys.txt\")) {",
" New-Item \"$dir\\keys.txt\" -Type File | Out-Null",
"}"
]
},
"post_install": [
"'settings.xml' | ForEach-Object {",
" if (Test-Path \"$persist_dir\\$_.bak\") {",
" Copy-Item \"$persist_dir\\$_.bak\" \"$dir\\$_\" -Force",
" } else {",
" New-Item -ItemType File \"$dir\\$_\" | Out-Null",
" }",
"}"
],
"bin": "Cemu.exe",
"shortcuts": [
[
"cemu.exe",
"Cemu"
]
],
"persist": [
"controllerProfiles",
"gameProfiles",
"graphicPacks",
"mlc01",
"sharedFonts",
"shaderCache\\transferable",
"keys.txt"
],
"uninstaller": {
"script": [
"'settings.xml' | ForEach-Object {",
" Copy-Item \"$dir\\$_\" \"$persist_dir\\$_.bak\" -Force",
"}"
]
},
"checkver": {
"regex": "Download latest experimental version \\(v((?<version>[\\d.]+)[\\w]*?),"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://cemu.info/releases/cemu_$matchVersion.zip"
}
},
"extract_dir": "cemu_$matchVersion"
}
}

View File

@ -8,7 +8,7 @@
},
"suggest": {
"cemuhook": "cemuhook",
"vcredist2015-2022": "extras/vcredist2022"
"Microsoft Visual C++ Runtime 2022": "extras/vcredist2022"
},
"architecture": {
"64bit": {
@ -62,7 +62,7 @@
]
},
"checkver": {
"regex": "Download latest version \\(v((?<version>[\\d.]+)[\\w]*?),"
"regex": "Download latest stable version \\(v((?<version>[\\d.]+)[\\w]*?),"
},
"autoupdate": {
"architecture": {

View File

@ -20,9 +20,18 @@
"}"
],
"bin": [
[
"citra.exe",
"citra-canary"
],
[
"citra-qt.exe",
"citra-room.exe"
"citra-qt-canary"
],
[
"citra-room.exe",
"citra-room-canary"
]
],
"shortcuts": [
[
@ -33,10 +42,10 @@
"persist": "user",
"checkver": {
"github": "https://github.com/citra-emu/citra-canary",
"regex": "download/canary-(?<build>[\\d]+)/citra-windows-mingw-(?<date>[\\d]+)-(?<random>[a-fA-F\\d]+).7z",
"replace": "${1}-${2}"
"regex": "download/canary-(?<build>[\\d]+)/citra-windows-(?<env>[\\w]+)-(?<date>[\\d]{8})-(?<commit>[\\da-f]{7})\\.(?<zip>7z|zip)",
"replace": "${build}-${date}"
},
"autoupdate": {
"url": "https://github.com/citra-emu/citra-canary/releases/download/canary-$matchBuild/citra-windows-mingw-$matchDate-$matchRandom.7z"
"url": "https://github.com/citra-emu/citra-canary/releases/download/canary-$matchBuild/citra-windows-$matchEnv-$matchDate-$matchCommit.$matchZip"
}
}

View File

@ -33,10 +33,10 @@
"persist": "user",
"checkver": {
"github": "https://github.com/citra-emu/citra-nightly",
"regex": "download/nightly-(?<build>[\\d]+)/citra-windows-mingw-(?<date>[\\d]+)-(?<random>[a-fA-F\\d]+).7z",
"replace": "${1}-${2}"
"regex": "download/nightly-(?<build>[\\d]+)/citra-windows-(?<env>[\\w]+)-(?<date>[\\d]+)-(?<commit>[\\da-f]{7})\\.(?<zip>7z|zip)",
"replace": "${build}-${date}"
},
"autoupdate": {
"url": "https://github.com/citra-emu/citra-nightly/releases/download/nightly-$matchBuild/citra-windows-mingw-$matchDate-$matchRandom.7z"
"url": "https://github.com/citra-emu/citra-nightly/releases/download/nightly-$matchBuild/citra-windows-$matchEnv-$matchDate-$matchCommit.$matchZip"
}
}

View File

@ -1,13 +1,13 @@
{
"version": "6788bf1",
"version": "f6274cc",
"description": "Microsoft Xbox emulator",
"homepage": "https://cxbx-reloaded.co.uk/",
"license": {
"identifier": "GPL-2.0",
"url": "https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/blob/master/COPYING"
},
"url": "https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/releases/download/CI-6788bf1/CxbxReloaded-Release-VS2019.zip",
"hash": "93eed2c333ea62d718e7cfd5304f54ef1c768b809099967193108edd20c5bd39",
"url": "https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/releases/download/CI-f6274cc/CxbxReloaded-Release-VS2022.zip",
"hash": "e98bc08f9676a2d9d4d8433501b5228a767dc5453a72d0eb77072513e0a77f33",
"pre_install": "if (!(Test-Path \"$persist_dir\\settings.ini\")) { $null = New-Item \"$dir\\settings.ini\" }",
"bin": "cxbx.exe",
"shortcuts": [
@ -22,9 +22,9 @@
],
"checkver": {
"url": "https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/releases.atom",
"regex": "CI-([a-f\\d]+)"
"regex": "CI-([a-f\\d]+)."
},
"autoupdate": {
"url": "https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/releases/download/CI-$version/CxbxReloaded-Release-VS2019.zip"
"url": "https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/releases/download/CI-$version/CxbxReloaded-Release-VS2022.zip"
}
}

View File

@ -7,7 +7,7 @@
"url": "https://github.com/dolphin-emu/dolphin/blob/master/COPYING"
},
"suggest": {
"Microsoft Visual C++ Runtime 2019": "extras/vcredist2019"
"Microsoft Visual C++ Runtime 2022": "extras/vcredist2022"
},
"url": "https://dl.dolphin-emu.org/builds/4d/00/dolphin-master-5.0-16843-x64.7z",
"hash": "08c17d33ec9f4f748817b5ad05b9dc41511c8f9ba76842d7ded72fd22a2c63dd",

View File

@ -36,6 +36,6 @@
"regex": "https://dl-mirror.dolphin-emu.org/([\\d.]+)/dolphin-x64"
},
"autoupdate": {
"url": "https://dl-mirror.dolphin-emu.org/$version/dolphin-x64-$version.exe#/dolphin.lzma"
"url": "https://dl-mirror.dolphin-emu.org/$version/dolphin-x64-$version.exe#/dl.7z"
}
}

View File

@ -11,12 +11,8 @@
"Place the BIOS file in $persist_dir\\bios",
"Learn more at: https://www.duckstation.org/wiki/BIOS"
],
"architecture": {
"64bit": {
"url": "https://github.com/stenzek/duckstation/releases/download/latest/duckstation-windows-x64-release.zip",
"hash": "486bab13e3bb6ac19bd9145558afda0486613898d41e559feb8c8963a76229b4"
}
},
"url": "https://github.com/stenzek/duckstation/releases/download/latest/duckstation-windows-x64-release.zip",
"hash": "486bab13e3bb6ac19bd9145558afda0486613898d41e559feb8c8963a76229b4",
"installer": {
"script": [
"if (!(Test-Path \"$persist_dir\")) {",
@ -62,10 +58,6 @@
"replace": "${year}${month}${day}-g${commit}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/stenzek/duckstation/releases/download/latest/duckstation-windows-x64-release.zip"
}
}
}
}

View File

@ -12,29 +12,13 @@
"Learn more at https://wiki.pcsx2.net/Setting_up_Windows_version#BIOS"
],
"suggest": {
"Microsoft Visual C++ Runtime 2019": "extras/vcredist2019"
},
"architecture": {
"64bit": {
"url": "https://github.com/PCSX2/pcsx2/releases/download/v1.7.3066/pcsx2-v1.7.3066-windows-64bit-AVX2-Qt.7z",
"hash": "68c0e095c980fa4cc0b72bfcff8bae2df369a830c3153d770658d227c8b75d8e",
"bin": [
[
"pcsx2-qtx64-avx2.exe",
"pcsx2-dev"
]
],
"shortcuts": [
[
"pcsx2-qtx64-avx2.exe",
"PCSX2 (development)"
]
]
}
"Microsoft Visual C++ Runtime 2022": "extras/vcredist2022"
},
"url": "https://github.com/PCSX2/pcsx2/releases/download/v1.7.3066/pcsx2-v1.7.3066-windows-64bit-AVX2-Qt.7z",
"hash": "68c0e095c980fa4cc0b72bfcff8bae2df369a830c3153d770658d227c8b75d8e",
"pre_install": [
"if (!(Test-Path \"$persist_dir\")) {",
" New-item \"$persist_dir\" -ItemType Directory | Out-Null",
" New-Item \"$persist_dir\" -ItemType Directory | Out-Null",
" if (Test-Path \"$env:USERPROFILE\\Documents\\PCSX2\") {",
" Write-host \"Migrating AppData...\" -ForegroundColor yellow",
" Copy-Item -Path \"$env:USERPROFILE\\Documents\\PCSX2\\*\" -Destination \"$persist_dir\" -Recurse",
@ -46,6 +30,18 @@
" }",
"}"
],
"bin": [
[
"pcsx2-qtx64-avx2.exe",
"pcsx2-dev"
]
],
"shortcuts": [
[
"pcsx2-qtx64-avx2.exe",
"PCSX2 (dev)"
]
],
"persist": [
"bios",
"cheats_ws",
@ -67,10 +63,6 @@
"replace": "${basever}.${build}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/PCSX2/pcsx2/releases/download/v$version/pcsx2-v$version-windows-64bit-AVX2-Qt.7z"
}
}
}
}

View File

@ -12,7 +12,7 @@
"Learn more at https://wiki.pcsx2.net/Setting_up_Windows_version#BIOS"
],
"suggest": {
"Microsoft Visual C++ Runtime 2019": "extras/vcredist2019"
"Microsoft Visual C++ Runtime 2022": "extras/vcredist2022"
},
"url": "https://github.com/PCSX2/pcsx2/releases/download/v1.6.0/pcsx2-1.6.0-binaries.7z",
"hash": "f3401d6f74a4306797d9aab298d58c3b3898eb563495c463993f378c9f4801cb",

View File

@ -7,9 +7,13 @@
"url": "https://github.com/hrydgard/ppsspp/blob/master/LICENSE.TXT"
},
"url": "https://ppsspp.org/files/1_12_3/ppsspp_win.zip",
"hash": "c29b1faf56df9c9926cfb77f874484571fbe8e59689b1a39091425ab309e6463",
"architecture": {
"64bit": {
"hash": "f909ae76b63984cd88f8c3e8ff56fd6e6bd7de98dd1ee441b5290ddce3fe7d94",
"pre_install": [
"if (!(Test-Path \"$persist_dir\")) {",
" New-Item \"$persist_dir\" -ItemType Directory | Out-Null",
" New-Item \"$persist_dir\\memstick\" -ItemType Directory | Out-Null",
"}"
],
"bin": [
[
"PPSSPPWindows64.exe",
@ -21,15 +25,6 @@
"PPSSPPWindows64.exe",
"PPSSPP"
]
]
}
},
"extract_dir": "ppsspp",
"pre_install": [
"if (!(Test-Path \"$persist_dir\")) {",
" New-item \"$persist_dir\" -ItemType Directory | Out-Null",
" New-item \"$persist_dir\\memstick\" -ItemType Directory | Out-Null",
"}"
],
"persist": [
"assets",
@ -42,8 +37,6 @@
"replace": "${major}.${minor}.${patch}"
},
"autoupdate": {
"64bit": {
"url": "https://ppsspp.org/files/${major}_${minor}_${patch}/ppsspp_win.zip"
}
}
}

View File

@ -48,9 +48,12 @@
"recordings",
"saves",
"screenshots",
"shaders\\presets",
"states",
"system",
"thumbnails",
"content_favorites.lpl",
"content_history.lpl",
"retroarch.cfg"
],
"autoupdate": {

View File

@ -13,14 +13,10 @@
],
"depends": "ps3-system-software",
"suggest": {
"Microsoft Visual C++ Runtime 2019": "extras/vcredist2019"
},
"architecture": {
"64bit": {
"url": "https://github.com/rpcs3/rpcs3-binaries-win/releases/download/build-befd7ceb8935f6106981c1774783740239e796c4/rpcs3-v0.0.23-13883-befd7ceb_win64.7z",
"hash": "ab7abad7339358c58700d5248d657ca5b44f772c02a178baa3558abb53ea1327"
}
"Microsoft Visual C++ Runtime 2022": "extras/vcredist2022"
},
"url": "https://github.com/rpcs3/rpcs3-binaries-win/releases/download/build-befd7ceb8935f6106981c1774783740239e796c4/rpcs3-v0.0.23-13883-befd7ceb_win64.7z",
"hash": "ab7abad7339358c58700d5248d657ca5b44f772c02a178baa3558abb53ea1327",
"pre_install": [
"if (!(Test-Path \"$persist_dir\")) {",
" New-Item \"$persist_dir\" -ItemType Directory | Out-Null",
@ -45,13 +41,13 @@
"dev_usb000",
"cache",
"captures",
"config.yml",
"config",
"firmware",
"games.yml",
"GuiConfigs",
"Icons",
"patches",
"config.yml",
"games.yml"
"patches"
],
"checkver": {
"url": "https://rpcs3.net/compatibility?b",

View File

@ -8,6 +8,11 @@
},
"url": "https://github.com/LIJI32/SameBoy/releases/download/v0.15.1/sameboy_winsdl_v0.15.1.zip",
"hash": "804284225744cf15deebbad251caa426a0c62be6c0cf65dfa58eb6e5f5996b10",
"pre_install": [
"if (!(Test-Path \"$persist_dir\\prefs.bin\")) {",
" New-Item \"$dir\\prefs.bin\" -Type File | Out-Null",
"}"
],
"bin": [
"sameboy.exe",
"sameboy_debugger.exe"
@ -22,6 +27,7 @@
"SameBoy Debugger"
]
],
"persist": "prefs.bin",
"checkver": {
"github": "https://github.com/LIJI32/SameBoy"
},

View File

@ -1,5 +1,5 @@
{
"version": "0.6.3-9-g8a89108a50",
"version": "0.7.58",
"description": "Original Xbox Emulator",
"homepage": "https://xemu.app",
"license": {
@ -8,8 +8,8 @@
},
"architecture": {
"64bit": {
"url": "https://github.com/mborgerson/xemu/releases/download/gh-release%2F0.6.3-9-g8a89108a50/xemu-win-release.zip",
"hash": "58e7780945e7b977cb0573efe23e94e438195e1350b44b3ee1a792d014a93267"
"url": "https://github.com/mborgerson/xemu/releases/download/v0.7.58/xemu-win-release.zip",
"hash": "b7f535566cf3effe2c27e448aebcd81080bf4ab074a99183b2558a5afc82d92a"
}
},
"pre_install": [
@ -31,13 +31,12 @@
"data"
],
"checkver": {
"github": "https://github.com/mborgerson/xemu",
"regex": "([\\d\\.]+-\\d{1,2}-g[a-f0-9]+)"
"github": "https://github.com/mborgerson/xemu"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/mborgerson/xemu/releases/download/gh-release%2F$version/xemu-win-release.zip"
"url": "https://github.com/mborgerson/xemu/releases/download/v$version/xemu-win-release.zip"
}
}
}

View File

@ -1,19 +1,16 @@
{
"version": "nightly",
"version": "6e753c6",
"description": "Xbox 360 Research Emulator (development version)",
"homepage": "https://xenia.jp",
"license": {
"identifier": "BSD-3-Clause",
"url": "https://github.com/xenia-canary/xenia-canary/blob/canary_pr/LICENSE"
},
"architecture": {
"64bit": {
"url": "https://github.com/xenia-canary/xenia-canary/releases/download/experimental/xenia_canary.zip"
}
},
"url": "https://github.com/xenia-canary/xenia-canary/releases/download/6e753c6/xenia_canary.zip",
"hash": "b7dd6fea7b3237f17604e451d074e87ca77b4360867d10d09f02480376eae625",
"pre_install": [
"if (!(Test-Path \"$persist_dir\")) {",
" New-item \"$persist_dir\" -ItemType Directory | Out-Null",
" New-Item \"$persist_dir\" -ItemType Directory | Out-Null",
" New-item \"$persist_dir\\portable.txt\" -ItemType File | Out-Null",
" New-item \"$persist_dir\\xenia-canary.config.toml\" -ItemType File | Out-Null",
" if (Test-Path \"$env:USERPROFILE\\Documents\\Xenia\") {",
@ -36,11 +33,11 @@
"content",
"cache"
],
"checkver": {
"github": "https://github.com/xenia-canary/xenia-canary",
"regex": "([a-f0-9]{7})<"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/xenia-canary/xenia-canary/releases/download/experimental/xenia_canary.zip"
}
}
"url": "https://github.com/xenia-canary/xenia-canary/releases/download/$version/xenia_canary.zip"
}
}