SourcePauseTool

This was once just a plugin to prevent game unpausing.

OTHER License

Stars
86
SourcePauseTool - 10-2024

Published by lipsanen 27 days ago

Month fact: Airbags in cars sold in Europe are generally smaller and inflate less forcefully than US airbags. This is because European safety ratings are based on belted crash test dummies, whereas US regulations are based on unbelted crash test dummies.

A bunch of stuff added to spt_gui (by @UncraftedName):

  • more HUD features (text HUD, IHUD, JHUD)
  • quality of life and cheat features
  • misc drawing stuff (oob entities, seamshot stuff, leaf vis)

Bug fixes:

  • Fix some memory leaks in spt_gui (by @UncraftedName)
  • Fix spurious crash in Portal 3420 (by @lipsanen)
  • Fix BMS crashing on plugin load (by @lipsanen)
  • Fix BMS TAS playback (by @lipsanen)
SourcePauseTool - 9-2024 Latest Release

Published by lipsanen about 2 months ago

Month fact:
The Bedouin wear black robes in hot deserts. These black robes are not hotter to wear than white robes, because they are worn loose and additional heat absorbed by the black robe is lost before it reaches the skin.

Changes:

  • Added spt_gui! A very nice GUI that can be used instead of console variables to use some SPT features. Might be still slightly unstable (by @UncraftedName)
  • A bug fix to spt gui (by @evanlin96069)
  • Fix spt_cam_control locking mouse (by @evanlin96069)
  • Fix HL2 steampipe crash (by @evanlin96069)
  • Fix cvar backwards compat sometimes crashing the game when loading the plugin (by @lipsanen)
SourcePauseTool - 04-2024

Published by lipsanen 6 months ago

Month fact

A swamp rabbit attacked U.S. president Jimmy Carter's fishing boat on April 20, 1979. The rabbit was hissing menacingly, its teeth flashing and nostrils flared, which prompted mr. president to attack with it using a paddle. The president was unharmed but the fate of the rabbit is unknown. However we can deduce that the rabbit has died, since the lifespan of swamp rabbits is at most 9 years which is less than the 45 years that have passed since the incident.

Changes

  • Added spt_noclip_persist: makes the player indefinitely float at the speed and in the direction of movement before entering noclip. Potentially useful for voidclip routing. (by @thisis2838)
  • Rewrote spt_saveload's description to be more detailed with examples and clearer explanations. (by @thisis2838)
  • Fixed a bug where DoImageSpaceMotionBlur's pgpGlobals was enumerated in LoadFeature through an offset from ORIG pointers, which no longer point to the original functions but rather the trampoline ones. (by @thisis2838)
  • Fixed GameMovement interface for Black Mesa. (by @thisis2838)
  • Fixed false positive for DrawInternal's pattern 7467727-hl2 matching in Entropy Zero 2 (first release build). This led to crashes particularly when alt-firing. (by @thisis2838)
  • Added spt_viewmodel_offset_x/spt_viewmodel_offset_y/spt_viewmodel_offset_z - (by @evanlin96069)
  • Isg pattern added for black mesa (by @tmob03)
  • Hardlocking prevention expanded from just black mesa to other games, and instead of preventing BroadcastMessage entirely, just prevents the specific Host_Error call inside of it (by @tmob03)
  • Default fastloading to 0 in all dlls, change it to restore old fps_max value by default (by @tmob03)
  • spt_drawline - Draws line between two 3D Points. (by @evanlin96069)
  • Fix off-by-one error in pp grid (by @evanlin96069)
  • Make spt_draw_world_collides update during tas_pause (by @evanlin96069)
SourcePauseTool - 12-2023

Published by lipsanen 11 months ago

Month fact: Cauliflower, broccoli, brussels sprout, kale, red cabbage, cone cabbage, cabbage, wild cabbage and many other cultivars are of the same plant species Brassica oleracea despite looking completely different from each other.

