bichka wrote: ↑Tue Oct 01, 2019 10:04 pm
my script for installation in 64bit Ubuntu :
...
Thank you, very cool!
I made a Lutris script based on your scripts. It can be installed with
(assuming you save it as 'ror.yaml').
It asks for a game folder that you downloaded using torrent (or just an existing game folder), copies it to a new wine prefix and sets up the prefix.
It's easy to modify it to download RoRInstaller.exe from the site and install everything without requiring the user to download the game separately using torrent but testing it is a pain (don't want to wait until RoRInstaller.exe downloads everything. And I think most people prefer to torrent the game too anyway).
Code: Select all
# Install with:
# lutris -i ror.yaml
# Lutris looks for the script in the home directory if path is relative.
# To install a script from the current folder:
# lutris -i $PWD/ror.yaml
#
#
# replace 'merge:' with 'move:' if you want to move the game to the prefix
# instead of copying it
#
# Reference: https://github.com/lutris/lutris/blob/master/docs/installers.rst
name: Return of Reckoning
game_slug: return-of-reckoning
version: I have a game folder. Set up Wine prefix and copy my game there
# NOTE: 'version' is probably not the right place for that but it looks fine in the GUI
slug: return-of-reckoning-torrent
runner: wine
script:
game:
exe: $GAMEDIR/prefix/drive_c/Program Files (x86)/Return of Reckoning/RoRLauncher.exe
prefix: $GAMEDIR/prefix
working_dir: $GAMEDIR/prefix/drive_c/Program Files (x86)/Return of Reckoning
installer:
- insert-disc:
message: Please provide a path to your game folder (it should contain RoRLauncher.exe).
requires: RoRLauncher.exe
- merge:
src: $DISC
dst: $GAMEDIR/prefix/drive_c/Program Files (x86)/Return of Reckoning
- task:
arch: win64
description: Creating Wine prefix
name: create_prefix
prefix: $GAMEDIR/prefix
- task:
name: winetricks
prefix: $GAMEDIR/prefix
app: corefonts
- task:
name: winetricks
prefix: $GAMEDIR/prefix
app: comctl32ocx
- task:
name: winetricks
prefix: $GAMEDIR/prefix
app: comctl32
- task:
name: winetricks
prefix: $GAMEDIR/prefix
app: comdlg32ocx
- task:
name: winetricks
prefix: $GAMEDIR/prefix
app: vcrun2012
- task:
name: winetricks
prefix: $GAMEDIR/prefix
app: d3dx9
- task:
name: winetricks
prefix: $GAMEDIR/prefix
app: directx9
- task:
name: winetricks
prefix: $GAMEDIR/prefix
app: d3dx9_36
- task:
name: winetricks
prefix: $GAMEDIR/prefix
app: dotnet40
wine:
Desktop: false
WineDesktop: 1024x768
system:
terminal: false
env:
WINEARCH: win64
WINEDEBUG: -all
STAGING_SHARED_MEMORY: 1
STAGING_RT_PRIORITY_SERVER: 90
STAGING_RT_PRIORITY_BASE: 90
CSMT: enabled
WINEDLLOVERRIDES: winemenubuilder.exe=d d3d11=
WINEPREFIX: $GAMEDIR/prefix
Upd: note that currently (2019-10-17) release version of Lutris has a bug that prevents installing games from local scripts. git version works fine.
https://github.com/lutris/lutris/issues/2333
Upd2: i'll put the scripts along with a readme into my ui repo
https://gitlab.com/cupnoodles14/war-ui/ ... ter/lutris