Skip to content

NicknineTheEagle/TF2-Base

Repository files navigation

Team Fortress 2

Build status

This is the old Team Fortress 2 source code from late January 2008 ported to Source Engine 2013. This ensures the game has all the latest engine features and security fixes. No new features will be added to the code. No bugs will be fixed with the exception of crashes and bugs that were not in the original 2008 build of the game.

You can find a link to the playable build on the latest release's page: https://github.com/NicknineTheEagle/TF2-Base/releases/latest

Building

Compiling process is the same as for Source SDK 2013. Instructions for building Source SDK 2013 can be found here: https://developer.valvesoftware.com/wiki/Source_SDK_2013

Assets that need to be used with compiled binaries: https://mega.nz/file/fMIThQqZ#_qq1b0ZGj_92UMd4FkIJ7QhJ7emJAs5hHwGOHF8rACk

Note that the above archive is not a playable build. It does not contain binaries and assets are stored as loose files instead of VPKs. It is meant for developers who want to make a new Source mod.

Installing:

Client:

  1. Go to the Tools section in your Steam Library and install Source SDK Base 2013 Multiplayer.

  2. Download the asset package and extract its contents to <Steam>\steamapps\sourcemods.

  3. Restart Steam. "Team Fortress 2 1.0.1.8 Port" should appear in your Steam Library.

  4. Put your compiled binaries into "bin" directory.

NOTE: If you're on Linux or Mac, Steam client currently has a bug where it doesn't attach -steam parameter when running Source mods like it's supposed to. You'll need to manually add -steam parameter to the mod in your Steam Library.

Server:

  1. These instructions assume you know how to host a dedicated server for TF2 and/or other Source games. If you don't, refer to these articles:

  2. Use SteamCMD to download app 244310 (Source SDK Base 2013 Dedicated Server).

  3. Download the asset package and extract its contents to where you installed Source SDK Base 2013 Dedicated Server.

  4. If you're on Linux, Valve has messed up some of the engine binaries and you'll need to fix that. Go to <server_install_folder>/bin and delete these files:

    • libtier0.so

    • libvstdlib.so

    Then make copies of the files as follows:

    • libtier0_srv.so -> libtier0.so

    • libvstdlib_srv.so -> libvstdlib.so

    • soundemittersystem_srv.so -> soundemittersystem.so

    • scenefilecache_srv.so -> scenefilecache.so

  5. Put your compiled binaries into "bin" directory.