SourcePauseTool
A plugin for all your pausing needs.
Usage
- Download the DLL corresponding to your game / engine / SDK:
SDK SPT DLL Source SDK (Base) 2007 / New Engine / Source Unpack / Orange Box spt.dll
Source SDK (Base) 2013 / SteamPipe / Latest spt-2013.dll
Black Mesa spt-bms.dll
Source SDK (Base) 2006 / Old Engine spt-oe.dll
- Place the DLL into the correct folder:
SDK Folder Old Engine / Portal (3420) Topmost bin
withAdminServer.dll
etc.Old Engine mods Source SDK Base\bin
Half-Life: Source hl1
Half-Life 2 hl2
Half-Life 2: Episode 1 episodic
Half-Life 2: Episode 2 ep2
Half-Life 2: Lost Coast lostcoast
Portal portal
Black Mesa bms
- Launch the game.
- Go to
Options > Keyboard > Advanced
, checkEnable developer console
, and press OK. - Press the tilde key (~) and enter
plugin_load spt
into the developer console.- You must
disconnect
first in Black Mesa. - Add
plugin_load spt
tocfg/autoexec.cfg
to load SourcePauseTool automatically. - Loading SourcePauseTool more than once will crash the game!
- You must
Building
- You will need Visual Studio 2019 and git.
- Open Visual Studio 2019. Click on Tools → Get Tools and Features... from the top bar of the window.
This should open the Visual Studio Installer in another window. From the Workload tab, installDesktop development with C++
. From the Individual Components tab, install:- MSVC v141 - VS 2017 C++ x64/x86 build tools
- C++ Windows XP Support for VS 2017 (v141) tools
- Run the following in cmd:
git clone --recurse-submodules https://github.com/YaLTeR/SourcePauseTool.git SourcePauseTool\spt.sln
- If Windows asks which program to open
spt.sln
with, choose Visual Studio.- If Visual Studio asks to retarget projects, press OK.
- Once Visual Studio is open, right click
libMinHook
, clickProperties
, changePlatform Toolset
to the one corresponding to your Visual Studio version, and press OK.
- Choose the build configuration:
SDK Configuration Source SDK 2007 / New Engine / Source Unpack / Orange Box Release
Source SDK 2013 / SteamPipe / Latest Release 2013
Black Mesa Release BMS
Source SDK 2006 / Old Engine Release OE
- Click
Build > Build Solution
.spt*.dll
will be inhl2sdk\utils\SourcePauseTool\<Build Configuration>
.srctas documentation
.srctas is the SPT TAS script format. You can find its documentation here.
Contributing
See the contributing guide here.