Coder Social home page Coder Social logo

movzig / berserkerquake2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ucyborg/berserkerquake2

0.0 0.0 0.0 1.74 MB

Berserker@Quake2 game engine, ported to SDL2 library.

License: GNU General Public License v2.0

C 99.18% Makefile 0.01% C++ 0.44% Objective-C 0.37%

berserkerquake2's Introduction

Berserker@Quake2 Engine

Original project hosted at: Quake Gate, ModDB

This is a port of Berserker@Quake2 engine (1.45) to SDL2 library. It is currently known to compile and run on Linux and Windows.

Building on Linux

The makefile is provided in the root of this source tree, which should, provided you have all needed libraries setup, produce "berserkerq2" executable file and game logic library "game.so". These libraries are:

libjpeg (v8)
libpng
libogg
libvorbis
libvorbisfile
SDL2 (v2.0.4 or newer recommended)
zlib
libminizip

Code::Blocks project files are also provided.

Building on Windows

Visual Studio 2015 solution is provided, along with header files and .libs for linking with required libraries. Libraries are provided along with precompiled engine binaries in the Releases section.

Running the game

To make use of this engine, you will need original Quake II data. If you have Steam version, you can find needed files in its install directory, in baseq2 folder. These are:

DIR players
DIR video
FILE pak0.pak
FILE pak1.pak
FILE pak2.pak

If you have original Quake II CD, the data can be found in Install/Data/baseq2. In addition to the data on the CD, you will need the data from the official Quake II 3.20 patch, which you can get from http://deponie.yamagi.org/quake2/idstuff/q2-3.20-x86-full-ctf.exe The content can be extracted using any utility for working with ZIP files.

Make a distintctive folder where you want to run Berserker from. The folder must be writable, so somewhere under home folder should do for Linux users. Inside it, create baseq2 folder in which you put the above mentioned files.

Then you will have to get some extra data that comes with this engine. You can get it from my Google Drive. Extract the zip in your Berserker directory. The content itself is identical to those hosted at official website and ModDB, except all file names were converted to lower case and references to them, as well as paths have been fixed to use slashes instead of backslashes so hopefully there isn't any problem with file access on Linux systems.

Now, you just need to put compiled executable files in their places:
(assuming Quake2 is the folder where you put the data)

berserkerq2 or berserkerq2.exe -> Quake2
game.so or game.dll -> Quake2/baseq2

Finally, you can run the game. Make sure it's executed from its own directory so it can find the data.

One final tip, if you're on Windows and have NVIDIA graphics card, you should disable threaded optimizations for the game, they seem to dramatically decrease the performance.

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.