Open stoz opened 5 years ago
I've made an install script that works, but I think it's not ideal because there seem to be a whole lot of unnecessary files left over, such as the windows versions of dosbox (although perhaps that is the norm for Lutris GOG dosbox installs).
For some reason though the game is in German! Not sure why it is, or how I can change it to English.
files:
- file1: N/A:Please select the GOG installer
- file2: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
config_file: $GAMEDIR/dosboxhomm.conf
installer:
- extract:
dst: $CACHE
file: $file2
- execute:
args: -d "$CACHE" "$file1"
file: $CACHE/innoextract
- merge:
dst: $GAMEDIR
src: $CACHE
- merge:
dst: $GAMEDIR/DOSBOX
src: $CACHE/__support/app
main_file: DOSBOX/dosboxHOMM1_single.conf
Describe the bug
The GOG version of Heroes of Might and Magic is not installing, even with the installer edited to use the development version of Innoextract linked here in issue lutris/lutris#1949
Expected behavior
~/Games/heroes-of-might-and-magic to be full of game files
Current behavior
~/Games/heroes-of-might-and-magic is has an .ico file and a webcache.zip
Steps to reproduce
- file2: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
Lutris debugging output
System information
Other
I manually downloaded the Innoextract dev version from here:
https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
Then I manually downloaded the GOG installer setup_heroes_of_might_and_magic1.2(28044).exe
I then manually ran innoextract on the installer. This extracts the files but seems to mash them all together in a way I wasn't expecting. This is the
ls -1a
output for the folder it extracted into.The lutris installer is only merging in the contents of the
app
folder, but it only contains 2 files (the ico and zip mentioned earlier), so it seems the installer was expecting a lot more data in theapp
folder.My question is, is this due to GOG changing the structure of the installer, or is it an issue with the Innoextract dev version, or do I just need to edit the Lutris Installer to merge in a whole bunch more of the files and folders?