This repository has been archived by the owner on Sep 4, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated and tested on BlackBerry 10 devices using latest SDK.
- Loading branch information
1 parent
8cbee38
commit 5146857
Showing
61 changed files
with
1,832 additions
and
1,908 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,21 @@ | ||
Build/Deploy using BlackBerry Native SDK | ||
==================================== | ||
Below are the instructions for building the Quake3 (id tech 3) game engine for BlackBerry QNX based platforms (PlayBook). | ||
The game engine source code included in this repository was ported from the open-source (under GPL license) directly from id software. | ||
Below are the instructions for building the Quake3 (id tech 3) game engine for BlackBerry 10 and PlayBook devices. | ||
The game engine source code included in this repository was ported from the open-source (under GPL license) directly from id Software. | ||
The Quake3 maps/data files are not covered under the open-source agreement and must be provided by the developers wishing | ||
to use the code. | ||
|
||
Download the BlackBerry Native SDK 2.0 | ||
-------------------------------------- | ||
[Download] (https://bdsc.webapps.blackberry.com/native/beta/) | ||
Download the BlackBerry Native SDK 10 | ||
------------------------------------- | ||
http://developer.blackberry.com/native/download/ | ||
|
||
Add your Quake Maps | ||
------------------- | ||
- Copy the .pk3 map file(s) to the resource/baseq3 directory from your Quake3 CD (testing only) or custom maps you have made | ||
- Copy the *.pk3 map file(s) to the resource/baseq3 directory. (Typically found from your purchased Quake3 CD (testing only) or demo/custom maps. | ||
|
||
Building from Momentics IDE | ||
--------------------------- | ||
- Run BlackBerry Momentics IDE. | ||
- Import the project from the repo directory "Quake3". | ||
- Right click Project -> Build Configurations -> Set Active Configuration -> Device-Release or Device-Debug. | ||
- Build the project. | ||
- Debug or Run the project. | ||
|
||
Build from Makefile | ||
------------------- | ||
- Run cmd.exe and execute the following commands: | ||
|
||
`> cd [bbndk]` -- where [bbndk] is where the QNX NDK was installed (i.e. C:\bbndk-2.0.0) | ||
|
||
`> bbndk-env[.bat/.sh]` | ||
|
||
`> cd [Quake3]/qnx` -- where [Quake3] is the directory where Quake3 was extracted to | ||
|
||
`> make` | ||
|
||
- Following this, the relevant binaries should reside in the following subdirectories: | ||
- [quake3]/qnx/nto/arm/o.le.v7/quake3 (Release) | ||
- [quake3]/qnx/nto/arm/o.le.v7.g/quake3_g (Debug) | ||
|
||
- Run the following to build the Quake3 bar file. Add your additional parameters for signing keys and debug tokens. | ||
|
||
`> 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` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.