#GOG provided .sh files incorrectly configured.

1 messages · Page 1 of 1 (latest)

west yoke
#

Hi, I'm making this post as I hadn't seen anything about it in the dev channels or here, and just wanted to be sure that the team is aware of the issue, and the fix.
This played out in #linux, over quite a while, and revolves around Heroic Game Launcher not being able to pass Arguments to the game. Namely the --enable-mods argument.
Initial discovery from what I can tell: #linux message
First bodge fix: #help-and-support message
Actual fix: #linux message

If this is already known, sorry for flagging it again.

prime valley
#

I don't remember providing any .sh files.

west yoke
#

they're configured by GOG I believe

prime valley
#

our upload to GOG looks like this:

$ ls -la
total 1525712
drwxr-xr-x 1 koder 197610          0 Mar 12 10:19 ./
drwxr-xr-x 1 koder 197610          0 Mar 12 10:19 ../
-rw-r--r-- 1 koder 197610 1527826800 Mar 12 10:19 Delta-V.pck
-rw-r--r-- 1 koder 197610   34492936 Mar 12 10:19 Delta-V.x86_64
#

actually, AFAIR GOG doesn't have a client you can run on linux? Or did they release one?
Last time I checked GOG support for Linux looked like "download this zip"

west yoke
#

they do not, this is run through Heroic Game Launcher, but pulls directly from GOG, all config files are generated by GOG

#

Realise that I never uploaded the un/modified gog_com.shlib.
Can bump those on later tonight

prime valley
#

I don't think I have any access for these.

west yoke
#

What the person from HGL said is that you would have to contact GOG and ask for them to make the changes to the gog_com.shlib and start.sh files, as it's GOG themselves who build those. Later tonight I can grab the offline install files directly from GOG and see if it has the same issue.
I'll try reinstalling through HGL, though their support person installed the demo from GOG on windows and it had the same behaviour through HGL.

west yoke
#

@prime valley I should have done due diligence FIRST, so sorry for pinging you before I did that.

Looking through the HGL code documentation, I'm not convinced that what the HGL support person said about GOG providing the .sh and .shlib is true. Looks like it might be a function of the gogdl CLI tool, which HGL uses a custom build of, or possibly the make.sh tool, again customized. Still looking into it.

west yoke
#

having gone through HGL's documentation for quite some time, and the various other projects they pull from, and while gogdl builds and deploy the launcher using instructions from GOG there doesn't appear to be a difference between the HGL implementation and GOG's.
i've attached start.sh and gog_com.shlib built by the GOG offline installer which are identical to those built by HGL. gogOffline is a screenshot of the top folder made by the GOG installer and HGL is the HGL build top folder. Mojosetup is likely what gogdl references to build and install, but strips it out as unneeded. installDecomp is the contents of the compressed install.sh.
i've also looked at the start.sh and gog_com.shlib of two other GOG linux native games, both HGL and offline installs, and there's no difference at all between what HGL builds and what GOG provides. though Barony installed from both sources injects libpng12.so.0 presumably for loading the game sprites that are all png format.

prime valley
#

So, these are not actually files that we provide. I have some configuration to play with, but I don't see anything there that would affect how this is built - e just provide two binary files in the upload. We can try to raise the issue in with the GOG support team.

west yoke
#

yeah, the two files are configured and shipped by GOG, they appear to be fairly standardised across their linux builds, though the barony start.sh indicates that GOG might change them for games if requested?
i appreciate you taking the time for this. if GOG gives a bunch of pushback on it maybe it'd be easier to make an entry into the modding instructions for linux installs through HGL?

#

if the "instructions" option is how it goes, happy to write that up myself

prime valley