Install source sdk linux

Installation the Source SDK Base 2013 Singleplayer for Linux tutorial — Half-Life 2: Episode One

Episode One follows scientist Gordon Freeman and his companion Alyx Vance as they fight in humanity’s continuing struggle against the transhuman race known as the Combine. When the story begins, Gordon wakes up outside the enemy’s base of operations, the Citadel, after being left unconscious from the concluding events of Half-Life 2. During the course of the game, Gordon travels with Alyx as they attempt to evacuate the city.

Installation the Source SDK Base 2013 Singleplayer for Linux on Ubuntu Linux 22.04 LTS by Steam. Run mods with the SDK as standalone ones. Useful shell commands.

Posted by lnxfan on Feb 20th, 2023 — Basic Installers

Installation the Source SDK Base 2013 Singleplayer for Linux

When I saw Half-Life 2 that works on Linux natively, I decided to learn more. I have Ubuntu Linux 22.04 LTS. I began from installation of Steam. Steam is a standard packet that ships with Ubuntu out of box.

The Steam is 32 bit application and Installed with nesessary dependencies, that is with a lot of 32 bit shared libraries. It is good. I had not to do something more. I just signed in Steam and that was enough to install the Source SDK Base 2013 Singleplayer for Linux (or simply the SDK).

I installed by Steam a free Half-Life 2 game mod ‘Transmission Element 120’ that works natively on Linux. I examined the mod and understood that the mod cat be installed as standalone resource out of Steam bindings. I decided to install the SDK as standalone and became free to research it. Also, try to run hl2, episodic, ep2 as mods and learn from it. Why not? That was a good point to start learning Half-Life 2.

Make the SDK standalone

I copied the SDK into ‘~/Games/HL2‘:

Читайте также:  Два восклицательных знака linux

mkdir ~/Games
cp -r ~/.steam/steam/steamapps/common/’Source SDK Base 2013 Singleplayer’ ~/Games/HL2

The name of SDKROOT directory is ‘~/Games/HL2

Then add two missed, but required shared libraries:

cp ~/.steam/debian-installation/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libgcrypt.so.11.7.0 ~/Games/HL2/bin
cp ~/.steam/debian-installation/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libpng12.so.0.46.0 ~/Games/HL2/bin
cd ~/Games/HL2/bin
ln -s libgcrypt.so.11.7.0 libgcrypt.so.11
ln -s libpng12.so.0.46.0 libpng12.so.0

cd ~/Games/HL2
LD_LIBRARY_PATH=bin ./hl2_linux -game sourcetest -windowed

Источник

Installation the Source SDK Base 2013 Singleplayer for Linux tutorial

Installation the Source SDK Base 2013 Singleplayer for Linux on Ubuntu Linux 22.04 LTS by Steam. Run mods with the SDK as standalone ones. Useful shell commands.

Posted by lnxfan on Feb 20th, 2023 — Basic Installers

Installation the Source SDK Base 2013 Singleplayer for Linux

When I saw Half-Life 2 that works on Linux natively, I decided to learn more. I have Ubuntu Linux 22.04 LTS. I began from installation of Steam. Steam is a standard packet that ships with Ubuntu out of box.

The Steam is 32 bit application and Installed with nesessary dependencies, that is with a lot of 32 bit shared libraries. It is good. I had not to do something more. I just signed in Steam and that was enough to install the Source SDK Base 2013 Singleplayer for Linux (or simply the SDK).

I installed by Steam a free Half-Life 2 game mod ‘Transmission Element 120’ that works natively on Linux. I examined the mod and understood that the mod cat be installed as standalone resource out of Steam bindings. I decided to install the SDK as standalone and became free to research it. Also, try to run hl2, episodic, ep2 as mods and learn from it. Why not? That was a good point to start learning Half-Life 2.

Make the SDK standalone

I copied the SDK into ‘~/Games/HL2‘:

mkdir ~/Games
cp -r ~/.steam/steam/steamapps/common/’Source SDK Base 2013 Singleplayer’ ~/Games/HL2

The name of SDKROOT directory is ‘~/Games/HL2

Then add two missed, but required shared libraries:

cp ~/.steam/debian-installation/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libgcrypt.so.11.7.0 ~/Games/HL2/bin
cp ~/.steam/debian-installation/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libpng12.so.0.46.0 ~/Games/HL2/bin
cd ~/Games/HL2/bin
ln -s libgcrypt.so.11.7.0 libgcrypt.so.11
ln -s libpng12.so.0.46.0 libpng12.so.0

cd ~/Games/HL2
LD_LIBRARY_PATH=bin ./hl2_linux -game sourcetest -windowed

Источник

Correctly set up Valves Source SDK 2013 on Linux

