4 stories · 1 update

6 stories

Big x86-64 beta update: entity creation crash fixes, p2p_force_reliable, Srcds workshop IDs from a file

Commit 0e9ec4 on the x86-64 beta brings a large batch of fixes: several potential crashes around entity creation and search, a new p2p_force_reliable convar, loading Srcds workshop IDs from a file, fixed normals on many built-in models and new props.

Details
  • Disable panel drag'n'drop with mouse 3/4/5
  • Fixed hacked Rollermines ignoring Combine Hunters
  • Allow setting filters via Entity:SetSaveValue
  • Override whitelist gains info_player_teamspawn, info_vehicle_groundspawn and placeholder entities based on prop_dynamic/prop_physics
  • Various potential crash fixes when creating entities and around entity search
  • Bandaid fix for GetBoneTransform returning garbage (needs further investigation)
  • Added p2p_force_reliable (default 0); small packets now use k_EP2PSendUnreliable instead of k_EP2PSendUnreliableNoDelay
  • Different fix attempt for overlay layers resetting on server join
  • Feedback message for host_writeconfig_lua
  • Srcds can load workshop IDs from a file, alone or together with a collection; the cache moved from cfg/srcds_addons.txt to cache/srcds_addon_list_cache.txt
  • Removed the CExampleEffect screen space effect
  • No Lua errors when using prop_effect in the base gamemode
  • New UpdateScreenEffectTexture matproxy (forces _rt_FullFrameFB to update at the end of the frame), used for the PHX screen
  • Fixed SWEP:CustomAmmoDisplay causing UI overlaps; ammo HUD no longer spams animations
  • Fixed normals on more built-in models (CS:S and EP2 props, grenades, furniture)
  • Fallback CS:S hostage pain sounds (citizen sounds), for TTT and other addons
  • Panels think and clip while the main menu is open
  • lua_shared: fewer Bootil::BString usages (ILuaShared unchanged), less duplication calling Lua from C
  • Cargo container props recompiled to fix tangents, plus 3 new props; spawnlists and spawnicons updated (CS:GO map props rearranged, more L4D1 props)
  • gmod_tool no longer errors with addon tools in non-Sandbox gamemodes
  • Also includes the SourceTV/HLTV crash fix, vehicle regression fix, bone cache fixes, zombie double ragdoll fix and the spawnmenu/Infected/npc_alyx fixes from main

surface.DrawTexturedRectUV stops applying sub-pixel UV adjustment

Commit 6a75b6 on main makes surface.DrawTexturedRectUV ignore the "sub pixel adjustment" of UVs so its UV arguments work as expected; only the Lua binding is affected.

Details
  • Ignore UV adjustments in surface.DrawTexturedRectUV
  • Refined DImage subrect support and KeepAspect features
  • Removed a leftover debug panel from the Paint tool; its icons keep aspect
  • Minor cleanups

4 stories

DImage shader replacement improved; Paint tool UI gets previews

Commit 788529 on main improves the DImage shader replacement system and reworks the Paint tool UI to show previews.

Details
  • DImage: case-insensitive check for VertexLitGeneric, LightmappedGeneric now included, SubRect shader materials draw the correct part of the texture
  • Paint tool UI with previews

is3DSkybox fix, higher quality Eli Vance face, menu state loses unused libraries

Commit 693484 on main fixes is3DSkybox not resetting when returning from hooks, ships a higher quality Eli Vance face texture from the S1 repo and removes some unused libraries from the menu state.

Details
  • Fixed the "is3DSkybox" variable not resetting when returning from hooks
  • Fixed some missing textures on Half-Life 2: Episode 2 props
  • Workaround for Portal using the same texture names as Ep2
  • Removed some unused libs from the menu state
  • "Last map" saves use a delimiter that can't naturally occur in filenames
  • The network transfer folder blacklist is now a whitelist; .ain was removed from the extension whitelist
  • Try resolving a crash with the recent change to Entity:SetPos
  • Merged pull requests: removed an unnecessary Think hook from the DOF post-processing effect; updated a comment in SurfaceProperties.txt
  • Higher quality Eli Vance face texture from the S1 repo
  • Fixed a typo in the cam.End2D underflow error message

5 stories