Installer osu-windows
该脚本仅供阅读,不能直接用来在Wine游戏助手中安装游戏。
要通过命令安装游戏,请下载完整脚本。
安装命令:/opt/apps/net.winegame.client/files/bin/winegame -i ./xxx.json
files:
- installer: https://m1.ppy.sh/r/osu!install.exe
game:
exe: drive_c/osu/osu!.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Setting up wine prefix
name: create_prefix
prefix: $GAMEDIR
- task:
arch: win64
description: Applying a registry tweak
key: HelBuflen
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\DirectSound
prefix: $GAMEDIR
value: '512'
- merge:
dst: $GAMEDIR/drive_c/osu/
src: installer
- task:
app: win10
arch: win64
description: Changing reported Windows version to Windows 10
name: winetricks
prefix: $GAMEDIR
- task:
app: dotnet48
arch: win64
description: Installing .NET Framework 4.8
env:
LANG: en_US.UTF-8
LANGUAGE: en_US
name: winetricks
prefix: $GAMEDIR
- task:
app: gdiplus
description: Installing GDI+ for graphical fixes
name: winetricks
prefix: $GAMEDIR
- task:
app: corefonts vlgothic meiryo cjkfonts
arch: win64
description: Installing additional fonts for proper font display
name: winetricks
prefix: $GAMEDIR
- task:
app: win10
arch: win64
description: Changing reported Windows version to Windows 10
name: winetricks
prefix: $GAMEDIR
- task:
arch: win64
name: winekill
prefix: $GAMEDIR
wine:
dxvk: true
esync: true
{
"files": [
{
"installer": "https://m1.ppy.sh/r/osu!install.exe"
}
],
"game": {
"exe": "drive_c/osu/osu!.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"description": "Setting up wine prefix",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"arch": "win64",
"description": "Applying a registry tweak",
"key": "HelBuflen",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\Wine\\DirectSound",
"prefix": "$GAMEDIR",
"value": "512"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/osu/",
"src": "installer"
}
},
{
"task": {
"app": "win10",
"arch": "win64",
"description": "Changing reported Windows version to Windows 10",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "dotnet48",
"arch": "win64",
"description": "Installing .NET Framework 4.8",
"env": {
"LANG": "en_US.UTF-8",
"LANGUAGE": "en_US"
},
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "gdiplus",
"description": "Installing GDI+ for graphical fixes",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "corefonts vlgothic meiryo cjkfonts",
"arch": "win64",
"description": "Installing additional fonts for proper font display",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "win10",
"arch": "win64",
"description": "Changing reported Windows version to Windows 10",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"arch": "win64",
"name": "winekill",
"prefix": "$GAMEDIR"
}
}
],
"wine": {
"dxvk": true,
"esync": true
}
}