lutris installer for eveonline and eveopreview
This commit is contained in:
@@ -1,32 +1,22 @@
|
|||||||
game_slug: eve-online
|
game_slug: eve-online
|
||||||
slug: test
|
slug: test
|
||||||
name: EVE Online
|
name: EVE-O-Preview
|
||||||
version: test
|
version: 8.0.2.0
|
||||||
runner: linux
|
runner: linux
|
||||||
script:
|
script:
|
||||||
files:
|
files:
|
||||||
- setup:
|
- eveo:
|
||||||
filename: installer.exe
|
url: EVE_O_PREVIEW
|
||||||
url: https://launcher.ccpgames.com/eve-online/release/win32/x64/eve-online-latest+Setup.exe
|
filename: EVEOPreview.zip
|
||||||
- eve-o-preview: EVE_O_PREVIEW
|
- dotnet8: https://download.visualstudio.microsoft.com/download/pr/f1e7ffc8-c278-4339-b460-517420724524/f36bb75b2e86a52338c4d3a90f8dac9b/windowsdesktop-runtime-8.0.12-win-x64.exe
|
||||||
- wine: https://github.com/Kron4ek/Wine-Builds/releases/download/10.0/wine-10.0-staging-amd64.tar.xz
|
|
||||||
- winetricks: https://raw.githubusercontent.com/Winetricks/winetricks/refs/tags/20240105/src/winetricks
|
|
||||||
- dotnet8: https://download.visualstudio.microsoft.com/download/pr/f1e7ffc8-c278-4339-b460-517420724524/f36bb75b2e86a52338c4d3a90f8dac9b/windowsdesktop-runtime-8.0.12-win-x64.exe
|
|
||||||
game:
|
game:
|
||||||
exe: $GAMEDIR/launch.sh
|
exe: $GAMEDIR/eveolaunch.sh
|
||||||
installer:
|
installer:
|
||||||
- extract:
|
- extract:
|
||||||
file: wine
|
dst: $GAMEDIR/EVEOPreview
|
||||||
dst: $GAMEDIR/runner-wine
|
file: eveo
|
||||||
- extract:
|
|
||||||
file: eve-o-preview
|
|
||||||
dst: $GAMEDIR
|
|
||||||
- chmodx: $winetricks
|
|
||||||
- merge:
|
|
||||||
src: setup
|
|
||||||
dst: $GAMEDIR
|
|
||||||
- write_file:
|
- write_file:
|
||||||
file: $GAMEDIR/launch.sh
|
file: $GAMEDIR/eveolaunch.sh
|
||||||
content: |
|
content: |
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
export WINEPREFIX="$GAMEDIR"
|
export WINEPREFIX="$GAMEDIR"
|
||||||
@@ -36,31 +26,19 @@ script:
|
|||||||
|
|
||||||
cd "$GAMEDIR"
|
cd "$GAMEDIR"
|
||||||
|
|
||||||
# Start EVE-O in the background
|
|
||||||
"./runner-wine/bin/wine" "./EVE-O-Preview.exe" &
|
|
||||||
# We start the launcher by calling the installer again because, otherwise, there is a Javascript exception when calling the actual executable. No idea why.
|
# We start the launcher by calling the installer again because, otherwise, there is a Javascript exception when calling the actual executable. No idea why.
|
||||||
"./runner-wine/bin/wine" "./installer.exe"
|
"./runner-wine/bin/wine" "./EVEOPreview/EVE-O-Preview.exe"
|
||||||
- chmodx: $GAMEDIR/launch.sh
|
- chmodx: $GAMEDIR/eveolaunch.sh
|
||||||
- execute:
|
- execute:
|
||||||
disable_runtime: true # With runtime enabled, all certificate validations by winetricks fail
|
disable_runtime: true # With runtime enabled, all certificate validations by winetricks fail
|
||||||
description: Close EVE-O and the launcher after they open. Re-launch the game to install eve.
|
description: EVE O Preview
|
||||||
command: |
|
command: |
|
||||||
# Lutris is currently in a transition period where they are looking to support umu-launcher + proton fully
|
|
||||||
# As a result, they have not released a new version of wine-ge in a long time, and wine-ge 8 is not working
|
|
||||||
# with the latest version of EVE-O and their installer scripts don't support automatically using a non-wine-ge version of wine.
|
|
||||||
# This script is a hacky workaround to use wine-staging 10 more easily with minimal user action until we can swap back to using a properly support proton-version
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
export WINE="$(pwd)/runner-wine/bin/wine"
|
export WINE="$(pwd)/runner-wine/bin/wine"
|
||||||
export WINEPREFIX="$GAMEDIR"
|
export WINEPREFIX="$GAMEDIR"
|
||||||
|
|
||||||
# Begin installation
|
"$GAMEDIR/runner-wine/bin/wine" "$dotnet8"
|
||||||
"$winetricks" -q msdelta vkd3d vcrun2022 dxvk2030 dotnet45
|
#"$GAMEDIR"/runner-wine/bin/wine "./EVEOPreview/EVE-O-Preview.exe"
|
||||||
# Need to install dotnet8 with the actual installer because winetricks version is not working
|
|
||||||
"$GAMEDIR"/runner-wine/bin/wine "$dotnet8"
|
|
||||||
"$GAMEDIR/runner-wine/bin/wine" "EVE-O-Preview.exe"
|
|
||||||
"$GAMEDIR"/runner-wine/bin/wine "./installer.exe"
|
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
rm "$winetricks"
|
|
||||||
rm "$dotnet8"
|
rm "$dotnet8"
|
||||||
|
54
src/eveonline.yaml
Normal file
54
src/eveonline.yaml
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
game_slug: eve-online
|
||||||
|
slug: test
|
||||||
|
name: EVE Online
|
||||||
|
version: test
|
||||||
|
runner: linux
|
||||||
|
script:
|
||||||
|
files:
|
||||||
|
- setup:
|
||||||
|
filename: installer.exe
|
||||||
|
url: https://launcher.ccpgames.com/eve-online/release/win32/x64/eve-online-latest+Setup.exe
|
||||||
|
- wine: https://github.com/Kron4ek/Wine-Builds/releases/download/10.0/wine-10.0-staging-amd64.tar.xz
|
||||||
|
- winetricks: https://raw.githubusercontent.com/Winetricks/winetricks/refs/tags/20240105/src/winetricks
|
||||||
|
game:
|
||||||
|
exe: $GAMEDIR/launch.sh
|
||||||
|
installer:
|
||||||
|
- extract:
|
||||||
|
file: wine
|
||||||
|
dst: $GAMEDIR/runner-wine
|
||||||
|
- chmodx: $winetricks
|
||||||
|
- merge:
|
||||||
|
src: setup
|
||||||
|
dst: $GAMEDIR
|
||||||
|
- write_file:
|
||||||
|
file: $GAMEDIR/launch.sh
|
||||||
|
content: |
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
export WINEPREFIX="$GAMEDIR"
|
||||||
|
|
||||||
|
# Disable esync to avoid a bug that causes high cpu usage
|
||||||
|
export PROTON_NO_ESYNC=1
|
||||||
|
|
||||||
|
cd "$GAMEDIR"
|
||||||
|
|
||||||
|
# We start the launcher by calling the installer again because, otherwise, there is a Javascript exception when calling the actual executable. No idea why.
|
||||||
|
"./runner-wine/bin/wine" "./installer.exe"
|
||||||
|
- chmodx: $GAMEDIR/launch.sh
|
||||||
|
- execute:
|
||||||
|
disable_runtime: true # With runtime enabled, all certificate validations by winetricks fail
|
||||||
|
description: Close EVE-O and the launcher after they open. Re-launch the game to install eve.
|
||||||
|
command: |
|
||||||
|
# Lutris is currently in a transition period where they are looking to support umu-launcher + proton fully
|
||||||
|
# As a result, they have not released a new version of wine-ge in a long time, and wine-ge 8 is not working
|
||||||
|
# with the latest version of EVE-O and their installer scripts don't support automatically using a non-wine-ge version of wine.
|
||||||
|
# This script is a hacky workaround to use wine-staging 10 more easily with minimal user action until we can swap back to using a properly support proton-version
|
||||||
|
|
||||||
|
set -e
|
||||||
|
export WINE="$(pwd)/runner-wine/bin/wine"
|
||||||
|
export WINEPREFIX="$GAMEDIR"
|
||||||
|
|
||||||
|
# Begin installation
|
||||||
|
"$winetricks" -q msdelta vkd3d vcrun2022 dxvk2030
|
||||||
|
"$GAMEDIR"/runner-wine/bin/wine "./installer.exe"
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user