SRCDS Steam group


GCF Extract
#1
Hey guys,
Looking to extract some GCF's on linux for use with a Synergy server.
I would extract them on windows and upload them, but it'd probably cost me a lot in internet to upload 10gb worth of files (hl2/ep1/ep2/mods) plus it would take ages.

HLLib claims native Linux use, but i cant get it to build on CentOS.
libhl is meant to be a port of it, but it appears to gone missing off the internets.

Anyone know an easy way to extract GCF's on linux (command line)?


edit: Okay found a fixed version, downloaded it using git but i cant get it to compile. Zzzzzz all i want is a single binary for HLExtract
http://github.com/aciid/hllib


[root@hostname hllib]# gcc -O2 -g HLExtract/Main.c -o HLExtract/hlextract -lhl
/usr/bin/ld: skipping incompatible /usr/local/lib/libhl.so when searching for -lhl
/usr/bin/ld: cannot find -lhl
collect2: ld returned 1 exit status
Reply
#2
Hey guys,
Heres a full set of commands to get this running. Big props to leigh123 at fedoraforum for this.

Requires: git, gcc, g++, make

Code:
git clone git://github.com/aciid/hllib.git
cd hllib
make clean -C HLLib
make -C HLLib -f Makefile install
ldconfig
gcc -O2 -g HLExtract/Main.c -o HLExtract/hlextract -lhl
cp /usr/local/lib/libhl.so.2.0.10 /usr/lib/libhl.so
ln -s /usr/lib/libhl.so /usr/lib/libhl.so.2
ldconfig
cp HLExtract/hlextract /usr/local/bin

Then "hlextract" becomes a command you can use anywhere. Woohoo, easy synergy setup.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)