Coder Social home page Coder Social logo

jamesu / mtlquake Goto Github PK

View Code? Open in Web Editor NEW

This project forked from novum/vkquake

2.0 2.0 1.0 42.33 MB

Metal Quake port based on VkQuake based on QuakeSpasm

License: GNU General Public License v2.0

C 88.76% Makefile 0.12% Shell 0.10% Objective-C 7.06% C++ 2.65% GLSL 0.20% Batchfile 0.02% Metal 0.29% CMake 0.31% M 0.49%

mtlquake's Introduction

Overview

mtlQuake is a Quake 1 port using Metal instead of OpenGL for rendering. It is based on the popular QuakeSpasm and vkQuake ports and runs all mods compatible with it like Arcane Dimensions or In The Shadows.

Compared to QuakeSpasm mtlQuake also features a software Quake like underwater effect, has better color precision, generates mipmap for water surfaces at runtime and has native support for anti-aliasing and AF.

mtlQuake also serves as a Metal demo application that shows basic usage of the API. For example it demonstrates mixed render passes, buffer management, and compute pipeline usage.

Building

Mac

Prerequisites:

XCode

Install XCode and open up the mtlQuake.xcodeproj. The project should build out of the box.

Note

For convenience, mtlQuake includes a prebuilt copy of SDL 2.0.9. You may download the sourcecode from https://libsdl.org/release/SDL2-2.0.9.zip if you wish to rebuild it.

mtlQuake requires at least SDL2 2.0.9 with enabled Metal support.

Usage

Quake has 4 episodes that are split into 2 files:

  • pak0.pak: contains episode 1
  • pak1.pak: contains episodes 2-4

These files aren't free to distribute, but pak0.pak is sufficient to run the game and it's freely available via the shareware version of Quake. Use 7-Zip or a similar file archiver to extract quake106.zip/resource.1/ID1/PAK0.PAK. Alternatively, if you own the game, you can obtain both .pak files from its install media.

Now locate your mtlQuake bundle, i.e. mtlQuake.app. You need to create an id1 directory next to that and copy pak0.pak there.

Then mtlQuake is ready to play.

Alternatively you can tell quake where the data folders are is when you launch it from the commandline. e.g. ./mtlQuake.app/Contents/MacOS/mtlQuake -basedir /Users/jamesu/External/Quake

mtlquake's People

Contributors

ardacoskunses avatar bviktor avatar cforfang avatar endlesseden avatar ericwa avatar groleo avatar jamesu avatar laanwj avatar mdeguzis avatar novum avatar saschawillems avatar serendipidipity avatar sezero avatar stevenhoving avatar tatokis avatar vrodic avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

shinra-electric

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.