Hello!
I’ve been using Lutris for about two weeks now, doing some tests and I’m really satisfied with the results (mostly). One of my favorite games has support but only for the Steam installer, so I decided to create my own fork.
It’s still work in progress, but the game installs and you can play normally
name: Majesty BETA
game_slug: majesty-beta
version: Installer
slug: my-game-installer
runner: wine
script:
game:
exe: drive_c/GOG Games/Majesty Gold HD/MajestyHD.exe
prefix: $GAMEDIR/drive_c/GOG Games/Majesty Gold HD
arch: win64
working_dir: $GAMEDIR/drive_c/GOG Games/Majesty Gold HD
install_gecko: false
install_mono: false
files:
- installer: "N/A:Select the game's setup file"
installer:
- task:
name: winetricks
prefix: $GAMEDIR
app: vcrun2008
- task:
executable: installer
name: wineexec
prefix: $GAMEDIR
arch: win64
# NOTE I had to install winbind from apt
# NOTE sudo apt install gstreamer1.0-plugins-good:i386
I’ve been going through the docs and I did the best I could, but I still don’t grasp everything. I’ve tried wine ages ago and I know how powerful it can be, but I’m still mostly new to wine/winetricks.
That being said, I have a few issues/questions about the whole process;
Installing dependencies
After the game installed I had the sound effects and audio from the cinematic, but no in-game music. Turned out I was missing 32-bit plugins for GStreamer good
.
sudo apt install gstreamer1.0-plugins-good:i386
Those plugins are not mentioned anywhere in the installation instructions for lutris. Maybe this should be added?
wine-mono
and wine-gecko
being annoying
Despite using:
install_gecko: false
install_mono: false
in the installer I’m still being asked to install wine-mono and (twice) wine-gecko during the installation. I quit the installer when all is done. I launch and I’m being again asked about wine-mono
and wine-gecko
. Why is that?
First run of the game is different than the others
Right after the installation the GOG installer offers to play the game. I run the game and create profile firstrun
and exit. I close all windows except for the Lutris main window. Upon launch of the game I have full-screen and don’t have the firstrun
profile. Why is that? Is the game treated in a different manner when installing and that state gets discarded when Lutris finishes the installation?
Dependencies on vcredist
and directx
The GOG installer will try to install two runtimes at the end of the process:
- Visual C++ Redist 2008
- DirectX 9.0c
Looks like I managed satisfy it partially with the vcrun2008
winetrick but when GOG tries to install DirectX 9.0c I’m seeing a ton of those errors in the console:
0066:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0066:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0118:fixme:heap:RtlSetHeapInformation 0x790000 0 0x22f970 4 stub
0118:fixme:heap:RtlSetHeapInformation 0x790000 0 0x22f970 4 stub
Is this an issue? What winetrick
should I use? There’s a bunch of them related to DirectX 9.0
and I have no idea how to proceed here.
winbind
deps
I also installed winbind
because of an ntlm
error. Sadly, winbind
pulls in python2.7
which is EOLed, so if I can get rid of it, I’d love to. I tried to find a winetricks
command that would help, but no success.
Other
Other feedback is welcomed, since this is my first installer for Lutris
Thank you and have an awesome day
OS: Ubuntu 18.04 LTS // KDE Neon
Lutris: 0.5.6
wine-staging 5.8~bionic
wine-stable 5.0.0~bionic