Additions:

  • Entity oob detection (by @UncraftedName)
    • spt_hud_oob_ents
    • spt_draw_oob_ents
    • spt_print_oob_ents
  • spt_touch_grass - gently reminds you of the wonders of the world outside by crashing the game (by @UncraftedName)
  • SPT now checks and refuses to load if the wrong SDK version is detected, which would have resulted in a game crash before (by @evanlin96069)
SourcePauseTool - 10-2023

Published by lipsanen about 1 year ago

Month fact: The 2nd amendment in the US constitution states that its citizens have the right to bear arms. This wording is ambiguous and confusing because bears do not in fact have arms, but four legs instead.

This update fixes steampipe autocompletion (@evanlin96069).

SourcePauseTool - 09-2023

Published by lipsanen about 1 year ago

Month fact: In the event of a polar bear attack on Antarctica, penguins would have a better chance of fighting the bears if they were trained and equipped with Uzi submachine guns and jetpacks.

Additions:

  • spt_con_notify - Draws console output to the top left of the screen similar to developer 1 (@thisis2838)
  • spt_on_portalled_pause_for - Whenever a player portalled, pause for this many ticks (@evanlin96069)
  • spt_noclip_noslowfly - Fixes noclip slowfly by setting surface friction to 1.0 on every tick (@evanlin96069)
SourcePauseTool - 08-2023

Published by lipsanen about 1 year ago

Month fact:
MS-DOS was released on the 12th of August 1981 for x86 processors. The method of installing updates onto the system was to reinstall the OS, which was delivered as a set of floppy disks.

Bugs fixed in this release:

  • Mesh rendering bugs (@UncraftedName)
  • Fixed spt_ihud_modify angles element not found (@evanlin96069)
  • Fixed 3740 CreateMove cmd offset (@evanlin96069)
  • Fixed Portal 3420 crash with spt_hud_edgebug (@evanlin96069)
SourcePauseTool - 06-2023

Published by lipsanen over 1 year ago

Month fact: Spaghettification is the vertical stretching and horizontal compression of objects into long thin shapes in a strong gravitational field, such as the gravitational field near a black hole. Should you find yourself getting spaghettified, your head will get ripped apart from your body.

HUD Groups:
Users can add and modify HUD groups. Each group can have its own HUD elements, position, font, and text color.
Old-style HUD will still be there so everything can still work in the same way.

  • spt_hud: When set to 1, displays SPT HUD (old-style HUD). (@evanlin96069)
  • spt_hud_position: Turns on the position hud. (@evanlin96069)
  • spt_hud_angles: Turns on the angles hud with more precision. (@evanlin96069)
  • spt_hud_group: Modifies parameters in a given HUD group. (@evanlin96069)
    • HUD element:
      spt_hud_group <group name|all> add <HUD element> [args]
      spt_hud_group <group name|all> remove <index>
      spt_hud_group <group name|all> edit <index> <HUD element> [args]
    • Display:
      spt_hud_group <group name|all> <show|hide|toggle>
    • Attributes:
      spt_hud_group <group name|all> <x|y|pos|font|textcolor|background> [value]
  • spt_hud_group_add: spt_hud_group_add <group name> (@evanlin96069)
  • spt_hud_group_remove: spt_hud_group_remove <group name|all> (@evanlin96069)

Other additions:

  • spt_draw_map_overlay: Draws brushes from other maps, can be used for finding traveling portal wrong warp setups (@evanlin96069)
  • spt_draw_world_collides & spt_draw_world_collides_mask (hidden): Draws the piece of the world that the player is looking at, can be used for finding seamshots (@UncraftedName)
  • spt_draw_ent_collides: Draws (almost) all entity collides, can be used for finding some client/server/vphysics desyncs (@UncraftedName)
  • spt_unload: Unloads SPT (alternative to plugin_unload <index>) (@UncraftedName)
  • spt_prevent_snapshot_overflow: Prevents the snapshot overflow crash in Portal 3420 (@UncraftedName)

