BunnymodXT

Speedrun and TAS tool for Half-Life & friends.

OTHER License

Stars
200
Committers
21

Bot releases are hidden (Show)

BunnymodXT - Jul 23 2023 Latest Release

Published by YaLTeR over 1 year ago

General Improvements

TAS Support Improvements

  • Added necessary hooks for the bxt-rs TAS editor 2 to work by @YaLTeR
  • Mouse sensitivity is now set to 0 for TAS playback, and automatically restored afterwards by @YaLTeR
  • Added render_yaw_override HLTAS line to fake the camera yaw angles without affecting the movement by @YaLTeR
  • Added constant turn rate (s40, s41) strafe type by @khanghugo. The yaw field sets the turn rate
  • Made fast (+alt1) freecam twice as fast by @YaLTeR
  • Fixed a crash on quit and restart by @YaLTeR
  • Fixed clearing some TAS playback state on .hltas reset line by @YaLTeR
  • Changed bxt_tas_new to put initial commands into load_command by @YaLTeR
  • Added bxt_tas_editor_show_from_last_frames by @khanghugo in https://github.com/YaLTeR/BunnymodXT/pull/442
  • Increased TAS script buffer to 4MiB to reduce freezes when working on large scripts in the TAS editor by @khanghugo in https://github.com/YaLTeR/BunnymodXT/pull/441

New Contributors

Full Changelog: https://github.com/YaLTeR/BunnymodXT/compare/jan-16-2023...jul-23-2023

BunnymodXT - Aug 7 2021

Published by YaLTeR about 3 years ago

General improvements:

  • Fixed bxt_timer_autostop on Linux for games that stop based on a multi_manager (thanks @chinese-soup).
  • Added bxt_show_displacer_earth_targets for displaying Opposing Force displacer's earth target entities (thanks @hobokenn).
  • Made the bxt_timer_autostop cvar always available rather than gated on the presence of Half-Life-specific game end functions (thanks @SmileyAG).
  • Added autostop for Counter-Strike: Condition Zero Deleted Scenes (thanks @SmileyAG).
  • Added autostop for Wanted!, Crowbar of Time, HZC2 and The Xeno Project (thanks @hobokenn).
  • Added bxt_ch_set_angles (thanks @chinese-soup).
  • Added bxt_disable_changelevel (thanks @SmileyAG).
  • Added bxt_triggers_color (thanks @SmileyAG).
  • Fixed a crash when changing the value of bxt_bhopcap (thanks @hobokenn).
  • Fixed a crash upon loading a map that was common to mods (thanks @hobokenn).
  • bxt_disable_autosave should now work with most mods (thanks @hobokenn).
  • Added _bxt_interprocess_stop to manually stop LiveSplit integration, useful for timing strats or running IL's, use it in conjunction with _bxt_interprocess_reset (thanks @hobokenn).
  • Added sv.max_edicts value saving to demos (thanks @hobokenn).

TAS support improvements:

  • Added mouse4 dragging in the TAS editor which changes the angle of all connected segments at once (thanks @Eddio0141).
  • Added hlstrafe_version 4 which fixes camera yaw switching between two adjacent values when using exact angle constraints.
BunnymodXT - Jan 11 2021

Published by YaLTeR almost 4 years ago

General improvements:

  • Added bxt_autojump support for Paranoia (thanks @mxpph).
  • Added bxt_bhopcap support for Counter-Strike: Condition Zero Deleted Scenes (thanks @Godlikehobbit) and for Nuclear Winter and Ground Zero (thanks @mxpph).
  • Added bxt_show_pickup_bbox which shows item and weapon pickup bounding boxes (thanks @Matherunner).
  • Added sequence and frame to the Nihilanth HUD element (thanks @Matherunner).
  • Added autostop for Opposing Force boot camp (thanks @hobokenn).
  • Added bxt_disable_autosave (thanks @mxpph).
  • Updated several patterns to work for the 3248 engine (thanks @hobokenn).
  • Added SV_AddLinksToPM_ patterns for 4554 and NGHL (thanks @hobokenn).
  • Added a lot of patterns for TWHL Tower 2 (thanks @Matherunner).
  • Fixed incorrect entity info HUD element position (thanks @SmileyAG).
  • The bxt_bhopcap cvar is now registered when the engine is loaded (as opposed to when the server is loaded) which means it can be set from the main menu and bxt_tas_new will pick it up.
  • Loaded modules are no longer stored to demos.
  • All cvar values are now stored to demos rather than select few (testing showed no performance issues).

