Skip to content

Latest commit

 

History

History
76 lines (55 loc) · 2.52 KB

DEVELOPMENT.md

File metadata and controls

76 lines (55 loc) · 2.52 KB

Development

Source Code Overview

  • shock2quest
    • dark - module that reads dark engine file formats (bin, mis, cal, gam, etc)
    • engine - core OpenGL rendering engine
    • references - just some output that was useful to refer to (ie, text form of the namemaps)
    • runtimes
      • desktop_runtime - code for running the desktop version
      • tool - a tool for viewing models and experimentation outside of gameplay
      • oculus_runtime - runtime for oculus using OpenXR
    • shock2vr - core gameplay logic
      • scripts - implementation of all the scripts needed for objects
      • mission - core logic for running a mission
      • save_load - serializing, deserializing game state
      • creature - constants and hitboxes for creature definitions

Set up

1. Clone Repoo

  • git clone https://github.com/tommybuilds/shock2quest
  • cd shock2quest

2. Provide data files

  • Copy local game files (*.mis, res folder) into the shock2quest/Data folder

3. Build Locally

3a. Desktop (Windows, OSX)

NOTE: In theory, this should work on Linux as well - just haven' tried.

Pre-requisites
Running
  • cd runtimes/desktop_runtime
  • cargo run --release

3b. Oculus Quest 2

Pre-requisites
Running
  • cd runtimes/oculus_runtime
  • source ./set_up_android_sdk.sh
  • cargo apk run --release