Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
darealshinji committed Aug 14, 2017
0 parents commit 99897b1
Show file tree
Hide file tree
Showing 64 changed files with 8,274 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Black Mesa/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
AppID: `362890`

Linux
-----

Remove `libstdc++.so.6` from `bin`.
Install libtxc-dxtn: `sudo apt-get install libtxc-dxtn-s2tc0:i386`

30 changes: 30 additions & 0 deletions Black Mesa/bin/COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
libogg.dll, libvorbis.dll:

Copyright (c) 2002-2015, Xiph.org Foundation

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

- Neither the name of the Xiph.org Foundation nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7 changes: 7 additions & 0 deletions Black Mesa/bin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
`libogg.dll` and `libvorbis.dll` built with MinGW and linked against `msvcrt.dll`.
This way there should be no runtime issues resulting in the music not being played (the original files are linked against `msvcr100.dll`).

`libsasl.dll` requires `msvcr80.dll` ([vcredist 2005](http://www.microsoft.com/downloads/details.aspx?FamilyID=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en))
but leaving it doesn't seem to have any negative effects.

Topic related to this issue: https://forums.blackmesasource.com/index.php/Thread/30793-Background-music-not-playing-figured-out-the-issue/
Binary file added Black Mesa/bin/libogg.dll
Binary file not shown.
Binary file added Black Mesa/bin/libvorbis.dll
Binary file not shown.
156 changes: 156 additions & 0 deletions Black Mesa/bms/gameinfo_custom.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
"GameInfo"
{
game "Black Mesa"
gamelogo 1
developer "Crowbar Collective"
developer_url "http://www.blackmesasource.com/"
type "both"

gamelogo 1
SupportsDX8 0
SupportsXbox360 1
nomodels 1
nocrosshair 1
GameData "../bms"
InstancePath "bms/mapsrc/"

hidden_maps
{
"background01" 1
"background02" 1
"background03" 1
"background04" 1
"background05" 1
"background06" 1
"background07" 1
"background08" 1
"background09" 1
"background10" 1
"background11" 1
"background12" 1
"background13" 1
"background14" 1

"bm_c0a0a" 1
"bm_c0a0b" 1
"bm_c0a0c" 1
"bm_c1a0a" 1
"bm_c1a0b" 1
"bm_c1a1a" 1
"bm_c1a1b" 1
"bm_c1a1c" 1
"bm_c1a1d" 1
"bm_c1a1e" 1
"bm_c1a2a" 1
"bm_c1a2b" 1
"bm_c1a2c" 1
"bm_c1a3a" 1
"bm_c1a3b" 1
"bm_c1a3c" 1
"bm_c1a4a" 1
"bm_c1a4b" 1
"bm_c1a4c" 1
"bm_c1a4d" 1
"bm_c1a4e" 1
"bm_c2a1a" 1
"bm_c2a1b" 1
"bm_c2a2a" 1
"bm_c2a2b" 1
"bm_c2a2c" 1
"bm_c2a3a" 1
"bm_c2a3b" 1
"bm_c2a3c" 1
"bm_c2a4a" 1
"bm_c2a4b" 1
"bm_c2a4c" 1
"bm_c2a4d" 1
"bm_c2a4e" 1
"bm_c2a4f" 1
"bm_c2a4g" 1
"bm_c2a4h" 1
"bm_c2a5a" 1
"bm_c2a5b" 1
"bm_c2a5c" 1
"bm_c2a5d" 1
"bm_c2a5e" 1
"bm_c2a5f" 1
"bm_c2a5g" 1
"bm_c2a5h" 1
"bm_c2a5i" 1
"bm_c3a1a" 1
"bm_c3a1b" 1
"bm_c3a2a" 1
"bm_c3a2b" 1
"bm_c3a2c" 1
"bm_c3a2d" 1
"bm_c3a2e" 1
"bm_c3a2f" 1
"bm_c3a2g" 1
"bm_c3a2h" 1

"credits" 1
}

FileSystem
{
SteamAppId 362890
ToolsAppId 211

//
// Search paths are relative to the base directory, which is where hl2.exe is found.
//
// |gameinfo_path| points at the directory where gameinfo.txt is.
// We always want to mount that directory relative to gameinfo.txt, so
// people can mount stuff in c:\mymod, and the main game resources are in
// someplace like c:\program files\valve\steam\steamapps\half-life 2.
//
SearchPaths
{
// We search VPK files before ordinary folders, because most files will be found in
// VPK and we can avoid making thousands of file system calls to attempt to open files
// in folders where they don't exist. (Searching a VPK is much faster than making an operating
// system call.)

game+mod bms/custom/*

// Black Mesa VPK files.
game+mod bms/bms_textures.vpk
game+mod bms/bms_materials.vpk
game+mod bms/bms_models.vpk
game+mod bms/bms_misc.vpk
game+mod bms/bms_sounds_misc.vpk
game+mod bms/bms_sound_vo_english.vpk
game+mod bms/bms_maps.vpk

// HL2 VPK files.
game |all_source_engine_paths|hl2/hl2_misc.vpk
game |all_source_engine_paths|hl2/hl2_sounds_misc.vpk
game |all_source_engine_paths|hl2/hl2_textures.vpk
game |all_source_engine_paths|hl2/hl2_materials.vpk
game |all_source_engine_paths|hl2/hl2_models.vpk

// Platform VPK files.
platform |all_source_engine_paths|platform/platform_misc.vpk

// Now search loose files. We'll set the directory containing the gameinfo.txt file
// as the first "mod" search path (after any user customizations). This is also the one
// that's used when writing to the "mod" path.
mod+mod_write+default_write_path |gameinfo_path|.

// Add the BMS directory as a game search path. This is also where where writes
// to the "game" path go.
game+game_write bms

// Where the game's binaries are.
gamebin |gameinfo_path|bin

// Add the HL2 directory as a game search path. This is also where where writes
// to the "game" path go.
//game hl2

// Last, mount in shared HL2 loose files
game |all_source_engine_paths|hl2
platform |all_source_engine_paths|platform
}
}
}
37 changes: 37 additions & 0 deletions Black Mesa/bms_update_ws_content.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/bin/sh

set -e

steamapps="$HOME/.steam/steam/steamapps"
wscontent="$steamapps/workshop/content/362890"
bms="$steamapps/common/Black Mesa/bms"

mkdir -p "$bms/workshop_content"

# delete old links and sound cache
rm -f "$bms/workshop_content"/*.vpk
rm -f "$bms/workshop_content"/*.vpk.sound.cache

# create new links
find "$wscontent"/* -type f -name *.vpk -exec ln -s -v '{}' "$bms/workshop_content/" \;

set +e

# add this searchpath to gameinfo.txt
searchpath='game+mod bms/workshop_content/*'

if ! grep -e "$searchpath" "$bms"/gameinfo.txt >/dev/null; then
# not elegant, but it works
tr -d '\r' < "$bms"/gameinfo.txt | \
sed -e 's|$|<EOL>|g' | \
tr -d '\n' | \
sed -e "s|<EOL>[ \t]*SearchPaths[ \t]*<EOL>[ \t]*{[ \t]*<EOL>|<EOL>\t\tSearchPaths<EOL>\t\t{<EOL>\t\t\t$searchpath<EOL><EOL>|" | \
sed 's|<EOL>|\r\n|g' > "$bms"/gameinfo.txt.new

if [ "$?" -eq 0 ]; then
rm -f "$bms"/gameinfo.txt.old
mv "$bms"/gameinfo.txt "$bms"/gameinfo.txt.old
mv "$bms"/gameinfo.txt.new "$bms"/gameinfo.txt
fi
fi

77 changes: 77 additions & 0 deletions Black Mesa/cfg/config.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
unbindall
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "a" "+moveleft"
bind "c" "impulse 50"
bind "d" "+moveright"
bind "e" "+use"
bind "f" "impulse 100"
bind "g" "dropprimary"
bind "m" "chooseteam"
bind "q" "lastinv"
bind "r" "+reload"
bind "s" "+back"
bind "u" "messagemode2"
bind "v" "+zoom"
bind "w" "+forward"
bind "z" "messagemode"
bind "[" "invprev"
bind "]" "invnext"
bind "'" "+moveup"
bind "/" "+movedown"
bind "\" "toggleconsole"
bind "-" "sizedown"
bind "=" "sizeup"
bind "ENTER" "+attack"
bind "SPACE" "+jump"
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
bind "INS" "+klook"
bind "PGUP" "+lookup"
bind "PGDN" "+lookdown"
bind "PAUSE" "pause"
bind "SHIFT" "+speed"
bind "ALT" "+walk"
bind "CTRL" "+duck"
bind "UPARROW" "+forward"
bind "LEFTARROW" "+left"
bind "DOWNARROW" "+back"
bind "RIGHTARROW" "+right"
bind "F3" "askconnect_accept"
bind "F4" "jpeg"
bind "F5" "save quick"
bind "F6" "save quick"
bind "F8" "load quick"
bind "F9" "load quick"
bind "F10" "quit prompt"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MWHEELUP" "invprev"
bind "MWHEELDOWN" "invnext"
sv_houndeye_tinnitus "1"
cl_csm_enabled "0"
cl_csm_qualitymode "0.000000"
cl_chatfilter_version "1"
cc_lang "german"
sensitivity "5"
sv_skyname "bm_sky_underground_00"
mat_software_aa_strength "0.000000"
mat_software_aa_strength_vgui "1.000000"
sv_always_run "1"
cl_ironsight_sticky "1"
windows_speaker_config "4"
volume "0.400000"
snd_musicvolume "0.590000"
voice_scale "0.580000"
name "djcj"
sv_unlockedchapters "14"
cl_logofile "materials/vgui/logos/spray.vtf"
mat_colorcorrection "1"
con_enable "1"
skill "3"
r_rootlod "2"
mat_antialias "1"
43 changes: 43 additions & 0 deletions COPYING.gcrypt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
The library is distributed under the terms of the GNU Lesser
General Public License (LGPL); see the file COPYING.LIB for the
actual terms. The helper programs (e.g. gcryptrnd and getrandom)
as well as the documentation are distributed under the terms of
the GNU General Public License (GPL); see the file COPYING for the
actual terms.

This library used to be available under the GPL - this was changed
with version 1.1.7 with the rationale that there are now many free
crypto libraries available and many of them come with capabilities
similar to Libcrypt. We decided that to foster the use of
cryptography in Free Software an LGPLed library would make more
sense because it avoids problems due to license incompatibilities
between some Free Software licenses and the GPL.

Please note that in many cases it is better for a library to be
licensed under the GPL, so that it provides an advantage for free
software projects. The Lesser GPL is so named because it does
less to protect the freedom of the users of the code that it
covers. See http://www.gnu.org/philosophy/why-not-lgpl.html for
more explanation.

An example of the license headers of the LGPL is

-------------
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006
2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.

This file is part of Libgcrypt.

Libgcrypt is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of
the License, or (at your option) any later version.

Libgcrypt is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this program; if not, see <http://www.gnu.org/licenses/>.
-------------
7 changes: 7 additions & 0 deletions Codename Gordon/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
AppID: `92`

Codename Gordon can still be installed for free using the Steam URL [steam://install/92](steam://install/92) or `steamcmd`.

The embedded SWF file can be extracted with `cat cg.exe | tail -c+1198770 > cg.swf`.
MD5 checksum of cg.swf is `f3930ac0e48d5ad38e612f5acff04f3f`.

5 changes: 5 additions & 0 deletions Half-Life 2 DownFall/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
AppID: `587650`

Binary files from the _Source SDK Base 2013 Singleplayer_ (AppID `243730`) to play _Half-Life 2: Downfall_ on Linux:
http://www.moddb.com/games/half-life-2-episode-two/downloads/half-life-2-downfall-linux

4 changes: 4 additions & 0 deletions Half-Life 2 Update/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
AppID: `290930`

If _Half-Life 2: Update_ is censored start the game without Steam running in background.
Run `Half-Life 2 Update/hl2.exe` or `Half-Life 2 Update/hl2.sh` to start the game.
3 changes: 3 additions & 0 deletions Half-Life A Place in the West/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
AppID: `466270`

The tool `asar` can be used to extract pages from `.asar` archives: `npm install asar`
Loading

0 comments on commit 99897b1

Please sign in to comment.