No description
Find a file
unknown d03c92b6f0 We have now better angle update
Since it was previously based on old frametime,
you would see your angle changes from previous frametime,
not the current one...
It's now fixed.
2024-09-12 22:33:24 +02:00
.github/workflows Use 7z for prerelease in windows 2024-09-09 17:36:25 +02:00
.vscode Update tasks.json 2023-01-16 07:54:17 -08:00
app/legion
appframework Added fullscreen optimizations 2024-08-31 09:51:17 +02:00
bitmap add macos workflow, fix filesystem_async max thread count 2023-04-24 18:54:23 +00:00
choreoobjects
common Improved lag compensation for entities 2024-09-03 23:07:40 +02:00
datacache Added prediction for triggers, thanks oblivious 2024-08-23 00:42:58 +02:00
datamodel Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
dedicated dedicated(win32): fix crashes( now it works #310 #225 ) 2023-12-13 21:28:17 +03:00
dedicated_main dedicated(win32): fix build issues #322 2023-12-13 20:18:31 +03:00
devtools Preparting to add weapon_m82a1 2024-09-06 14:43:27 +02:00
dmserializers
dmxloader Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
dx9sdk We have now better angle update 2024-09-12 22:33:24 +02:00
engine We have now better angle update 2024-09-12 22:33:24 +02:00
external
fgdlib
filesystem fix crash in some cases 2023-10-23 19:52:35 +03:00
game We have now better angle update 2024-09-12 22:33:24 +02:00
gamedata@84f80d684b Added no stamina 2024-09-11 13:01:41 +02:00
gameui gameui: fix disconnect in video settings for multiplayer games 2023-10-08 02:40:43 +03:00
gcsdk
hammer
hammer_launcher
inputsystem Fixed double click for mouse_5 2024-08-31 21:53:00 +02:00
ivp@c7c4073205 Improved prediction & fix being 1 off tick problems 2024-07-13 19:18:03 +02:00
launcher launcher: don't grab/release mutex if multirun is enabled 2023-03-13 17:47:44 +06:00
launcher_main
lib@0407031578 Added zstd for windows 2024-07-19 20:04:18 +02:00
linux
linux_sdk
materialsystem Optimized cmatqueuedrendercontext 2024-08-29 14:31:42 +02:00
mathlib WIP: move vmatrix functions to header and inline them 2023-04-26 19:56:15 +00:00
mdllib
mdlobjects
movieobjects
networksystem
particles
public We have now better angle update 2024-09-12 22:33:24 +02:00
raytrace
replay Fix CreateThreadPool 2022-11-20 19:32:30 +02:00
scenefilecache
scripts Testing prerelease 2024-09-09 17:11:59 +02:00
sdklauncher
serverbrowser serverbrowser: copy gametype to map name in quicklist 2023-02-16 17:16:35 +03:00
sfmobjects
soundemittersystem
soundsystem
sourcevr
stub_steam waf: don't install some shared libraries when building sdk only 2023-05-24 16:46:25 +00:00
studiorender win64: misc pointer truncation fixes 2023-01-16 11:56:05 +03:00
thirdparty@03bc0592cf Added zstd for windows 2024-07-19 20:04:18 +02:00
tier0 Added VPROF option & fixed vprof 2024-08-30 06:15:40 +02:00
tier1 Added prediction for triggers, thanks oblivious 2024-08-23 00:42:58 +02:00
tier2 Reworked cl_show* commands to use game events instead 2024-07-25 18:10:35 +02:00
tier3
togl fix some undefined/unspecified behaviours in multiplayer games( may help with #299 ) 2023-10-07 05:04:46 +03:00
togles togles: don't use alpha channel in dxt1 decompression for textures without it 2023-04-06 14:36:14 +03:00
tools
tracker
unicode
unitlib
unittests unitests: add mathlib test 2023-04-23 23:45:09 +03:00
utils We have now better angle update 2024-09-12 22:33:24 +02:00
vgui2 fix build for latest musl 2023-11-08 13:26:46 +00:00
vguimatsurface inputsystem: fix UB in touch events callback, make touch more responsive 2023-08-17 14:31:43 +03:00
video Fix macOS build (#146) 2022-11-27 16:48:27 +03:00
vpc_scripts
vphysics Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
vpklib
vstdlib Added prediction for triggers, thanks oblivious 2024-08-23 00:42:58 +02:00
vtf vtf: fix vtf loading for windows arm( and for other platforms ) 2023-08-14 18:26:28 +03:00
.clang-format Updated clang format 2024-08-30 23:12:32 +02:00
.gitignore Updated submodules 2024-09-10 21:17:24 +02:00
.gitmodules Prefer https for cloning 2024-09-08 03:07:06 +02:00
LICENSE
README.md Renamed 50bmg to 20special 2024-09-07 15:07:11 +02:00
thirdpartylegalnotices.txt
waf Added new compression for floats 2024-07-17 08:29:22 +02:00
waf.bat
wscript put back again to fast fp 2024-09-04 00:33:04 +02:00

Counter-Strike: Source Enhanced

Started from a fork of: https://github.com/nillerusr/source-engine
A huge thanks to him for having port most of the valve project generator stuff to waf.

How to build:

First install dependencies: https://github.com/nillerusr/source-engine/wiki/Source-Engine-(EN)
You also need zstd library.

To compile for CS:S Enhanced a command line can look like so: ./waf configure clangdb install -p -o build -T fastnative --prefix ./gamedata/css_enhanced/game

  • clangdb generates compilation database for LSP
  • install installs into the prefix ../css_enhanced the binaries
  • -T fastnative, compiler build the source code for a performance oriented release for your specific machine.
  • -d for dedicated (server) build.
  • -P <0-4> is to enable profiling with different levels, 1 is usually enough if you want to know what takes more framerate.

How to play:

  • Compile the game as above.
  • Run the game with hl2_launcher(.exe) -game cstrike.
  • I have my own server at cssserv.xutaxkamay.com, when it isn't down.

What was enhanced:

A lot! If you're curious you can look on the commit log, but here's the most interesting things:

  • Trigger prediction, output event prediction. (this caused the player's mistmatching between server and client)
  • Local player interpolation fixed without doing sub-ticks. (this is known as your screen not matching the server/client's tick view)
  • Lag compensation fixed. (Animations are server controlled now)
  • SetupBones being different from client and server due to the fact that IKs weren't enabled.
  • No autobhop lag.
  • fps_max 0 is possible now without speedhacking. (you can get more than 1k fps)
  • More performance in general, for example in Windows, I removed the legacy input system that took around 300 fps in fullscreen.
  • You can use ARM servers to run a dedicated server (this is huge, since servers have a lot of power consumption).
  • Network compression mostly removed so the client get the exact values from the server
  • zstd compression with trained data so that it compress (and decompress) very fast for a very good ratio. (around 1/10)
  • Added new weapon, M82A1

And more to come (TODO):

  • New weapons coming, thinking gluon gun & m82a1
  • Shareable skins where you can use your own skins and other people will see them.
  • And much more to come ...
  • Replay
  • Source TV and recordings that can display the exact things that the player has seen on his screen by re-using lag compensation.
  • Hit indicator
  • A timer
  • m_rawinput 2 that aligns the angles to a tick.
  • General bug fixes like edge bugs, surf ramp bugs ...
  • Sphere/cylinder hitboxes