Skip to content

Tweety-Lab/SourceRewrite

Repository files navigation

About

SourceRewrite is a semi-rewrite of Valve's 'Source Engine' in C#. It was designed to have the same workflow and structure as Source whilst drastically changing certain parts.

Features

  • Web-Based VGui replacement: 'Vista GUI'
  • Native C# Valve Format reading/writing
  • Steam Game Mounting
  • C# Entity API
  • Extensive code/content modding system
  • VPhysics Replacement via Bullet Physics
  • Real-time Lighting
  • Custom GLSL Preprocessor for simple Shader manipulation
  • Source Engine's Input, Entity, Map IO, and File Systems all faithfully recreated in C#

Getting Started

You can find Documentation for using the engine here. SourceRewrite was developed alongside an unreleased Portal 2 Mod and was primarily designed to be compatible with the Portal 2/ASW Engine Branches, other compatiblity is not guaranteed.

For mounting assets, extract the games .vpk.

Windows

Run prebuild.bat

Open Everything.sln

Build

Usage Guidelines

It's recommended to not use the engine for commercial purposes without permission from Valve. all original code is licensed under MIT. Projects made using SourceRewrite must follow the individual licenses of used libraries such as the Ultralight SDK.

About

C# Source Engine "Rewrite"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published