I just try to set up Valves Source SDK 2013 for Linux but I need to say that I find the wiki + documentation rather confusing and partly heavily outdated (Windows-only instructions, only for GoldSrc / pre-20XX SDk etc.). I hope that someone who already has gone through the hassle can supply me with some hints on how to correctly set up the system.
I tried to use some Windows-specific instructions to understand the system but some are highly platform-specific. So here is the current status (I based what I did on this wiki page: Wiki: Source SDK 2013: The source of the SDK SDK 2013 from GitHub is cloned to

~/working/steam-runtime-sdk_2013-09-05/ 

I was not sure whether there is a specific path I should put the steam runtime into so I just put it into my self-created working dir.

# Create a Multiplayer sample project export SDKROOT="~/Git/source-sdk-2013" bash $SDKROOT/mp/src/creategameprojects bash $SDKROOT/mp/src/createallprojects # Setup Steam Runtime export STEAMRT="~/working/steam-runtime-sdk_2013-09-05/" cd $STEAMRT # Choose all build targets (i386 + amd64) and download these ./setup.sh # Set current to target to the same as host machine (ie. amd64) ./shell.sh # Compile the actual game make -f $SDKROOT/mp/src/games.mak 

I have not yet touched any source files as there’s plenty of sources already supplied. I just wanted to confirm having a working toolchain set up This all compiles fine but in the end the script wants to chmod the client.so and server.so but claims «not found» – but it sadly does not provide any information where it searched for them. Actually these are existant in $SDKROOT/mp/game/mod_hl2mp/bin and even marked as executable (-rwxr-xr-x). So I just ignored this and hoped for the best. The next line to me sounds a bit strange:

At this point you should have client.so and server.so files to load with the Source SDK Base 2013 of your choice.

So I should be able so load the files with «the Source SDK Base 2013» (of your choice. Valve is the only one providing it O.o). How am I supposed to do that? I have not found any hint whatsoever for that, sadly. But they hint me to the README.txt of the steam-runtime which tells me to do this:

  • Why do only the Linux users need to download the steam runtime? What if I want to not ship via Steam?
  • Is that chmod failure a script failure or a mistake in my directory setup?
  • How do I load these libraries via the SDK Base
  • Where is the binary? I’m quite confused here.
Читайте также:  Файловая система операционных системах семейства linux

Have I overlooked something? I appreciate any hints or links to resources, maybe explanations when I just were to dumb to understand what they mean 😛

EDIT: Actually there is a GitHub repo for the steam-runtime too (GitHub/steam-runtime) – why is the download so outdated, the git repo has some updated stuff going on. Which should one choose?

Источник

Installation the Source SDK Base 2013 Singleplayer for Linux tutorial — Half-Life 2

Pick up the crowbar of research scientist Gordon Freeman, who finds himself on an alien-infested Earth being picked to the bone, its resources depleted, its populace dwindling. Freeman is thrust into the unenviable role of rescuing the world from the wrong he unleashed back at Black Mesa. And a lot of people, people he cares about, are counting on him.

Installation the Source SDK Base 2013 Singleplayer for Linux on Ubuntu Linux 22.04 LTS by Steam. Run mods with the SDK as standalone ones. Useful shell commands.

Posted by lnxfan on Feb 20th, 2023 — Basic Installers

Installation the Source SDK Base 2013 Singleplayer for Linux

When I saw Half-Life 2 that works on Linux natively, I decided to learn more. I have Ubuntu Linux 22.04 LTS. I began from installation of Steam. Steam is a standard packet that ships with Ubuntu out of box.

The Steam is 32 bit application and Installed with nesessary dependencies, that is with a lot of 32 bit shared libraries. It is good. I had not to do something more. I just signed in Steam and that was enough to install the Source SDK Base 2013 Singleplayer for Linux (or simply the SDK).

Читайте также:  Red hat enterprise linux identity management

I installed by Steam a free Half-Life 2 game mod ‘Transmission Element 120’ that works natively on Linux. I examined the mod and understood that the mod cat be installed as standalone resource out of Steam bindings. I decided to install the SDK as standalone and became free to research it. Also, try to run hl2, episodic, ep2 as mods and learn from it. Why not? That was a good point to start learning Half-Life 2.

Make the SDK standalone

I copied the SDK into ‘~/Games/HL2‘:

mkdir ~/Games
cp -r ~/.steam/steam/steamapps/common/’Source SDK Base 2013 Singleplayer’ ~/Games/HL2

The name of SDKROOT directory is ‘~/Games/HL2

Then add two missed, but required shared libraries:

cp ~/.steam/debian-installation/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libgcrypt.so.11.7.0 ~/Games/HL2/bin
cp ~/.steam/debian-installation/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libpng12.so.0.46.0 ~/Games/HL2/bin
cd ~/Games/HL2/bin
ln -s libgcrypt.so.11.7.0 libgcrypt.so.11
ln -s libpng12.so.0.46.0 libpng12.so.0

cd ~/Games/HL2
LD_LIBRARY_PATH=bin ./hl2_linux -game sourcetest -windowed

Источник

Оцените статью
Adblock
detector