Installer osu-ce-shi

该脚本仅供阅读,不能直接用来在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
    install_gecko: false
    install_mono: false
    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: 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:
    arch: win64
    description: Installing Osu
    exclude_processes: osu!install.exe
    executable: $GAMEDIR/drive_c/osu/osu!install.exe
    include_processes: osu!.exe
    name: wineexec
- task:
    app: win10
    arch: win64
    description: Changing reported Windows version to Windows 10
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
system:
  env:
    PULSE_LATENCY_MSEC: 30
wine:
  dxvk: true
  esync: true
  vkd3d: 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",
        "install_gecko": false,
        "install_mono": false,
        "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": "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": {
        "arch": "win64",
        "description": "Installing Osu",
        "exclude_processes": "osu!install.exe",
        "executable": "$GAMEDIR/drive_c/osu/osu!install.exe",
        "include_processes": "osu!.exe",
        "name": "wineexec"
      }
    },
    {
      "task": {
        "app": "win10",
        "arch": "win64",
        "description": "Changing reported Windows version to Windows 10",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "system": {
    "env": {
      "PULSE_LATENCY_MSEC": 30
    }
  },
  "wine": {
    "dxvk": true,
    "esync": true,
    "vkd3d": true
  }
}
返回游戏