A plugin for all your pausing needs.
-
Download the DLL corresponding to your game / engine / SDK:
SDK SPT DLL Source SDK (Base) 2007 / New Engine / Source Unpack* / Orange Box spt.dllSource SDK (Base) 2013 / SteamPipe / Latest spt-2013.dllBlack Mesa spt-bms.dllSource SDK (Base) 2006 / Old Engine spt-oe.dll* Including Portal 3420
-
Place the DLL into the correct folder:
SDK Folder Old Engine & Portal (3420) Topmost binwithAdminServer.dlletc.Old Engine mods Source SDK Base\binHalf-Life: Source hl1Half-Life 2 hl2Half-Life 2: Episode 1 episodicHalf-Life 2: Episode 2 ep2Half-Life 2: Lost Coast lostcoastPortal portalBlack Mesa bms -
Launch the game.
-
Go to
Options > Keyboard > Advanced, checkEnable developer console, and press OK. -
Press the tilde key (~) and enter
plugin_load sptinto the developer console.- You must
disconnectfirst in Black Mesa. - Add
plugin_load spttocfg/autoexec.cfgto load SourcePauseTool automatically.
- You must
- You will need Visual Studio 2022 (or later) and git.
- Open Visual Studio 2022. 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 v143 - VS 2022 C++ x64/x86 build tools
- In Visual Studio, go to
Tools -> Options -> CMake, and make sure one of the options to use CMake presets is set. - Run the following in cmd:
git clone --recurse-submodules https://github.com/OutOfBoundsOffice/SourcePauseTool.git - To open the project in Visual Studio, do one of:
- from Visual Studio, click
File -> Open -> Folderand open SourcePauseTool - from Visual Studio, click
File -> Open -> CMakeand open SourcePauseTool/CMakeLists.txt - from within the SourcePauseTool folder, right click -> 'Open with Visual Studio'
- from Visual Studio, click
- Choose the build configuration:
SDK Configuration Source SDK 2007 / New Engine / Source Unpack / Orange Box ReleaseSource SDK 2013 / SteamPipe / Latest Release 2013Black Mesa Release BMSSource SDK 2006 / Old Engine Release OE - Click
Build > Build Solution.spt*.dllwill be inSourcePauseTool/build/Debug|Release
If you get a warning about pwsh.exe not being a recognized command, you can safely ignore it, or install from here.
To build without Visual Studio, cd in to the directory and run:
cmake --preset base-x86
cmake --build --preset "ALL (Debug)"
.srctas is the SPT TAS script format. You can find its documentation here.
See the contributing guide here.