TAS support improvements:

  • Comments are no longer duplicated on bxt_tas_editor_insert_point (this was especially annoying with bxt_tas_new).
  • Increased bxt_tas_new initial segment length to 1 second.
  • bxt_tas_new now automatically stores custom bxt_bhopcap and sv_maxspeed values and a BXT timer reset into the script.
  • TAS editor commands added by bxt_tas_new now include stop;bxt_timer_stop.
  • Added bxt_tas_editor_set_commands to set commands on a segment.
  • Segment commands are now shown on the TAS editor status HUD element.
BunnymodXT - Aug 1 2020

Published by YaLTeR about 4 years ago

Fixed a few crashes with different HUDs being enabled while playing back demos (usable entities, etc.).

TASing-related changes:

  • Added hlstrafe_version 3 which fixes a serious bug with vectorial strafing. Use this new version instead of 2. Version 2 does not actually strafe under certain conditions.
  • Fixed crashes on Windows Half-Life builds related to vectorial strafing.
  • Added fast and slow adjustment in the TAS editor while holding +alt1 and +duck respectively (for mouse dragging).
  • Added +bxt_tas_editor_look_around to look around in the editor. It is +bxt_tas_editor_append without append.
  • TAS editor no longer saves the TAS on bxt_tas_loadscript. It's now possible to edit the .hltas file externally, save it and run the TAS right away without having to disable the TAS editor first.
  • Removed slowdown when the game is unfocused (currently Linux-only).
  • bxt_tas_new now prints the correct FPS value in its message.
BunnymodXT - Jun 21 2020

