Skip to content

K0bin/sourceloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SourceLoader

Source Engine map loader written in C#

Incomplete, I revisit it from time to time but don't expect it to ever be completed. So far only tested with CSGO maps but should work with most other source maps as well.

What's working:

  • loading the BSP tree and most (relevant) lumps
  • loading most of the MDL file (although that's useless without the geometry found in .vtx files)
  • loading 2D VTF textures (cubemaps might work as well, didn't test that)
  • extracting basic brush geometry
  • exporting as OBJ

What's missing:

  • the skybox
  • .vtx mesh strips
  • static props (work for it is mostly done, except for .vtx)
  • displacements
  • lightmaps (work for it is mostly done, just needs to be brought together)
  • exporting materials

The Unity branch is an outdated version of the same code that was tweaked to work with .Net 3.5.

Releases

No releases published

Packages

No packages published

Languages