Fixes/Improvements:

  • Add autocomplete function for spt_ihud_modify. (@evanlin96069)
  • Change HUD callback sort keys to match command names. (@evanlin96069)
  • spt_hud_flags_filter now only accept 1 argument. (So spt_hud_flags_filter onground ducking will become spt_hud_flags_filter "onground ducking") (@evanlin96069)
  • Disable spt_ihud in BMS (crash). (@evanlin96069)
  • Datamap fields are now sorted by offset in spt_datamap_walk (@UncraftedName )
  • Added optional path argument to spt_reload (@UncraftedName )
  • Fix spt_saveloads (@evanlin96069)
SourcePauseTool - 04-2023

Published by lipsanen over 1 year ago

Month fact: Mämmi is a traditional Easter food in Finland. The appearance of the dish closely resembles human diarrhea.

Changes:

  • All commands now start with spt_ (by @SirWillian). The old names for the commands still work (except not in toggles) and TAS scripts should be backwards compatible. Examples of the change:
    • _y_spt_overlay => spt_overlay
    • y_spt_pause => spt_pause
    • tas_strafe => spt_tas_strafe
  • Autocomplete disabled in BMS because it was buggy (by @thekovic)
SourcePauseTool - 03-2023

Published by lipsanen over 1 year ago

Month fact:
Saaranpaskantamasaari is a small unhabited island in northeastern Finland. The name in Finnish means "an island shat by Saara".

Additions:

  • y_spt_hud_flags_filter: Sets the filter for y_spt_hud_flags (@evanlin96069)
    • For example, y_spt_hud_flags_filter onground ducking will only show FL_ONGROUND and FL_DUCKING
      y_spt_hud_flags_filter with no argument resets the filter and prints all flags.
  • y_spt_cam_control 3: Entity drive mode. Sets the camera position to an entity (@evanlin96069)
  • y_spt_cam_drive_ent: Sets the drive entity index with relative position and angle offsets (@evanlin96069)
  • y_spt_cam_drive_speed: Speed for moving in camera drive mode (@evanlin96069)
  • y_spt_cam_path_interp: More interpolation type (@evanlin96069)
  • y_spt_cam_path_setkf, y_spt_cam_path_rmkf, and y_spt_cam_path_clear can now be use when not playing demo (@evanlin96069)

Other changes:

  • Fix crash for Portal 7122284 related to mesh sorting (@UncraftedName)
  • Fixed y_spt_record not working (@evanlin96069)
  • Fix incorrect time offset when playing cinematic mode (@evanlin96069)
  • Better looking interpolation path render (@evanlin96069)
  • Allow playing back TAS while in cinematic mode (@evanlin96069)
SourcePauseTool - 02-2023

Published by lipsanen over 1 year ago

Month fact:
February is the National Bird-Feeding Month in the United States. Feeding birds is useful because without food the birds die.

Additions:

  • _y_spt_afterticks which is a host_tickcount-based _y_spt_afterframes alternative (by @thisis2838)
  • y_spt_saveloads which does automated save/loading (by @thisis2838)
  • y_spt_noclip_nofix which disables position fixing when disabling noclip (by @thisis2838)
  • y_spt_portal_no_ground_snap which disables an extra check in CategorizePosition that causes sticky noclip (by @thisis2838)
  • y_spt_free_oob_movement which adds free OOB movement (by @thisis2838)
  • y_spt_draw_pp_grid - The portal placement grid (by @UncraftedName)
  • y_spt_mousemove - A replacement for cl_mousemove in BMS (by @thisis2838)
  • y_spt_fastloads - Increases FPS and turns off rendering during loads to speed them up (by @tmob03)
  • y_spt_jhud_velocity - A Momentum Mod style velocity HUD (by @evanlin96069)

Improvements:

  • y_spt_draw_pp - now shows fizzle spots (by @UncraftedName)
  • Fix BMS hardlocking (by @tmob03)
  • Improve BMS version detecting (by @tmob03)

Support added:

  • HUD text support for BMS (by @thisis2838)
SourcePauseTool - 01-2023

Published by lipsanen almost 2 years ago

Month fact: It is difficult to believe that Albert Einstein was the 7th person to swim across the English Channel at the age of 38. Primarily because it is not true.

