Skip to content

GH-#905 - Update to TF2 branch (source-sdk-2013 2025-02-18 update)#914

Merged
nullsystem merged 49 commits intoNeotokyoRebuild:masterfrom
nullsystem:GH-905_UpdateToTF2SDK20250218
Feb 24, 2025
Merged

GH-#905 - Update to TF2 branch (source-sdk-2013 2025-02-18 update)#914
nullsystem merged 49 commits intoNeotokyoRebuild:masterfrom
nullsystem:GH-905_UpdateToTF2SDK20250218

Conversation

@nullsystem
Copy link
Collaborator

@nullsystem nullsystem commented Feb 19, 2025

Description

Update NT;RE to TF2 branch:
https://www.teamfortress.com/post.php?id=238809
https://github.com/ValveSoftware/source-sdk-2013/commits/master/
https://store.steampowered.com/news/app/320/view/529838805680652975?l=english

New commits from ValveSoftware/source-sdk-2013 from misyltoad:

  • Remove sp singleplayer code.: 9ad9aeb83a20c973eb6bb6c2d56a45551ec901e8
    • Ignored, we don't have singleplayer
  • Move mp to the root directory: 44f8f18cd1fd837c9785cef85500766a6e1a16c0
    • It's basically just no longer needing mp separation: 9303a26e61b6a967511cb4d723dad73921235724
  • Add Team Fortress 2 SDK: 0759e2e8e179d5352d81d0d4aaded72c1704b7a9
    • Using cherry-pick and manually merge fixing multiple files: 7cb27ed066064386e377d80d468e89780537b0ca

TODO

Comments:
// TODO (nullsystem): 2025-02-18 SOURCE SDK 2013 CHECK

Squirral/nut scripts:
	src/game/server/spawn_helper.nut
	src/game/server/vscript_server.nut
I guess VPC compiles them into usable C++ headers, but for now could utilize like this
and ifdef NEO source code a bit:
	game/neo/nut_scripts/spawn_helper.nut
	game/neo/nut_scripts/vscript_server.nut

Toolchain

  • - Windows MSVC VS2022
  • - Linux GCC Distro Native (Arch Linux, GCC 14.2.1 64-bits)
  • - Linux GCC 10 Sniper 3.0

Linked Issues

@nullsystem nullsystem added the Current WIP Currently working on it label Feb 19, 2025
@nullsystem nullsystem force-pushed the GH-905_UpdateToTF2SDK20250218 branch from 6f93818 to c4d90ea Compare February 19, 2025 00:54
@AdamTadeusz
Copy link
Contributor

insane progress tbh

Copy link
Contributor

@Masterkatze Masterkatze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also remove thirdparty/protobuf - it's only used by tf.

@nullsystem nullsystem force-pushed the GH-905_UpdateToTF2SDK20250218 branch from a586c7c to 7b6759c Compare February 23, 2025 11:16
@nullsystem nullsystem force-pushed the GH-905_UpdateToTF2SDK20250218 branch from 7762dfa to 6a4e32b Compare February 23, 2025 16:01
@nullsystem nullsystem force-pushed the GH-905_UpdateToTF2SDK20250218 branch from d902921 to 1274b10 Compare February 23, 2025 16:06
@AdamTadeusz
Copy link
Contributor

807941a is a fix/workaround to ValveSoftware/source-sdk-2013#730

AdamTadeusz
AdamTadeusz previously approved these changes Feb 23, 2025
Copy link
Contributor

@Masterkatze Masterkatze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional comments:

  1. target_link_libraries(game_shader_dx9 ...) in /src/materialsystem/stdshaders/CMakeLists.txt
  2. Remove src/game/shared/econ and , public IHasOwner from src/game/shared/baseviewmodel_shared.h
  3. Remove src/buildallprojects and src/createallprojects.bat

@nullsystem nullsystem merged commit 1a6b546 into NeotokyoRebuild:master Feb 24, 2025
nullsystem added a commit that referenced this pull request Feb 25, 2025
* (mp -> root dir) Follows upstream 44f8f18cd1fd837c9785cef85500766a6e1a16c0
* ValveSoftware/source-sdk-2013@44f8f18
* Add Team Fortress 2 SDK
* Make it work with cmake setup
* Add note on `.nut` files
* Add renderer info, remove neo_version_info.cpp from git
* neo_version_info.cpp is auto generated, shouldnt be here
* Initial fixup Windows cmake
* fixup md docs to 64-bits, and remove "mp" seperated directory
* Fixes MSVC C++20 const strictness errors
* Fix button click not working on class/team menu, fix loadout menu crash
* remove mp on gamedata dir
* Revert the res change that made things more broken
* Fix missing corner vgui with 8x... variant
    * Eventually want to actually scale with res, but for now fixed to 8
* Restore bot_add
* Fixing up cibuild.yml
* Doc changes, fPIC Linux release-build for vgui_control
* resources.zip - only include neo/*
* Use `m_HL2Local.m_bNewSprinting` instead of `m_fIsSprinting`
* Movement is getting there a bit, although non-sprint seems slow?
* Move up `HandleSpeedChanges` func to NT player class
* Default back to "legacy" swaying
* NeoUI root - Borderless window and steam networking
* Append x64/linux64 directory so it can be properly loaded in
* cmake - Don't need 32-bit location of bin, only 64-bit location
* Add reference to TF2-SDK commit
* cl_pdump working, fix view jittering
* ducked prediction error
* Fully fixup and reapply Tonysergi's animation changes
* Revert the odd workaround
* Revert to old way of sprint to fix jitter, fix assault aux drain
* Remove protobuf, only used by tf
* cleanup TF and files we don't use
* nvim :retab the CMakeLists.txt
* Fix silent crouching step sound
* particle cull radius initialisation problem fix
* Reapply/fixup-merge of NTRE's ladder assert workaround
* "CONTRIBUTING" is actually upstream/valve's, remove it
* Remove all vpc files
* Remove src/game/server/tf
* Delete src/game/shared/econ, code review fixups

Authored-by: nullsystem <15316579+nullsystem@users.noreply.github.com>

---------

Co-authored-by: Autumn Ashton <misyl@froggi.es>
Co-authored-by: AdamTadeusz <adam.tomaszewski@hotmail.co.uk>
@nullsystem nullsystem deleted the GH-905_UpdateToTF2SDK20250218 branch February 25, 2025 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Animations Animation stuff. Including the syncronizing of animations between client and server based on state. Build System CMake and other build-related stuff CI Continuous Integration (GitHub Actions) Current WIP Currently working on it Documentation Improvements or additions to documentation Enhancement New feature or request Movement Movement mechanics such as sprinthops, bhopping, movement speeds, etc. Tooling Tooling related works (EX: OS fixes, libraries) URGENT

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

New SDK update just dropped (TF2 SDK)

5 participants