Thanks @jebez for that archive link. I was able to compare my offline installer against it to work out why everything was getting extracted to an app subfolder. It seems my installer is just older and extracts files in the app section instead of the tmp section of the inno script. Which I think explains why innoextract put everything in an app subfolder forcing me to manually move it all up a level.
@jmsq You might be right about having to skip checksums on the installer files. The comparison seems to confirm my suspicion that GOG installer files can vary quite a bit, even though all actual game files might be identical once extracted. Things like the adverts that display when installing can be different, as well as differences in what files are present in tmp or differences in the inno install script.
Are you able to get files with a different checksum from gogdownloader? I'd be interested to see if they can change despite the link never changing.
I got both versions to match well against what gogverify expects by deleting the tmp dir and moving some stuff around like so:
My version:
rm -r tmp; mv app/* . && rmdir app; mv __support/app .
archiveorg version:
rm -r tmp; mv __support/app/System app; mv app/Benchmark .
That just left these small issues gogverify mentions which are probably fine:
My version:
Unexpected files: webcache.zip __support/scriptinterpreter.exe
archiveorg version:
Unexpected files: __redist/ISI/scriptinterpreter.exe app/goggame-1207658691.ico app/webcache.zip commonappdata/GOG.com/supportInstaller/uninstall.dll
Expected files: Prefabs (directory): Missing
If anyone wants to compare the full differences between the installers I have uploaded post extraction checksum file lists and the inno install scripts here:
https://gist.github.com/cgarz/d4873329a564d77c19c8cc181db4e525
Pinned Comments
jmsq commented on 2021-08-19 08:49 (UTC) (edited on 2021-08-30 12:31 (UTC) by jmsq)
For those who haven't used lgogdownloader with a GOG AUR package before, here's how you set it up.
Add
'gogdownloader::/usr/bin/lgogdownloader --download-file=%u -o %o'
to theDLAGENTS
section of/etc/makepkg.conf