GithubHelp home page GithubHelp logo

sharpquake's Introduction

SharpQuake

SharpQuake is a GLQuake rewritten in C# (.Net Framework 2.0) and using OpenTK library.

Building and running

To build project successfully, define correct reference to OpenTK library (see References).

To build with Windows-related stuff add _WINDOWS symbol to "Conditional Compilation Symbols" (there must be already defined GLQUAKE and QUAKE_GAME symbols).

On x64 platforms select x86 as a Platform.

To run from any folder except Quake's one add -basedir switch and correct path to your directory of Quake (for example, if Quake is installed in C:\Games\Quake): SharpQuake.exe -basedir C:\Games\Quake

To run from IDE go to the Project Properties -> Debug tab -> Start Options. In "Command line arguments" edit box add -basedir switch and correct path to your directory of Quake (for example, if Quake is installed in C:\Games\Quake): -basedir C:\Games\Quake

To run in windowed mode add -window command line switch.

If you have original mod packs (from Rogue or/and from Hipnotic) run them with appropriate switch: -rogue or -hipnotic

All mentioned switches are original GLQuake's switches, so please see the docs for details.

Notes

  1. If mouse is not working in windowed mode, please check value of cvar _windowed_mouse - this should be "1". For example, Steam version of Quake have autoexec script which resets this to 0.

Fixed bugs

  1. Audio initialization bug: sometimes program starts without sound and (with developer=1) there is a 3 messages in console: UnlockBuffer: No free buffers! UnlockBuffer: No free buffers! UnlockBuffer: No free buffers!

  2. Wrong index returned by String.IndexOf () in ProgsEdict.cs on Linux (reported by Miguel G L): For example, on Linux String.IndexOf() returns an index "offset = 6633" in the case of Windows "offset = 6632". The correct value is 6632

  3. OpenTK version updated to 1.1

Enjoy!

sharpquake's People

Contributors

ykiselev avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

polytronicgr

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.