SharpQuake is GLQuake rewritten in C# using the OpenTK library.
- OpenTK 3.0.1
- x86 OpenTK Dependencies (SDL2.dll & libEGL.dll)
Project is built against and tested for Visual Studio 2017 on .NET 4.7.1.
-
Add the OpenTK nuget package with the package manager console in visual studio.
Install-Package OpenTK -Version 3.0.1
-
Add SDL2.dll and libEGL.dll to your output directory (defaults to
<project root>/Quake
).- See link "x86 OpenTK Dependencies" under Dependencies header above
-
Add ld1, hipnotic, and rogue (minimum ld1) data directories to
<project root>/Quake
.- You only need the
<mod>\pak0.pak
, etc. and<mod>\config.cfg
files of each directory if copying from a steam install.
- You only need the
The project is set up with windows (x86) as the default platform. (untested) removing the _WINDOWS
symbol from project properties > Build > Conditional compilation symbols
should remove this dependency. GLQUAKE
and QUAKE_GAME
must be defined.
- Build solution.
The -basedir <directory>
switch can be used to change the default data directory. e.g. SharpQuake.exe -basedir C:\Quake\
-window
switch is pre-defined in project settings, but if you change the default directory of where you want your data, you may need to add -basedir <directory>
to project properties > Debug > Command line arguments
The original expansion packs can be run using -rogue
or -hipnotic
switches if the data is present for it.
Original quake switches apply and can be used.
Enjoy!
-
Made by yurykiselev and Uze and brought to Github by Memorix101
-
Updated to .NET 4.7.1 and OpenTK 3.0.1 by Daniel Cornelius (Kerfuffles/NukeAndBeans)
-
Engine additions and fixes by multiguy18