Additions:

  • y_spt_update - Updates your SPT to the latest version(!!!) (@evanlin96069 )
  • y_spt_draw_portal_env_ents now draws entities far away from the portal (@UncraftedName )
  • tas_aim_pos [ticks] - tas_aim at a position (@evanlin96069 )
  • tas_aim_ent [x y z] [ticks] - tas_aim at an entity (using entity index) with optional offsets. (@evanlin96069)
  • +y_spt_spam - spam a key (@evanlin96069)

Support added:

  • DMoMM TAS support (@evanlin96069)

Fixes:

  • Fix HUD crash in ez2 and potentially other games. (@evanlin96069)
SourcePauseTool - 12-2022

Published by lipsanen almost 2 years ago

Month fact: The Gävle Goat is a traditional Christmas display in central Gävle, Sweden. It is a giant goat figure made out of straw. Since its inception in 1966, the figure has been burned down or destroyed by other means in 39 out of the 55 years the tradition has existed.

Additions:

  • y_spt_hud_portal_placement - Show portal placement info (@evanlin96069)
  • y_spt_draw_pp - Draws portal placement info (@evanlin96069)
  • Roll is now correctly calculated in the SG overlay - old behavior of no roll can be enabled with _y_spt_overlay_no_roll 1 (@evanlin96069)
  • y_spt_leafvis_index - Choose which BSP leaf mat_leafvis will draw (@SirWillian)

Support added;

  • HUD/input HUD support for Steampipe HL2/Portal and OE (@evanlin96069)
  • Overlay/mesh rendering for Steampipe (@UncraftedName)
  • Flags HUD for Steampipe (@UncraftedName)
  • y_spt_hud_oob for Portal Steampipe (@UncraftedName)

Fixes:

  • Fixed crash in sg-collide-vis (@UncraftedName)
  • Fixed cam control during thirdperson mode (@UncraftedName)
  • Fixed player model being drawn in the overlay when using y_spt_cam_control (@evanlin96069)
  • Overlay now works during tas_pause 1 (@evanlin96069)
  • Numerous improvements for y_spt_draw_seams and y_spt_find_seamshot (@evanlin96069)
    • More accurate eye position
    • Works during tas_pause 1
    • Fixed crash during demo playback
    • Support added for 3420/5135/steampipe
    • Fixed incorrect y_spt_draw_seams behavior when y_spt_cam_control was enabled
    • Checks if the player moves between setting y_spt_find_seamshot
  • Mesh drawing optimized, frustum culling added (@UncraftedName)
  • TAS strafing bug fixed where regular angle adjusting and setyaw could clash (@lipsanen)
  • y_spt_find_portals now prints "No portals!" when no portals are found, previously printed nothing (@UncraftedName)

Removed:

  • y_spt_calc_relative_position, this feature was largely obsoleted by the overlay (@UncraftedName)
SourcePauseTool - 11-2022

Published by lipsanen almost 2 years ago

Month fact: November comes after October

Additions:

  • y_spt_release_mutex, releases the hl2 mutex allowing multiple games to be open (@evanlin96069)
  • y_spt_set_collision_group, useful for setting quickclip state (@SmileyAG and @thisis2838)

Support added:

  • y_spt_set_isg in many games, including HL2 and DMoMM (@SmileyAG)
  • y_spt_autojump in Estranged Act 1 and Entropy Zero 1/2 (@SmileyAG)
  • y_spt_set_shadow_roll in BMS 0.91 (@tmob03)

Misc:

  • tas_script_load help text improved (@evanlin96069)
  • Estranged Act 1 crash fixed (@SmileyAG)
  • Improved autocompletion for load, exec and playdemo (@evanlin96069)
  • Added autocomplete for tas_script_search (@evanlin96069)
SourcePauseTool - 10-2022

Published by lipsanen about 2 years ago

Month fact: The October Revolution took place on the 7th of November 1917. It is called the October Revolution because Russia was using the Julian Calendar at the time (for which it was Oct 25th).

