Skip to content

Instantly share code, notes, and snippets.

@earthmeLon
Last active February 15, 2023 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save earthmeLon/82d4f6d8e801900401604608ff4026ff to your computer and use it in GitHub Desktop.
Save earthmeLon/82d4f6d8e801900401604608ff4026ff to your computer and use it in GitHub Desktop.
Lutris Installer for HorizonXI
# Working Launcher for installation: 1.0.1
# Current Version of Launcher: $VERSION
# There are issues using newer launcher to install the game
# Instead, we grab the 1.0.1 installer to download and install the game
# After installation, switch Game Settings to load the current version of the launcher (ie: 1.1.3)
# Original: https://github.com/sarca571ca/horizonxi-lutris
name: HorizonXI
game_slug: horizonxi
version: 1.1.4
slug: horizonxi
runner: wine
year: 2022
user: meLon
cache: /tmp/$NAME
description: Base Lutris script for downloading and installing HorizonXI Launcher.
script:
variables:
HOR_PATH: drive_c/Program Files (x86)/HorizonXI
POL_PATH: drive_c/Program Files (x86)/HorizonXI/Game/SquareEnix/PlayOnlineViewer
FFXI_PATH: drive_c/Program Files (x86)/HorizonXI/Game/SquareEnix/FINAL FANTASY XI
APP_DATA: drive_c/users
files:
- horizon_installer: https://github.com/HorizonFFXI/HorizonXI-Launcher-Binaries/releases/download/v1.0.1/HorizonXI-Launcher-1.0.1.Setup.exe
- horizon_launcher: https://github.com/HorizonFFXI/HorizonXI-Launcher-Binaries/releases/download/v$VERSION/HorizonXI-Launcher-$VERSION.Setup.exe
- 4gb_patch:
url: https://drive.google.com/uc?export=download&id=1MKuPC6iI3s6vuoi1jEsgO2z7Kanf9OKE
filename: 4gb_patch.zip
game:
exe: $HOR_PATH/HorizonXI-Launcher-1.0.1.Setup.exe
arch: auto
prefix: $GAMEDIR
launch_configs:
- exe: $GAMEDIR/$HOR_PATH/4gb_patch/LargeAddressAwarePatcher.exe
name: >
4GB Patch
Only install after HorizonXI is installed!
installer:
- task:
app: dotnet48
description: "Winetricks: Installing dotnet48"
name: winetricks
- task:
app: gdiplus
description: "Winetricks: Installing gdiplus"
name: winetricks
- task:
app: corefonts meiryo fontsmooth=rgb
description: "Winetricks: Installing core fonts and configuring font smoothing"
name: winetricks
- copy:
description: Installing HorizonXI Installer
dst: $GAMEDIR/$HOR_PATH
src: horizon_installer
- copy:
description: Installing HorizonXI Launcher
dst: $GAMEDIR/$HOR_PATH
src: horizon_launcher
- task:
app: d3dcompiler_43 d3dcompiler_47
description: Installing d3dcompiler
name: winetricks
- extract:
description: Extracting 4gb_patch
dst: $GAMEDIR/$HOR_PATH/4gb_patch
file: 4gb_patch
- write_config:
data:
DirectX:
VRAM: 4096
dgVoodooWatermark: false
description: Configuring dgVoodoo2
file: $GAMEDIR/$POL_PATH/dgVoodoo.conf
- write_json:
file: $GAMEDIR/users/$USER/AppData/Roaming/HorizonXI-Launcher/config.json
data:
paths:
installPath:
description: 'Location of HorizonXI zip download.'
path: 'C:\Program Files (x86)\HorizonXI\Game'
downloadPath:
description: 'Location of HorizonXI zip download.'
path: 'C:\Program Files (x86)\HorizonXI\Downloads'
wine:
dxvk: false
esync: false
fsync: false
overrides:
d3d8: n,b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment