Installation should now (mostly) succeed with own Steam data files
This commit is contained in:
parent
9624bc078d
commit
dcfb8e28e8
8 changed files with 2432 additions and 29 deletions
2
README
2
README
|
@ -76,7 +76,7 @@ make 2 bad-CRC files work
|
|||
./build_pak0.sh [gamedir] will read games/[gamedir]-pak0.sha256 and
|
||||
assemble the pak0.pak
|
||||
|
||||
./build_loose.sh [gamedir] will read games[gamedir.sha256 and finds
|
||||
./build_loose.sh [gamedir] will read games[gamedir].sha256 and finds
|
||||
other desired loose files
|
||||
|
||||
./ccase.sh fixes case sensitivity issues
|
||||
|
|
|
@ -26,19 +26,6 @@ find_file ()
|
|||
|
||||
#echo "Looking for $SEARCHNAME"
|
||||
|
||||
find "./_tmp" -type f -name "${SEARCHNAME}" | while read FOUND
|
||||
do
|
||||
CHECK=$(sha256sum "${FOUND}" | cut -d ' ' -f 1)
|
||||
#echo "$CHECK == $2"
|
||||
|
||||
if [ "${CHECK}" = "$2" ]
|
||||
then
|
||||
mkdir -p "${PAK0_OUTDIR}/$(dirname $1)"
|
||||
cp -v "${FOUND}" "${PAK0_OUTDIR}/$1"
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -z "$HL_STEAM_INSTALL" ]
|
||||
then
|
||||
find "$HL_STEAM_INSTALL" -type f -name "${SEARCHNAME}" | while read FOUND
|
||||
|
@ -53,7 +40,25 @@ find_file ()
|
|||
exit 0
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -f "${PAK0_OUTDIR}/$1" ]
|
||||
then
|
||||
return
|
||||
fi
|
||||
fi
|
||||
|
||||
find "./_tmp" -type f -name "${SEARCHNAME}" | while read FOUND
|
||||
do
|
||||
CHECK=$(sha256sum "${FOUND}" | cut -d ' ' -f 1)
|
||||
#echo "$CHECK == $2"
|
||||
|
||||
if [ "${CHECK}" = "$2" ]
|
||||
then
|
||||
mkdir -p "${PAK0_OUTDIR}/$(dirname $1)"
|
||||
cp -v "${FOUND}" "${PAK0_OUTDIR}/$1"
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -f "${PAK0_OUTDIR}/$1" ]
|
||||
then
|
||||
|
|
|
@ -31,8 +31,5 @@ fetch_resource "http://archive.org/download/half-life-patches/English/Update 1.1
|
|||
fetch_resource "https://archive.org/download/opfor-demo/opfordemofull.exe" "Half-Life: Opposing Force - Demo"
|
||||
fetch_resource "https://downloads.ammahls.com/HLSDK/hl_sdk_v23.exe" "Half-Life SDK v2.3"
|
||||
|
||||
# if we pass a Steam path, skip this one
|
||||
if [ -z "$HL_STEAM_INSTALL" ]
|
||||
then
|
||||
fetch_resource "http://archive.org/download/steaminstall_halflife/steaminstall_halflife.exe" "Steam Installer with Half-Life Cache"
|
||||
fi
|
||||
#fetch_resource "http://archive.org/download/steaminstall_opfor/steaminstall_opfor.exe" "Steam Installer with Opposing Force Cache"
|
1194
games/gearbox-pak0.sha256
Normal file
1194
games/gearbox-pak0.sha256
Normal file
File diff suppressed because it is too large
Load diff
1195
games/gearbox.dat
Normal file
1195
games/gearbox.dat
Normal file
File diff suppressed because it is too large
Load diff
14
games/gearbox.sha256
Normal file
14
games/gearbox.sha256
Normal file
|
@ -0,0 +1,14 @@
|
|||
77d25cd9e237194d78dfa14e78947d6db2f6eadc5318de7295ec846780e435c3 cached.wad
|
||||
398370aadfe0bb5f56e9f809563897e24a1adaffa273b93e1c9d9d248a1e7729 config.cfg
|
||||
89eeee346cc2fdfcd9b5452f4b813b5a49ed1c8014cb2c1363e3e3f49b046712 decals.wad
|
||||
8c92c7bdac15338a9b4f7e1f5ea33d0249694895d2974576855c05cf7bab3a10 liblist.gam
|
||||
7eb23ce79abe1d7ce0fe1e049c331dd542b45679249577f850aff007068279f4 listenserver.cfg
|
||||
030674024d8fa28cf11aeb84ab9b87c5c6c7c01a84688e9711464770ffc033cc mapcycle.txt
|
||||
41e81e2b647b4a07c407061e73172d437121e1754d149f51e67ccb2e72c916ab media/logo.avi
|
||||
a948bd1347cf0c4cb7dfeb718058eab4e1205dce725adc57110bf2ce59ee9307 media/valve.avi
|
||||
fb62b965d67e0705c32ad59940f312c53c86ccab9e966d7ff12bf976b04c94d8 opfor.wad
|
||||
4fc1b797cac41e2d7c8f72a806c454a0bb0fb5927360ee3d859e360e0b011f94 pak0.pak
|
||||
c8df6329076745ced9b8c7dc4965f8db7bf300b8b8282601a7e7620f47ef56a3 readme.txt
|
||||
4f27bc35d508c4b7226ebe6d529b00f2cabd3ee989aafe7ce2f23703e98c214e server.cfg
|
||||
714d61a2881ace35bf28aa6af3847c4031c2688051d2444c71a915e65c6bf22f settings.scr
|
||||
a0e6cbba94cf00e44e36fefb2e2c7cd698c180c5bd521c3a814d0ae91079a099 user.scr
|
11
rip_sources.sh
Normal file → Executable file
11
rip_sources.sh
Normal file → Executable file
|
@ -31,11 +31,8 @@ x_rewise "hluplink.exe"
|
|||
x_rewise "hl1110.exe"
|
||||
x_rewise "opfordemofull.exe"
|
||||
x_rewise "hl_sdk_v23.exe"
|
||||
|
||||
if [ -z "$HL_STEAM_INSTALL" ]
|
||||
then
|
||||
x_rewise "steaminstall_halflife.exe"
|
||||
fi
|
||||
#x_rewise "steaminstall_opfor.exe"
|
||||
|
||||
mkdir -p "./_tmp/hluplink-pak0"
|
||||
pakextract -o "./_tmp/hluplink-pak0" "./_tmp/hluplink.exe/MAINDIR/valve/pak0.PAK"
|
||||
|
@ -43,11 +40,11 @@ pakextract -o "./_tmp/hluplink-pak0" "./_tmp/hluplink.exe/MAINDIR/valve/pak0.PAK
|
|||
mkdir -p "./_tmp/opfordemofull-pak0"
|
||||
pakextract -o "./_tmp/opfordemofull-pak0" "./_tmp/opfordemofull.exe/MAINDIR/valve/pak0.PAK"
|
||||
|
||||
if [ -z "$HL_STEAM_INSTALL" ]
|
||||
then
|
||||
mkdir -p "./_tmp/half-life.gcf"
|
||||
hlextract -p "./_tmp/steaminstall_halflife.exe/MAINDIR/SteamApps/half-life.gcf" -d "./_tmp/half-life.gcf" -e "root/valve/"
|
||||
fi
|
||||
|
||||
#mkdir -p "./_tmp/opposing force.gcf"
|
||||
#hlextract -p "./_tmp/steaminstall_opfor.exe/MAINDIR/SteamApps/opposing force.gcf" -d "./_tmp/opposing force.gcf" -e "root/gearbox/"
|
||||
|
||||
./ccase.sh -r "./_tmp"
|
||||
|
||||
|
|
1
sums/steaminstall_opfor.exe.sha512
Normal file
1
sums/steaminstall_opfor.exe.sha512
Normal file
|
@ -0,0 +1 @@
|
|||
519a25670db89c924882884fb558fd5445a137627bf011c863433e5e2b23906372c54feb00bbe5253626567506c914fd3cceeae5c9559ed9aed727edefde4492 steaminstall_opfor.exe
|
Loading…
Reference in a new issue