Skip to content

Commit

Permalink
Clarify compilation instruction
Browse files Browse the repository at this point in the history
Delete non-working release builds
  • Loading branch information
vaskas committed May 14, 2021
1 parent 8e409eb commit 1f250bb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 54 deletions.
53 changes: 9 additions & 44 deletions README
Original file line number Diff line number Diff line change
@@ -1,49 +1,14 @@
OpenTyrian Classic
================================================================================
## OpenTyrian BB10

OpenTyrian is an open-source port of the DOS game Tyrian.
This is a fork of the OpenTyrian game port developed by Oleg Kosenkov ([@idispatch](https://github.com/idispatch)).

Tyrian is an arcade-style vertical scrolling shooter. The story is set
in 20,031 where you play as Trent Hawkins, a skilled fighter-pilot employed
to fight MicroSol and save the galaxy.
### Compiling

Tyrian features a story mode, one- and two-player arcade modes, and networked
multiplayer.
* Compile the [SDK fork](https://github.com/idispatch/SDL) first
* Check out this repository alongside the SDL dir
* Run `make`, then `make opentyrian.bar`

== Additional Necessary Files ==================================================
### Debugging

Tyrian 2.1 data files which have been released as freeware:
http://camanis.net/tyrian/tyrian21.zip

== Keyboard Controls ===========================================================

ctrl-backspace -- kill OpenTyrian
alt-enter -- fullscreen
ctrl-f10 -- ungrab mouse

arrow keys -- ship movement
space -- fire weapons
enter -- toggle rear weapon mode
ctrl/alt -- fire left/right sidekick

== Network Multiplayer =========================================================

Currently OpenTyrian does not have an arena; as such, networked games must be
initiated manually via the command line simultaniously by both players.

syntax:
opentyrian --net HOSTNAME --net-player-name NAME --net-player-number NUMBER

where HOSTNAME is the IP address of your opponent, NUMBER is either 1 or 2
depending on which ship you intend to pilot, and NAME is your alias

OpenTyrian uses UDP port 1333 for multiplayer, but in most cases players will
not need to open any ports because OpenTyrian makes use of UDP hole punching.

== Links =======================================================================

project: http://opentyrian.googlecode.com/
irc: irc://irc.freenode.net/#tyrian
forums: http://tyrian2k.proboards.com/index.cgi?board=opentyriangeneral

README: AshTR
1. Adjust `common.mk`
2. Run `make`, then `make deploy`
8 changes: 4 additions & 4 deletions bar-descriptor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<versionNumber>1.2.4</versionNumber>
<buildId>0</buildId>
<description>Tyrian is an open-source port of the MS-DOS game Tyrian.</description>
<authorId>gYAAgNvOOqSvefTEeSiCjimMZSs</authorId>
<author>Oleg Kosenkov</author>
<authorId>gYAAgML3SsjiZXhA1d82mdE9DTw</authorId>
<author>BerryTrucks</author>
<initialWindow>
<aspectRatio>landscape</aspectRatio>
<autoOrients>false</autoOrients>
Expand All @@ -31,11 +31,11 @@
<asset path="splash-1440x1440.png">splash-1440x1440.png</asset>
<configuration name="Device-Debug">
<platformArchitecture>armle-v7</platformArchitecture>
<asset path="Device-Debug/opentyrian" entry="true" type="Qnx/Elf">opentyrian</asset>
<asset path="arm/o-le-v7-g/opentyrian_g" entry="true" type="Qnx/Elf">opentyrian_g</asset>
</configuration>
<configuration name="Device-Release">
<platformArchitecture>armle-v7</platformArchitecture>
<asset path="Device-Release/opentyrian" entry="true" type="Qnx/Elf">opentyrian</asset>
<asset path="arm/o-le-v7/opentyrian" entry="true" type="Qnx/Elf">opentyrian</asset>
</configuration>
<configuration name="Simulator">
<platformArchitecture>x86</platformArchitecture>
Expand Down
12 changes: 6 additions & 6 deletions common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ define PINFO
PINFO DESCRIPTION = OpenTyrian
endef
DEVICE_IP = 169.254.0.1
DEVICE_PASS = pass
BAR_CONFIGURATION = Arm-Release
DEVICE_PASS = lalala
BAR_CONFIGURATION = Device-Release
BAR_NAME = opentyrian.bar

SDL_PATH = $(PROJECT_ROOT)/../SDL
Expand All @@ -26,7 +26,7 @@ EXTRA_SRCVPATH += $(PROJECT_ROOT)/src
EXTRA_INCVPATH += $(SDL_INC_PATH)
EXTRA_LIBVPATH += $(SDL_LIB_PATH)

LIBS += m png14 z bps screen ^SDL egl asound GLESv2
LIBS += m png16 z bps screen ^SDL EGL asound GLESv2

include $(MKFILES_ROOT)/qmacros.mk
ifndef QNX_INTERNAL
Expand Down Expand Up @@ -61,13 +61,13 @@ opentyrian.bar: $(PROJECT_ROOT)/bar-descriptor.xml \
$(PROJECT_ROOT)/controls-1280x720.json \
$(PROJECT_ROOT)/controls-1280x768.json \
$(PROJECT_ROOT)/controls-1440x1440.json
$(PACKAGER) -package $(PROJECT_ROOT)/$(BAR_NAME) $(PROJECT_ROOT)/bar-descriptor.xml -C . -configuration $(BAR_CONFIGURATION)
$(PACKAGER) -package $(PROJECT_ROOT)/$(BAR_NAME) $(PROJECT_ROOT)/bar-descriptor.xml -C . -configuration $(BAR_CONFIGURATION)

deploy:
$(DEPLOYER) -installApp -device $(DEVICE_IP) -password $(DEVICE_PASS) $(PROJECT_ROOT)/$(BAR_NAME)
$(DEPLOYER) -installApp -device $(DEVICE_IP) -password $(DEVICE_PASS) $(PROJECT_ROOT)/$(BAR_NAME)

undeploy:
$(DEPLOYER) -uninstallApp -device $(DEVICE_IP) -password $(DEVICE_PASS) $(PROJECT_ROOT)/$(BAR_NAME)
$(DEPLOYER) -uninstallApp -device $(DEVICE_IP) -password $(DEVICE_PASS) $(PROJECT_ROOT)/$(BAR_NAME)

display-vars:
$(foreach v,$(.VARIABLES),$(info $(v) = $($(v))))

0 comments on commit 1f250bb

Please sign in to comment.