Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'master' of https://github.com/blackberry/Quake3

  • Loading branch information...
commit 0aebc07c3cf119567588dc60338bcc6550e6bc28 2 parents 60ab46b + b8ffb08
Adam Blake authored January 30, 2012

Showing 1 changed file with 25 additions and 17 deletions. Show diff stats Hide diff stats

  1. 42  README.md
42  README.md
Source Rendered
... ...
@@ -1,35 +1,43 @@
1  
-Building using BlackBerry NDK 2.0
2  
-=================================
3  
-- Either copy the .pk3 files from your official Quake3 CD(testing only) or any custom packages (pk3 files) you have made to the resource/baseq3 directory.
  1
+Build/Deploy using BlackBerry Native SDK
  2
+====================================
  3
+Below are the  instructions for building the Quake3 (id tech 3) game engine for BlackBerry QNX based platforms (PlayBook). 
  4
+The game engine source code included in this repository was ported from the open-source (under GPL license) directly from id software.
  5
+The Quake3 maps/data files are not covered under the open-source agreement and must be provided by the developers wishing
  6
+to use the code.
  7
+
  8
+Download the BlackBerry Native SDK 2.0
  9
+--------------------------------------
  10
+[Download] (https://bdsc.webapps.blackberry.com/native/beta/)
  11
+
  12
+Add your Quake Maps
  13
+-------------------
  14
+- Copy the .pk3 map file(s) to the resource/baseq3 directory from your Quake3 CD (testing only) or custom maps you have made 
4 15
 
5 16
 Building from Momentics IDE
6  
---------------------------------------
  17
+---------------------------
7 18
 - Run BlackBerry Momentics IDE.
8  
-- Import the project from the Quake3 directory.
9  
-- If you want to be able to debug, select the project and go to Project -> Build Configurations -> Set Active -> Device-Debug
  19
+- Import the project from the repo directory "Quake3".
  20
+- Right click Project -> Build Configurations -> Set Active Congiguration -> Device-Release or Device-Debug.
10 21
 - Build the project.
11 22
 - Debug or Run the project.
12 23
 
13 24
 Build from Makefile
14  
--------------------------------
  25
+-------------------
15 26
 - Run cmd.exe and execute the following commands:
16 27
 
17 28
   `> cd [bbndk]` -- where [bbndk] is where the QNX NDK was installed (i.e. C:\bbndk-2.0.0)
18  
-
  29
+  
19 30
   `> bbndk-env[.bat/.sh]`
20  
-
  31
+  
21 32
   `> cd [Quake3]/qnx` -- where [Quake3] is the directory where Quake3 was extracted to
22  
-
  33
+  
23 34
   `> make`
24 35
 
25 36
 - Following this, the relevant binaries should reside in the following subdirectories:
26  
-
27  
- - [quake3]/qnx/nto/arm/o.le.v7/quake3       (ARM release)
28  
- - [quake3]/qnx/nto/arm/o.le.v7.g/quake3_g   (ARM debug)
  37
+ - [quake3]/qnx/nto/arm/o.le.v7/quake3       (Release)
  38
+ - [quake3]/qnx/nto/arm/o.le.v7.g/quake3_g   (Debug)
29 39
         
30  
-- Run the following to build the Quake3 bar file. Add the additional parameters for signing keys and debug tokens.
31  
-
32  
-  `> blackberry-nativepackager -package Quake3.bar bar-descriptor.xml -e qnx/nto/arm/o.le.v7/quake3 quake3`
  40
+- Run the following to build the Quake3 bar file. Add your additional parameters for signing keys and debug tokens.
33 41
 
34  
-  `-e resource/baseq3/pak0.pk3 baseq3/pak0.pk3 icon.png`
  42
+  `> blackberry-nativepackager -package Quake3.bar bar-descriptor.xml -e qnx/nto/arm/o.le.v7/quake3 quake3 -e resource/baseq3/pak0.pk3 baseq3/pak0.pk3 icon.png`
35 43
 

0 notes on commit 0aebc07

Please sign in to comment.
Something went wrong with that request. Please try again.