adeine wrote: ↑Sat, 27. Dec 25, 02:56
In this case, running the script is as easy as going to the directory the file is in and executing it by typing ./script-name.sh (. is current directory) provided the file permissions are set as executable. Tab completion for commands and filenames is available in bash.
The "going into directory" is cd dirname just like in DOS. The difference is that separator between names is '/', not '\'.
If one is in home directory, then one can cd Documents/Egosoft/X4 (assuming home directory has subdirectory 'Documents' that has subdirectory 'Egosoft' that has subdirectory 'X4'. Names are case sensitive, so 'x4' is not 'X4'.
Recardless where one is, one can cd ~/Documents/Egosoft/X4 because the shell replaces the '~' with home directory.
One does not actually have to go to directory to run executable file there. One can: Documents/Egosoft/X4/script-name
However, some commands/programs/scripts do look up things relative to the current working directory.
If one runs the command from home directory, then result can differ from running it from ~/Documents/Egosoft/X4
PS. I've seen the abbreviation CLI more often on manuals of commercial products / embedded systems (that may also describe GUI and "web interface" as alternatives for CLI) than on discussions of Linux users -- even though it is way easier to type "CLI" than "terminal" or "shell".
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
90% of my problems got solved in a very brutal way, lol!
I moved all .cat and .dat files plus "scripts" and "t" folders from my old Windows X3 folder into the Steam folder of the game, overwriting whatever was already there. Ahley fabs used to place 5 shipyards in my Universe that sold the wonderful Ashley's Factory versions, now it does not, but the Ashley script reports to be running. That's all that does not work currently. If I will not be able to mine Nividium without Ashley and I will have to clutter 5 XL factories in a complex to do what one singe Ashley XXL factory used to do, I'll cry a small river, but I'll live. In Reunion Nividium can only be sold together with the ship it's in, anyway, at half price and it's only used to build Khaak ships in my HQ. Nobody buys Nividium, or not in bulk, meaning a select few stations buy 2 pieces each trade then slowly consume it in hours.
All the other mods I loved are present, active, working like a charm.
(When I tried to bring to the steam install folder the old Mods folder from the Windows install, to have the Ashley as the main mod, as I should have done, the game started to crash when I opened a sector view. So I had to restrain myself and let the game believe there are no mods present. Only 2 additional pairs of .cat and .dat files and quite a handful of scripts and t-s, whatever t-s are.)
The GOG's 6GB .sh when executed (by double click) still takes about 1-2 hours to unpack something IDK where (with a nice looking progress bar) and tells me a full screen of some things that are not in the English I know while it does it. By "IDK where" I mean all partitions have the exact same occupied space size before and after the .sh runs. It obviously extracts something, but nothing remains after it finishes. Useless for my lonely neuron, so far. I'll refrain from getting any other game from GOG in the future. It's not worth the hassle. I already have Steam and Lutris for that purpose here, no need to also install the Heroic Launcher or whatever and have 3 versions of game launchers for one game. Especially since Lutris is up to date and it has an obvious option to add games from GOG. (Wait, maybe I should have let Lutris alone at it for at least 2 hours before deciding it's unable to install the GOG game from a .sh...) One thing I love about Linux is that it is smaller than Windows unless I make it huge by myself. I mean, I started with a perfectly functional 4GB of an operating system and now I have over 120 GB occupied in the 150 GB sized Linux part of my HDD out of which 4GB or so are the game, rest just software. I should stop. No Heroic Launcher.
I mean, in 6GB of an archived install .sh file for a 4GB (when modded, otherwise it's just 2.4 GB) uncompressed game, GOG could have included their own version of the Steam Client completely with all the libraries they need, if they wanted their games to be functional. Hell, even a virtual Windows Machine is smaller than 4 GB, leaving 2 GB room for the archived game in their .sh. (Only Windows Virtual Machine slows my system down to a crawl when it runs, like I click something, go to smoke a cigarette and when I return I check if it was executed or I should smoke another one. I need a beefier PC to run a Windows Virtual Machine on Mint. I tried that too.)
Last edited by Shadros on Sun, 28. Dec 25, 17:20, edited 1 time in total.
Shadros wrote: ↑Sun, 28. Dec 25, 16:34
The GOG's 6GB .sh when executed (by double click) still takes about 1-2 hours to unpack something IDK where (with a nice looking progress bar) and tells me a full screen of some things that are not in the English I know while it does it. By "IDK where" I mean all partitions have the exact same occupied space size before and after the .sh runs. It obviously extracts something, but nothing remains after it finishes. Useless for my lonely neuron, so far. I'll refrain from getting any other game from GOG in the future. It's not worth the hassle.
This sounds totally bizarre and this isn't how GOG offline installer work - as in "at all". You have some very funny business going on there. Needless to say (I hope) that once you sort that out every GOG installer works like other installers - asking you to where it should install etc. etc.
The language the installer operates in can be set by you and I _NEVER_ encountered something not in my language. Your system locale (if not totally screwed up) should be used to get you the proper installer. (Lutris e.g. downloads those depending on your system language) If you log-in to GOG on gog.com you can choose which language when downloading the offline files.
Shadros wrote: ↑Sun, 28. Dec 25, 16:34
I mean, in 6GB of an archived install .sh file for a 4GB (when modded, otherwise it's just 2.4 GB) uncompressed game, GOG could have included their own version of the Steam Client completely with all the libraries they need, if they wanted their games to be functional. Hell, even a virtual Windows Machine is smaller than 4 GB, leaving 2 GB room for the archived game in their .sh. (Only Windows Virtual Machine slows my system down to a crawl when it runs, like I click something, go to smoke a cigarette and when I return I check if it was executed or I should smoke another one. I need a beefier PC to run a Windows Virtual Machine on Mint. I tried that too.)
Again - you have something really weird going on here. You can either use GOG Galaxy to install windows games (just install GOG Galaxy with Lutris as "game" and you can run it from there) or you can use any client which implements the GOG API to access your offline backups of the games you purchased on GOG. Lutris or Heroic are some examples. You also don't need any Windows Virtual Machine. Lutris e.g. sets up a nice and isolated wine prefix for every game.
Last edited by chew-ie on Sun, 28. Dec 25, 17:25, edited 1 time in total.
Spoiler
Show
BurnIt: Boron and leaks don't go well together... Königinnenreich von Boron: Sprich mit deinem Flossenführer Nila Ti: Folgt mir, ihr Kavalkade von neugierigen Kreaturen! Tammancktall: Es ist eine Ehre für sie mich kennenzulernen... CBJ: Thanks for the savegame. We will add it to our "crazy saves" collection [..]
Shadros wrote: ↑Sun, 28. Dec 25, 16:34
The GOG's 6GB .sh when executed (by double click) still takes about 1-2 hours to unpack something IDK where (with a nice looking progress bar) and tells me a full screen of some things that are not in the English I know while it does it. By "IDK where" I mean all partitions have the exact same occupied space size before and after the .sh runs. It obviously extracts something, but nothing remains after it finishes. Useless for my lonely neuron, so far. I'll refrain from getting any other game from GOG in the future. It's not worth the hassle.
This sounds totally bizarre and this isn't how GOG offline installer work - as in "at all". You have some very funny business going on there. Needless to say (I hope) that once you sort that out every GOG installer works like other installers - asking you to where it should install etc. etc.
The language the installer operates in can be set by you and I _NEVER_ encountered something not in my language. Your system locale (if not totally screwed up) should be used to get you the proper installer. (Lutris e.g. downloads those depending on your system language) If you log-in to GOG on gog.com you can choose which language when downloading the offline files.
#!/bin/sh
#
# This is an executable installer
# and it has to be run like any other executable file:
#
# Add executable permissions with:
# chmod +x installer-file.sh
#
# Then run it like this:
# ./installer-file.sh
#
# This script was generated using Makeself 2.2.0
# with modifications for mojosetup and GOG.com installer.
umask 077
CRCsum="3724309044"
MD5="1d017238c3115e95a2954bcd9361ee68"
TMPROOT=${TMPDIR:=/tmp}
label="X3: Reunion (GOG.com)"
script="./startmojo.sh"
scriptargs=""
licensetxt=""
targetdir="binaries"
filesizes="937072"
keep="n"
quiet="n"
# save off this scripts path so the installer can find it
export MAKESELF_SHAR="$( cd "$(dirname "$0")" && pwd)/$(basename "$0")"
print_cmd_arg=""
if type printf > /dev/null; then
print_cmd="printf"
elif test -x /usr/ucb/echo; then
print_cmd="/usr/ucb/echo"
else
print_cmd="echo"
fi
unset CDPATH
And that does not help my lonely neuron at all. It's in English, the first part up to "CRC SUM" is even intelligible, but the rest is just not the English I know. Steam is much more intuitive and Lutris is the best as an interface, only Lutris seems to not work on quite everything I need it to, no matter how much time I spend downloading libraries and trying different prefixes for its embedded Wine.
...and what should happen is that you get an installer once you execute that *.sh script (or better: once Lutris executes that script)
This screenshot was taken after e.g. downloading the linux installer for X4 and starting it via console:
(I used chmod +x to let me execute the *.sh script, then used ./<filename> to execute it)
anyuser@anymachinename:~/Downloads/x4-foundations-linux/gog$ chmod +x x4_foundations_8_00_hotfix_1_85281.sh
anyuser@anymachinename:~/Downloads/x4-foundations-linux/gog$./x4_foundations_8_00_hotfix_1_85281.sh
Verifying archive integrity... All good.
Uncompressing X4: Foundations (GOG.com) 100%
Collecting info for this system...
Operating system: linux
CPU Arch: x86_64
trying mojosetup in bin/linux/x86_64
---
Shadros wrote: ↑Sun, 28. Dec 25, 17:23
And that does not help my lonely neuron at all. It's in English, the first part up to "CRC SUM" is even intelligible, but the rest is just not the English I know. Steam is much more intuitive and Lutris is the best as an interface, only Lutris seems to not work on quite everything I need it to, no matter how much time I spend downloading libraries and trying different prefixes for its embedded Wine.
TBH this more and more sounds like a serious problem with your distribution or the Lutris setup. Normally there is zero maintenance necessary - if you don't have some ancient Lutris installation / version. I'm on Fedora linux and my Lutris let me choose wine environments for every game from these options:
The last option is my default and it let me run every game without trouble, be it new ones or older ones. The exception to that are some ancient 32-bit games which need special treatment. (hello Sacred 1 -.-)
Spoiler
Show
BurnIt: Boron and leaks don't go well together... Königinnenreich von Boron: Sprich mit deinem Flossenführer Nila Ti: Folgt mir, ihr Kavalkade von neugierigen Kreaturen! Tammancktall: Es ist eine Ehre für sie mich kennenzulernen... CBJ: Thanks for the savegame. We will add it to our "crazy saves" collection [..]
Shadros wrote: ↑Sun, 28. Dec 25, 17:23
And that does not help my lonely neuron at all. It's in English, the first part up to "CRC SUM" is even intelligible, but the rest is just not the English I know.
All of it is in the syntax ("language" if you will) of a shell known as 'sh'.
With couple exceptions, everything on a line after character '#' is a comment -- ignored by the shell.
Comments (in English) tell something to the human.
The rest is almost all of type id=value.
Each id is name of variable and values are just something that the script stores into the variables.
However, that does not look like the complete script, for in practice the part that you did post does nothing.
Overall, content of the script is not important if one can start it and it does whatever it should (e.g. start the actual installer).
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
About the .sh, to avoid using "CLI" or "Xfce Terminal" or however one may name it, I just made sure the .sh is marked as executable, then double clicked it, no big deal. And all I got was a screen that's not scrollable, with the writings I copy-pasted here in one of my previous posts, and a progress bar at the top of the page. I never had the patience to watch how it ends, because it definitely takes more than one hour. When I saw how much time can that take, I left it do its thing overnight. In the morning, there is nothing added to any of my partitions and no error or anything else on screen. It's just like the .sh never ran. But really, this does not matter.
It would help me a lot more if someone could help me find the overly complex Ashley's mod in a form that does not require Cycrow's Plugin Manager and needs manual actions instead. (Ashley's when working adds a lot of new types of factories to the game, 2 new complex hub versions and 5 new shipyards, one for every race, in Border sectors, that sell those factories and complex hubs.) I need something like "Copy these scripts there, these "t" files here and (if needed) add these .cat and .dat files with a number right after (or right before) your favorite hud-modifying ,cat and .dat". Because I still can't make Cycrow's PM work in any way. I have one version of CPM that does not admit a Steam Install is a valid game folder and one that gives strange Lutris errors and I can't even install it. The original Ashley's Fabs Mod was planned to work only with CPM, as a main mod. Meaning it has to be installed first and it gives the name of the "modpack" formed with Ashley and every other mode one needs in his game. And it's only available as .spk (the file format only CPM can use).
Then, quite a few years after Ashley departed from the community, some guy, really pissed off, published in forums a pair of .cat and .dat files (with no other files, like scripts, just a pair of .cat and .dat) saying that's all one needs to have an Ashley's Mod working. Well, they don't add the Ashley's XXL fabs but instead whenever those files are present, in game no ship other than the one I fly accepts a command to dock at a shipyard. At all. Any other station is fine, but not a shipyard. Meaning I can no longer sell the ships I capture and I'll probably need to pilot my TL personally to ever buy a station kit. So, it does not work as expected. Adds nothing of Ashley's creations and instead restricts the game. So I need an Ashley's Fabs Mod, not another contraption, but I need it built to work without CPM.
Other than that, my Steam install works quite fine, modded exactly to my liking. I just need Ashley's on top of it and I'm happy. GOG can stick it somewhere where the sun don't shine, unless someone tells me GOG can get me a version of X3 that runs flawlessly in Mint, but uses an "X3.exe" that can be modded by CPM with no conflicts.
Last edited by Shadros on Sun, 28. Dec 25, 18:24, edited 1 time in total.
Shadros wrote: ↑Sun, 28. Dec 25, 18:03
[..] unless someone tells me GOG can get me a version of X3 that runs flawlessly in Mint, but uses an "X3.exe"
Either go to gog.com in your library and download the installers for your operation system or tell Lutris which version you want to install. If you want to play the windows version aka in your wording the "X3.exe" you obviously have to use that windows installer:
Again, I'm confused about what is so confusing for you - it's a fairly "normal" concept: both Steam and GOG give you access to the installers which are available for the game. Egosoft provides for X3:Reunion Windows, Mac and Linux installers. It's just a matter of selecting the proper file.
Spoiler
Show
BurnIt: Boron and leaks don't go well together... Königinnenreich von Boron: Sprich mit deinem Flossenführer Nila Ti: Folgt mir, ihr Kavalkade von neugierigen Kreaturen! Tammancktall: Es ist eine Ehre für sie mich kennenzulernen... CBJ: Thanks for the savegame. We will add it to our "crazy saves" collection [..]
Man, Galaxy is only available for Windows and Mac, not for Linux. "We didn't recognize your current system.
Please download the Mac OS or Windows installer."
What do you mean, I should install the GOG Galaxy in Lutris and run it from Lutris? I have access to the GOG website and I can download the .sh from there. No menu like what you show me. And they say the .sh is an offline installer, which means it's a stand-alone, right? A bit more complex than the "rar archive of the game folder with a "reg.exe" file in it to mimic an install" that all the pirates use, but not much more. Right?
Shadros wrote: ↑Sun, 28. Dec 25, 18:35
Man, Galaxy is only available for Windows and Mac, not for Linux. What do you mean, I should install the GOG Galaxy in Lutris and run it from Lutris? I have access to the GOG website and I can download the .sh from there. No menu like what you show me. And they say it's an offline installer, which means it's a stand-alone, right? A bit more complex than the "rar archive of the game folder with a .reg file in it to mimic an install" that all the pirates use, but not much more. Right?
If you have X3:Reunion bought on GOG you should have the same options like I have shown on the screenshot. Click on that location where my screenshot shows "windows" and you can select the installers. Of course, if you are using linux when browsing on gog.com, GOG tries to be "smart" and pre-selects "linux" there. But there is a caret symbol - indicating that you can select other options from the dropdown. Once you select that the offline-installer section will be filled with the available downloads for the selected operating system.
edit: And yes, those are "standalone installers". Like I showed it already in a previous post of mine
I never mentioned GOG Galaxy in my last post, so let's just ignore that. I'd say we are dealing with enough complexity / confusion here already. You don't need GOG Galaxy. Just go to the gog.com homepage and use it like it is meant to be. Then you'll get your windows installer.
Spoiler
Show
BurnIt: Boron and leaks don't go well together... Königinnenreich von Boron: Sprich mit deinem Flossenführer Nila Ti: Folgt mir, ihr Kavalkade von neugierigen Kreaturen! Tammancktall: Es ist eine Ehre für sie mich kennenzulernen... CBJ: Thanks for the savegame. We will add it to our "crazy saves" collection [..]
But, the Steam install, with its non-.exe executables, works like a charm. I just need to apply one mod to them without Cycrow and I will be 100% happy. Now I'm like 80-90%. The mod "Ashely's Fabs", but installable without using CPM. If Ashley would still be "alive" in the X community, this would be trivial. But since she's (or he's?) not, I would need to meet someone so good at coding mods that actually understands her/his mod and can act on it/unpack it from its published .spk form. And it does not seem pretty probable I will meet such a person too soon or that he will work for something that seems to affect only me, unpaid.
Shadros wrote: ↑Sun, 28. Dec 25, 16:34
The GOG's 6GB .sh when executed (by double click) still takes about 1-2 hours to unpack something IDK where (with a nice looking progress bar) and tells me a full screen of some things that are not in the English I know while it does it. By "IDK where" I mean all partitions have the exact same occupied space size before and after the .sh runs. It obviously extracts something, but nothing remains after it finishes. Useless for my lonely neuron, so far. I'll refrain from getting any other game from GOG in the future. It's not worth the hassle. I already have Steam and Lutris for that purpose here, no need to also install the Heroic Launcher or whatever and have 3 versions of game launchers for one game. Especially since Lutris is up to date and it has an obvious option to add games from GOG. (Wait, maybe I should have let Lutris alone at it for at least 2 hours before deciding it's unable to install the GOG game from a .sh...) One thing I love about Linux is that it is smaller than Windows unless I make it huge by myself. I mean, I started with a perfectly functional 4GB of an operating system and now I have over 120 GB occupied in the 150 GB sized Linux part of my HDD out of which 4GB or so are the game, rest just software. I should stop. No Heroic Launcher.
I mean, in 6GB of an archived install .sh file for a 4GB (when modded, otherwise it's just 2.4 GB) uncompressed game, GOG could have included their own version of the Steam Client completely with all the libraries they need, if they wanted their games to be functional. Hell, even a virtual Windows Machine is smaller than 4 GB, leaving 2 GB room for the archived game in their .sh. (Only Windows Virtual Machine slows my system down to a crawl when it runs, like I click something, go to smoke a cigarette and when I return I check if it was executed or I should smoke another one. I need a beefier PC to run a Windows Virtual Machine on Mint. I tried that too.)
About the .sh, to avoid using "CLI" or "Xfce Terminal" or however one may name it, I just made sure the .sh is marked as executable, then double clicked it, no big deal. And all I got was a screen that's not scrollable, with the writings I copy-pasted here in one of my previous posts, and a progress bar at the top of the page. I never had the patience to watch how it ends, because it definitely takes more than one hour. When I saw how much time can that take, I left it do its thing overnight. In the morning, there is nothing added to any of my partitions and no error or anything else on screen. It's just like the .sh never ran. But really, this does not matter.
It sounds like you opened the shell script in a text editor instead of actually running it. Which, because of the sheer size, will take ages to load, which is likely what you saw happening. If you just execute the file, you would be golden? I don't know why you have such an aversion to using the command line, or using Heroic if you want a GUI one-click solution.
I don't know if Lutris handles Linux native games these days or is for Windows/Wine only (by the sounds of it, since you say it doesn't handle .sh installers), hence my suggestion re: Heroic .
I know nothing, no command in the shell. I'm googling commands when I need them. And I usually forget to type the "sudo" where it's needed. Which never happened to me in DOS, only I was a teenager when I met DOS and my mind catched all its syntax and unwritten assumptions much easier than I can learn a different command line medium now, at 48. I started on a 386 PC, proud to not have a 286 like all the blokes around me and I met Windows as a DOS program way before it got to the version 3.11. Even 2 months ago, my favorite files browser in Windows was still "Servant Salamander" because it used 2 identical panels with 3 columns each, just like DOS Navigator used, with no folder tree shown, and it also accepted the old F commands of the DOS Navigator for deleting, comparing, copying and moving files between the 2 panels. (I hate Windows Explorer with its tree structure with links to subfolders presented before partitions just like I hate being lied to. Why show me a folder named "Desktop" or "My Documents" before my disc partitions, when they are actually subfolders of the User subfolders inside a Windows folder on the System Partition? Show them to me where they actually are if you want to show me a folder tree structure. And don't you dare show me the hierarchy as Partitions are part of My Computer, but My computer is inside the Desktop. Or don't show me the folder tree at all, I can work without it just fine as long as the path to what's shown in the panel is written above it.)
Lutris claims to have 4 different types of environments for various types of applications, covering everything. Wine with its 3 embedded versions (GE-Proton, System and wine-ge-8-26-x86_64) is only one of the 4. And on top of that, modules to run Steam or GOG games in Lutris directly. The truth is no matter how I update it, Lutris is made for modern 64 bit games, not for old 32 bit applications and while it does have all the required libraries, they are the trimmed versions, with no 32 bit handlers. Lutris is a "modern" tool with a lot of unfounded self confidence. Like some app could be proud for running this year games and call itself a complete solution when it can't run an original "Wolfenstein" or "Doom" or "Quake", the very basis of videogaming, relevant in any year. Not even a "Heroes of Might and Magic 3". Unfortunately, "X3:Reunion" is one of these 32 bit applications, even if it's way ahead of its time and it's full of life single player Universe, at least for me, during normal playtime, looks better than "Eve online" in its trailers.
And no, I was not opening a text editor. I was running the .sh, actually executing it. And while it ran, the .sh showed me one full screen window, with a very slow progress bar and a text, like almost any installer does, maybe a little too simplified. Only it was executed with no parameters or switches, because I would not know what parameters or switches to specify to it.
Telling Lutris the .sh is a game installer from GOG makes Lutris freeze for a very long time (Maybe it actually works, only it does not show me the 2 hours or whatever progress bar?). Pointing it to the Windows GOG version of the game, it unpacks it perfectly, gives me the game, which then promptly crashes during start, because that's all that Lutris can do with 32 bit stuff. Crush them as soon as they cross its path. A notable exception is when pointing Lutris at my old Windows X3 install folder, sitting happily on its NTFS partition, Lutris manages to start it, but then if I dared open a freight bay on any ship I owned, it freezes forever, not just temporarily, with no error log. It allowes flying, docking, etc. Just not pressing F to open a freight bay. That is too much for it and the game freezes in terror instead of showing me the list with 4 weapons and 3 shields, all of the same type. 2 lines in a table.
That's how playing on Linux feels, as my answer to the OP and his question. Unless you play through a professional shell where almost nothing is free, like Steam. Steam's shell is well built and has all the needed libraries for anything and everything. But Steam's shell won't replace Lutris, as it doesn't open things you did not buy from Steam. Like a free Windows software made by someone in the forums to show you all ships' shapes and characteristics in a graphic interface, extracted from the game files, for example. Or a real time updated game map, made by Scorp, bless him! Or a GOG's .sh.
In Linux, everything is modular, anything can replace anything else (if they have similar functionality) like, for example, almost any kernel works fine with almost any Desktop Manager and they both work perfectly with any CLI. Only do not try to make it work with something that was not originally made for Linux, like a Microsoft Office. Use the Linux's Open Office or similar if you want them to work. And all good games are made for Windows, with only some unoriginal, cringe and simplified clones of irrelevant very old games being made for Linux. Expect pain in making your games work, real pain, frustration and entire work days spent to make them work and even then they won't work as they should, if you only have the game as it is (like downloaded directly from the indie game maker's website, torrents or bought on DVD) and not as a part of Steam. Also, most games are not fun unless you mod them, like Skyrim or Minecraft. Good luck in modding a Steam install. The only upside is any Windows emulator or Steam uses way less RAM and processor time than Windows, unbelievably less, and the game will be sensibly more fluid, more responsive, when played on Linux than on Windows, on the same hardware. It's like you suddenly doubled your RAM and bought the next year's processor last year. But only if you can make your game work on Linux first.
Shadros wrote: ↑Sun, 28. Dec 25, 23:19
I know nothing, no command in the shell. I'm googling commands when I need them. And I usually forget to type the "sudo" where it's needed.
[...]
Aside from the fact that it is literally spelled out in the replies here, I don't think 48 is an insurmountable age to learn something new. I promise bash doesn't bite.
Shadros wrote: ↑Sun, 28. Dec 25, 23:19
Lutris claims to have 4 different types of environments for various types of applications, covering everything. Wine with its 3 embedded versions (GE-Proton, System and wine-ge-8-26-x86_64) is only one of the 4. And on top of that, modules to run Steam or GOG games in Lutris directly. The truth is no matter how I update it, Lutris is made for modern 64 bit games, not for old 32 bit applications and while it does have all the required libraries, they are the trimmed versions, with no 32 bit handlers. Lutris is a "modern" tool with a lot of unfounded self confidence. Like some app could be proud for running this year games and call itself a complete solution when it can't run an original "Wolfenstein" or "Doom" or "Quake", the very basis of videogaming, relevant in any year. Not even a "Heroes of Might and Magic 3". Unfortunately, "X3:Reunion" is one of these 32 bit applications, even if it's way ahead of its time and it's full of life single player Universe, at least for me, during normal playtime, looks better than "Eve online" in its trailers.
I haven't used Lutris in a couple of years, but I'd be surprised if it had changed that much for the worse. Heroic at least installs and runs Heroes of Might and Magic III and games of similar vintage just fine without changing anything in the settings. Heck, Heroes of Might and Magic I works just fine because GOG helpfully bundles it via Dosbox, and I assume much the same is true for Doom or Wolfenstein. You may have to install some of the relevant 32 bit libraries (vulkan, etc.) if your distribution doesn't come with them, but that is about it.
Shadros wrote: ↑Sun, 28. Dec 25, 23:19
And no, I was not opening a text editor. I was running the .sh, actually executing it. And while it ran, the .sh showed me one full screen window, with a very slow progress bar and a text, like almost any installer does, maybe a little too simplified. Only it was executed with no parameters or switches, because I would not know what parameters or switches to specify to it.
Telling Lutris the .sh is a game installer from GOG makes Lutris freeze for a very long time (Maybe it actually works, only it does not show me the 2 hours or whatever progress bar?).
If you ran the script, you should have seen a window like chew-ie posted. From what you said/quoted, you instead opened a window with the source of the script which could only be a text editor/viewer of some description. You don't need to give it any parameters.
Actually installing the game should definitely not take two hours unless something is seriously wrong with your storage.
Shadros wrote: ↑Sun, 28. Dec 25, 23:19That's how playing on Linux feels, as my answer to the OP and his question. Unless you play through a professional shell where almost nothing is free, like Steam. Steam's shell is well built and has all the needed libraries for anything and everything. But Steam's shell won't replace Lutris, as it doesn't open things you did not buy from Steam. Like a free Windows software made by someone in the forums to show you all ships' shapes and characteristics in a graphic interface, extracted from the game files, for example. Or a real time updated game map, made by Scorp, bless him! Or a GOG's .sh.
In Linux, everything is modular, anything can replace anything else (if they have similar functionality) like, for example, almost any kernel works fine with almost any Desktop Manager and they both work perfectly with any CLI. Only do not try to make it work with something that was not originally made for Linux, like a Microsoft Office. Use the Linux's Open Office or similar if you want them to work. And all good games are made for Windows, with only some unoriginal, cringe and simplified clones of irrelevant very old games being made for Linux. Expect pain in making your games work, real pain, frustration and entire work days spent to make them work and even then they won't work as they should, if you only have the game as it is (like downloaded directly from the indie game maker's website, torrents or bought on DVD) and not as a part of Steam. Also, most games are not fun unless you mod them, like Skyrim or Minecraft. Good luck in modding a Steam install. The only upside is any Windows emulator or Steam uses way less RAM and processor time than Windows, unbelievably less, and the game will be sensibly more fluid, more responsive, when played on Linux than on Windows, on the same hardware. It's like you suddenly doubled your RAM and bought the next year's processor last year. But only if you can make your game work on Linux first.
Playing on Linux is not so different from Windows, and saying that only Steam does things in an automated or user-friendly manner is just not true these days. Open launchers like Heroic (GOG/Epic/Amazon/Offline) exist and make managing your installs and libraries straightforward for the most part without having to worry about manually setting up Wine or installing and configuring things from the command line.
It's really quite a marvel how simple it is to run Windows games and software on Linux in 2025, sometimes even easier than trying to run them on Windows. So many older games that get randomly broken every time a new version or update of Windows rolls around, but Wine does not care.
In my experience a lot of the pain points when using Linux vs. Windows come down to hardware that doesn't have good vendor support or drivers for Linux (e.g. getting hardware video decoding working in Firefox with nvidia graphics cards is still a bit of an adventure).
Shadros wrote: ↑Sun, 28. Dec 25, 16:34
The GOG's 6GB .sh when executed (by double click) still takes about 1-2 hours to unpack something
adeine wrote: ↑Sun, 28. Dec 25, 22:46
It sounds like you opened the shell script in a text editor instead of actually running it.
I had to check what "Files" (of GNOME in AlmaLinux 9) does with shell scripts -- I practically newer use GUI to manage files.
The double-click (or pressing 'Return') on script starts editor (Emacs) and editor loads the file.
(Emacs might not be the default editor on AlmaLinux, but it is on my system / for me.)
The Files has "Run as a Program" option in its context menu for executable shell script file.
The scripts I that I had at hand complete almost instantly and do show no window.
No sane plain script is 6GB big. However, some make an installer that has a script code and binary package
concatenated into one file. The script code does the operations and reads the input data from the rest
of the file. Opening such file with a text editor will obviously take time and/or fail miserably,
because most of it is binary and that contains unprintable characters if assumed to be "ascii text".
What was the title of the window of the "running script"?
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
Finally tested the GOG version of X3:Reunion myself - by using Lutris & installing the wine version. It's indeed one of those 32bit games not working well. I get the main menu running and can start any gamestart, even get ingame and see my buster and the surrounding sector. But the intro video sequence then is having problems with both video & sound (this is where the missing 32bit libraries kick in) and thus it is not playable.
I'll try that X3 warpack as well - maybe the windows builds got updated there. At least I remember running X3:TC successfully a few years back (after the 64bit takeover)
Spoiler
Show
BurnIt: Boron and leaks don't go well together... Königinnenreich von Boron: Sprich mit deinem Flossenführer Nila Ti: Folgt mir, ihr Kavalkade von neugierigen Kreaturen! Tammancktall: Es ist eine Ehre für sie mich kennenzulernen... CBJ: Thanks for the savegame. We will add it to our "crazy saves" collection [..]
chew-ie wrote: ↑Mon, 29. Dec 25, 22:52
Finally tested the GOG version of X3:Reunion myself - by using Lutris & installing the wine version. It's indeed one of those 32bit games not working well. I get the main menu running and can start any gamestart, even get ingame and see my buster and the surrounding sector. But the intro video sequence then is having problems with both video & sound (this is where the missing 32bit libraries kick in) and thus it is not playable.
I'll try that X3 warpack as well - maybe the windows builds got updated there. At least I remember running X3:TC successfully a few years back (after the 64bit takeover)
Have you tried this solution someone suggested for the Windows version of X3:FL?