Additions:

  • Added an internal rendering system (@UncraftedName):
    • y_spt_draw_portal_env and co. are a bit faster
    • y_spt_draw_vag_trace and co. are a bit faster and have more features that allow you to move the entry portal around
    • cvars for development: y_spt_draw_overlay_examples & y_spt_draw_overlay_debug
  • Added double quote command autocomplete (@evanlin96069)
  • y_spt_hud_edgebug - HUD thing for detecting edgebugs (@lipsanen)

Fixes:

  • Fixed Portal 3420 tas_pause crash (@evanlin96069)
  • Fixed file command autocomplete crash when entering not existing directory (@evanlin96069)
  • EP1 OE and DMoMM crashes (@SmileyAG)
  • BMS mod version crash (@lipsanen)
  • SDK2013 mod crash (@SmileyAG)

Support added:

  • Added _y_spt_force_fov for Source Unpack and steampipe Portal (@evanlin96069)
  • TAS strafe support for HL1 movement (@SmileyAG)
SourcePauseTool - 08-2022

Published by lipsanen about 2 years ago

Month fact: August's birth flower is the gladiolus or poppy, meaning beauty, strength of character, love, marriage and family.

New stuff:

  • y_spt_aircontrol (Portal only) - Enables different types of movement mechanics such as HL2DM, ABH, OE (@evanlin96069)
  • y_spt_camcontrol 2 - Cinematic mode, kinda like the demo smoothing feature in the game except better (@evanlin96069)
  • y_spt_cam_setpos/setang - Sets camera position/angles in drive mode via a console command (@evanlin96069)
  • y_spt_dev_cvars - Prints all developer/hidden CVars (@evanlin96069)
  • y_spt_demo_block_cmd - Stop all commands from being run by demo playback. (@evanlin96069)
  • y_spt_hud_shadow_info - Displays player shadow position and angles (@UncraftedName)
  • y_spt_ihud_add_key - Add custom key to ihud (@evanlin96069)
  • y_spt_set_ivp_seed_on_load - Seeding the IVP/Havok rng on load for TAS stuff (@UncraftedName)
  • y_spt_set_shadow_roll - Sets the player's physics shadow roll in degrees (@UncraftedName)

Support added:

  • y_spt_jumpboost for steampipe (@evanlin96069)
  • TAS support for Portal 3420 (@evanlin96069)

Fixes:

  • Ghosting crash (@lipsanen)
  • y_spt_additional_jumpboost (@thisis2838 and @evanlin96069)
  • Binary size reduced (@UncraftedName)
SourcePauseTool - 07-2022

Published by lipsanen over 2 years ago

New features:

  • y_spt_record/y_spt_record_stop - Console commands for auto recording (@lipsanen)
  • y_spt_hud_ljstats - Displays various longjump statistics on the HUD (@lipsanen)
  • tas_strafe_scale - Can be used to scale down movement inputs similar to a controller (@lipsanen)
  • tas_strafe_dir 4 - In this mode the player can TAS strafe using movement keys (@lipsanen)
  • y_spt_cam_dir/y_spt_cam_drive - Freecam mode (@evanlin96069)

Fixes:

  • Fixed bug with capped strafing which caused completely illegal behavior (ChrisUMB and @lipsanen)
  • Fixed stem folder name in command autocomplete (@evanlin96069)
  • Changed ihud x y offset from screen pixel to percentage (@evanlin96069)
  • Fix ISG pattern on new steampipe and change help text (@UncraftedName)
  • Bump SDK versions (@Margen67)
  • Fixed latest steam portal/hl2 crash (@evanlin96069 and @lipsanen)
SourcePauseTool - 06-2022

Published by lipsanen over 2 years ago

Misc stuff:

  • Recent HL2/Portal update broke most patterns for SPT. This has not been fixed.
  • Portal 2 support dropped.