Published by YaLTeR over 4 years ago

  • Added timer autostop for the following mods (thanks @mxpph and @TheSmiley47):

    • Big Lolly
    • HTC
    • Construction
    • The Gloom
    • Echoes
    • Minimicus
    • Before
    • Plague
    • Timeline 2
    • Uplink
    • Visitors
  • Moved the TAS editor append mode to +bxt_tas_editor_append. Now bxt_tas_editor can be set only to 0 or 1. Additionally, the right click action of append mode was moved to the left click, with the left click action removed.

    Bind +bxt_tas_editor_append to a key near WASD and use it as the "hold to fly around while in the editor" key.

  • Added middle mouse (wheel) drag action to the TAS editor which is similar to the left button drag action, but also adjusts the length of the following frame bulk to make the total length stay the same.

  • Made target_yaw fast when zero tolerance is used (+-0) and made tolerance optional (zero is assumed).

    This is what you should use pretty much everywhere; where you would write e.g. target_yaw 270 +-0.1 you should now write just target_yaw 270, etc.

  • Added target_yaw velocity_lock which follows the velocity angle and locks to the target strafing angle. It is a better version of target_yaw velocity_avg which does not shake the camera at all, not even a tiny amount.

    Once again, this is what you want to use by default starting from this release as it's better than the other options.

  • Made target_yaw velocity_lock the default in bxt_tas_new.

  • Added duck before collision including ceilings display to the TAS editor status HUD element.

  • Added bxt_tas_editor_toggle dbcceilings.

  • Added bxt_tas_export_libtas_input (experimental, worked for a number of TASes and didn't work properly on a single TAS).

  • Fixed TAS editor mouse support on Fedora 32.

BunnymodXT - Mar 21 2020

Published by YaLTeR over 4 years ago

  • Added +bxt_triggers_place, a visual drag-and-drop way to create custom triggers. Thanks @Marckvdv!
  • Added pitch and yaw to bxt_hud_tas_editor_status. Thanks @Eddio0141!
  • Added bxt_print_entities and bxt_hud_entities. Useful for checking the entity order for the 4 FPS trick.
  • Changed bxt_hud_entity_hp to bxt_hud_entity_info and made it additionally display the entity index, classname and targetname.
  • Fixed some HUDs not working with freecam correctly.
  • Made _bxt_norefresh 1 considerably faster.
  • This release's Linux .so should work on older distributions such as Ubuntu 16.04.

Note: due to a mistake, the mar-21-2020 tag points 1 commit earlier than this release. I made a mar-21-2020-real tag which points at the correct commit. I didn't bother rebuilding the binaries so the version string says mar-21-2020-1 and not mar-21-2020-real-0.

BunnymodXT - Jan 30 2020

Published by YaLTeR over 4 years ago

Non-TASing-related changes:

  • Fixed the distortion in the collision depth map. Thanks @Marckvdv!
  • Added the bxt_collision_depth_map_pixel_scale console variable, which allows rendering the collision depth map at a lower resolution than the game's resolution. It's set to a good value by default, so you can safely view the collision depth map at your regular resolution. Thanks @Marckvdv!
  • Added the bxt_collision_depth_map_remove_distance_limit console variable to remove the tracing distance limit, so far away entities are still shown on the collision depth map. Enabled by default.

This release features a number of improvements to the TAS editor and TAS support in general.

  • Improved the TAS editor FPS by making the TAS editor simulation incremental: it simulates a little bit every frame so as to not kill the FPS too much. Can be controlled with the new bxt_tas_editor_simulate_for_ms console variable.
  • Improved the performance of left-dragging points in edit mode by making it not re-simulate unnecessary parts of the input.
  • Added a new .hltas line to smoothly change the player's angle over a period of time:
    change yaw to 90 over 1 s
    change pitch to 0 over 0.5 s
    change target_yaw to 23.5 over 2.3 s
    
  • Added bxt_hud_tas_editor_status which shows the properties of the currently selected point in edit mode. Thanks @Eddio0141!
  • Added bxt_tas_editor_set_yaw/pitch/repeats and bxt_tas_editor_unset_yaw/pitch.
  • Added bxt_tas_playback_speed which controls the TAS playback speed. It's set to 1 by default, which means that the TASes will play back in real-time (or slower). Set to 0.5 for example to make the TASes play back 2 times slower. Set to 0 to play back as fast as possible.
  • Added bxt_tas_write_log which automatically writes the bxt_taslog of the TAS.
  • Changed bxt_taslog to accept an argument (0 or 1) rather than being a toggle.
  • Freecam is now enabled automatically when enabling the TAS editor.
  • host_framerate and _bxt_min_frametime are now automatically reset when TAS playback ends.
  • Improved the prediction accuracy, which reduces the TAS editor desyncs.
  • Removed bxt_tas_editor_append_frames in favor of automatic selection.
  • Fixed freecam speed on unstable FPS.
  • Fixed deleting the last frame bulk in edit mode.
  • Fixed bxt_tas_editor_toggle s22 toggling s23.
BunnymodXT - Jan 4 2020

Published by YaLTeR almost 5 years ago

A new big release featuring the in-game TAS editor! Watch the TAS editor introduction here: https://youtu.be/NQ7n9TE1t3o.

  • Added support for latest Steam (build 8308).
  • Dropped Windows XP support.
  • Temporarily removed support for Linux Blue Shift autostop (#63).
  • Added bxt_tas_split <filename>, which creates a save and splits the TAS at the point of the command for making a soft-segment: you can join the two resulting scripts into one later.
  • Added bxt_freecam <0|1> for a free-cam mode, which is like noclip, but only the camera is moved and not the player. Most useful while the game is paused.
  • Added a bxt_tas_norefresh_until_last_frames cvar which automates toggling _bxt_norefresh during TAS execution, instead of manually setting _bxt_norefresh 1 and 0 in the TAS script.
  • Added bxt_tas_new for creating new TAS scripts.
  • Added vectorial strafing support for TASes.
  • Added a hlstrafe_version hltas property.

TAS editor stuff, showcased in the video linked above:

  • bxt_tas_editor
  • bxt_tas_editor_toggle
  • bxt_tas_editor_insert_point
  • bxt_tas_editor_delete_point
  • bxt_tas_editor_delete_last_point
  • bxt_tas_editor_save
  • bxt_tas_editor_set_run_point_and_save
  • bxt_tas_editor_append_frames
BunnymodXT - Mar 27 2019

Published by YaLTeR over 5 years ago

  • Fixed bxt_wallhack in Opposing Force build 1600 (thanks @quantumdude836).
  • Fixed compatibility with the March Steam Half-Life updates (thanks @Matherunner).
BunnymodXT - Sep 23 2018

Published by YaLTeR about 6 years ago

  • Added +bxt_tas_jumpbug for automatic jumpbugs (thanks @arianon).
  • Added bxt_hud_nihilanth for displaying various information about Nihilanth's state (thanks @Matherunner).
  • Added bxt_hud_health for displaying the true (not trimmed to 255) health value (thanks @philippTheCat).
  • Added bxt_wallhack, bxt_wallhack_additive, bxt_wallhack_alpha, bxt_novis (thanks @Matherunner).
  • Added bxt_collision_depth_map, bxt_collision_depth_map_hull, bxt_collision_depth_map_max_depth, bxt_collision_depth_map_colors for an extremely slow and somewhat skewed way of viewing the collision data.
  • Added some Decay support (mainly bxt_autostop) (thanks @Shigbeard).
  • Added bxt_tas_exportscript: converts a .hltas to an "exported" version without any autofuncs (strafing, autojump, etc. are replaced with raw button presses).
  • Made bxt_fade_remove work on 4554 (thanks @Matherunner).
  • Made bxt_bhopcap work on HL: Echoes (thanks @Matherunner).
  • Changed bxt_show_triggers to draw triggers on the client side, this way they don't get saved in demos. The old implementation is now accessible via bxt_show_triggers_legacy (thanks @Matherunner).
  • Fixed a couple of Linux crashes.
  • Fixed compiling with GCC.
BunnymodXT - Aug 11 2017

Published by YaLTeR about 7 years ago

Fixed compatibility with NGHL.

BunnymodXT - Aug 1 2017

Published by YaLTeR about 7 years ago

  • Added timer autostop to They Hunger episodes 1, 2 and 3.
  • Fixed HL1 game end marker not being written into demos on Linux.
BunnymodXT - May 31 2017

Published by YaLTeR over 7 years ago

Hotfix release to fix bxt_autorecord not working after a changelevel.

BunnymodXT - May 30 2017

Published by YaLTeR over 7 years ago

  • Added bxt_stop_demo_on_changelevel which, well, stops demos on changelevels. This is useful in combination with bxt_autorecord for older WON engines that can’t record demos past changelevels properly.
  • Added an incorrect FPS indicator which will tell you when you're using 99.5 FPS instead of 100 or vice versa. It can be disabled with bxt_hud_incorrect_fps_indicator.
  • Added custom clientside triggers (bxt_triggers_* commands). They are useful for segmented speedruns to allow for accurate comparison (everyone has the same segment stopping point).
  • Added functionality for storing runtime data in demos as they are recorded. This data includes things like accurate in-game time, which means that demo tools will finally be able to get accurate time from demos. It’ll also eventually allow mostly accurate BXT timer when playing back demos. This can be disabled with _bxt_save_runtime_data_in_demos.
BunnymodXT - May 6 2017

Published by YaLTeR over 7 years ago

Hotfix release to restore 4554 (Goldsrc Package 2) compatibility.

BunnymodXT - May 5 2017

Published by YaLTeR over 7 years ago

  • Fixed bxt_cam_offset behaviour when the game is paused.
  • Added bxt_append. Works the same as append in OpenAG, can be used for looping scripts. How it works: imagine that special is actually an alias for bxt_append _special.
  • Made _bxt_reset_frametime_reminder work on Linux.
  • Made BXT compatible with more WON builds.
BunnymodXT - Sep 4 2016

Published by YaLTeR about 8 years ago

  • Added bxt_autorecord for automatic demo recording after loads. Replace bxt_record in your run starting bind with bxt_autorecord and it should work.
  • Added commands for setting the position and velocity: bxt_ch_set_pos, bxt_ch_set_pos_offset, bxt_ch_set_vel, bxt_ch_set_vel_angles.
  • Added showing the useable entities in-game, both all useable entities within the useable range, and the current entity that will be activated on +use: bxt_hud_useables, bxt_hud_useables_radius.
  • Added commands for offsetting / repositioning the player's view: bxt_cam_fixed, bxt_cam_offset, bxt_cam_clear.
  • Added displaying the NPC nodes in-game, toggled with the bxt_show_nodes console variable.
  • Fixed the patterns a little to not crash on the TWHL Tower mod (and possibly other Spirit-based mods).
BunnymodXT - Jun 8 2016

Published by YaLTeR over 8 years ago

  • Dropped a couple of unneeded dependencies which reduced the DLL size.
  • This build supports Windows XP.
BunnymodXT - Jun 7 2016

Published by YaLTeR over 8 years ago

  • Autosplitting now works on NGHL.
  • Linking the runtime statically again, BXT should not require any redistributables from now on.
  • Kind of remade some pattern searching stuff, should work more reliably.
  • Fixed and added some patterns.
BunnymodXT - Feb 13 2016

Published by YaLTeR over 8 years ago

  • Fixed engine hooks not working on older Half-Life engines (WON, NGHL).
  • Fixed a crash in Sven Co-op. Not much support there though.
  • Minor fixes.