Skip to content

Instantly share code, notes, and snippets.

View WhyIsEvery4thYearAlwaysBad's full-sized avatar

WhyTheHellIsEvery4thYearGarbage? WhyIsEvery4thYearAlwaysBad

View GitHub Profile
@WhyIsEvery4thYearAlwaysBad
WhyIsEvery4thYearAlwaysBad / tf2_nav_mesh_format.ksy
Created March 15, 2022 07:34
TF2 Nav mesh file format in Kaitai Struct.
# Base NAV file format in kaitai struct.
meta:
id: tf2_nav_mesh
title: TF2 Navigation Mesh (NAV)
file-extension: nav
tags:
- valve
- source_engine
- nav_mesh
- tf2
@WhyIsEvery4thYearAlwaysBad
WhyIsEvery4thYearAlwaysBad / valve_binary_space_partition_format.ksy
Created February 26, 2022 16:35
The Valve Binary Space Partition file format in Kaitai Struct.
meta:
id: vbsp
title: "Valve Binary Space Partition"
tags: [ "vbsp", "bsp", "source", "valve" ]
file-extension: bsp
endian: le
doc: |
Valve Binary Space Partition, or VBSP, is a file format for levels; it is a variant of the Binary Space Partition level format used by Quake.
@WhyIsEvery4thYearAlwaysBad
WhyIsEvery4thYearAlwaysBad / source_engine_nav_redesign.ksy
Last active November 12, 2021 15:33
Source Engine NAV file format redesign in KaitaiStruct.
# My ideal implementation of the Source Engine NAV file format in kaitai struct.
meta:
id: nav_file
title: NAV
file-extension: nav
tags:
- valve
- source_engine
- nav_mesh
- navigation_mesh
@WhyIsEvery4thYearAlwaysBad
WhyIsEvery4thYearAlwaysBad / source_engine_nav.ksy
Created October 19, 2021 00:37
Base Source Engine NAV file format in kaitaistruct
# Base NAV file format in kaitai struct.
meta:
id: nav_file
title: NAV
file-extension: nav
tags:
- valve
- source_engine
- nav_mesh
@WhyIsEvery4thYearAlwaysBad
WhyIsEvery4thYearAlwaysBad / ProperPerformanceTF2Guide.md
Created April 19, 2021 15:01
Performance Guide in full markdown.

Context


So I made this performance guide because one day I got sick of those shitty performance guides on TF2 that are everywhere, so I decided to put actual effort into mine to make sure it was good.

Important stuff


Before you read any further into this guide, the following information is extremely important not just to understand this guide, but also important when determing performance in games.