New features/commands:

  • tas_aim - more advanced command for aiming in TASes (@lipsanen)
  • y_spt_disable_shake - Disables shaking (@SmileyAG)
  • y_spt_disable_tone_map_reset - Disables HDR resetting in between loads (@UncraftedName)
  • y_spt_drawseams - visualization command for seamshots (@lipsanen)
  • y_spt_draw_portal_env and friends - Save glitch collision visualization (@UncraftedName)
  • y_spt_ihud and friends - Input HUD (@evanlin96069)
  • y_spt_hud_isg - Displays ISG state on the hud (@UncraftedName)
  • y_spt_override_tpose - Override t-pose animation (@UncraftedName)
  • y_spt_prevent_vag_crash - Prevents VAG crashes (@UncraftedName)
  • y_spt_set_isg - Sets ISG state (@UncraftedName)
  • y_spt_vag_search - For doing a VAG search for a portal (@evanlin96069)
  • y_spt_vag_trace/y_spt_vag_target - Visualization tools for VAG (@evanlin96069)

Improvements:

  • y_spt_find_portals - Now also prints whether or not the portal is open, closed or invisible (@UncraftedName)
  • _y_spt_overlay - Added havok mirror overlay (@SmileyAG) and no-transform overlay (@UncraftedName)
  • _y_spt_force_fov - Renamed from _y_spt_force_90fov, now can specify the FOV. Old engine only. (@Margen67)
  • Added autocomplete for tas_script_load and y_spt_ihud_preset (@evanlin96069)
  • tas_pause is automatically disabled on load to prevent freezing (@evanlin96069)
  • Fixed bug that altered portal shot behavior whenever spt was loaded (@lipsanen)
  • Fixed some fizzler bugs with the SG overlay (@lipsanen)

Bug fixes:

  • Fixed TAS demo recording overwriting demos in some cases (@SirWillian)
  • Fixed overlay aspect ratio not adapting to game screen (@SirWillian)
  • Prevented double plugin load (@lipsanen)
  • HLS TAS strafing (@lipsanen)

Support added:

  • _y_spt_afterframes for HL1 movement (@SmileyAG)
  • y_spt_autojump for Transmissions: Element 120, ICE modfication and build 7097097 (@SmileyAG)
  • y_spt_disable_fade support for 4104/5135 (@SmileyAG)
  • BMS TAS strafing (@lipsanen)
SourcePauseTool - Sep 18 2020

Published by YaLTeR about 4 years ago

The changes in this release are by @Jukspa, @UncraftedName and @SirWillian.

New console variables:

  • y_spt_piwsave: y_spt_stucksave equivalent for props going inside a wall.
  • y_spt_focus_nosleep: improves FPS while alt-tabbed.

You can now programmatically connect to SPT via a TCP socket on port (default is 27182) from another program. For further details ask @Jukspa.

Misc:

  • Fixed y_spt_hud_oob getting broken by tracing changes on previous release.
  • Fixed HLS TAS strafing.
  • Fixed capped strafing issue in the air for Portal.
  • Fixed help text in tas_strafe_type.
  • Fixed yaw snapping incorrectly sometimes in TAS strafing (thanks @UncraftedName).
  • Changed y_spt_cvar_random to use the standard library RNG.
  • y_spt_hud_oob now works in demos and uses the camera position of the player (thanks @SirWillian).
  • Overlay camera and y_spt_hud_oob now work in Portal build 3420 (thanks @SirWillian).
  • Added portal_bubble condition (thanks @UncraftedName).
SourcePauseTool - May 2 2020

Published by YaLTeR over 4 years ago

The changes in this release are by @Jukspa.

  • Fixed first tick crashes with conditions in TAS scripts.
  • Improved tracing for ground detection.
  • Fixed BMS retail for the current beta patch: SPT will continue to support this specific version of BMS retail for the foreseeable future.
  • Changed the default value of y_spt_pause from 1 to 0.

New console variables:

  • y_spt_disable_fade: when enabled disables all fades.
  • tas_strafe_afh: enables AFH for TASing.
  • tas_strafe_afh_length: the magnitude of the backwards movement input for AFH.
Badges
Extracted from project README
Actions Status