Package OpenTyrian

This commit is contained in:
Emery Hemingway
2019-02-22 16:29:49 +01:00
committed by Norman Feske
parent 1de91edfe8
commit 6e1d2c6dc1
10 changed files with 122 additions and 1 deletions

49
recipes/pkg/tyrian/README Normal file
View File

@@ -0,0 +1,49 @@
OpenTyrian
================================================================================
OpenTyrian is an open-source port of the DOS game Tyrian.
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.
Tyrian features a story mode, one- and two-player arcade modes, and networked
multiplayer.
== Additional Necessary Files ==================================================
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

View File

@@ -0,0 +1,6 @@
_/raw/tyrian
_/src/libc
_/src/opentyrian
_/src/sdl
_/src/sdl_net
_/src/vfs

1
recipes/pkg/tyrian/hash Normal file
View File

@@ -0,0 +1 @@
2019-02-22-c 223878124407339b566849e9a00a98810e43ea69

View File

@@ -0,0 +1,33 @@
<runtime ram="64M" caps="512" binary="opentyrian">
<requires>
<audio_out/>
<file_system/>
<nitpicker/>
<timer/>
<rtc/>
</requires>
<content>
<rom label="ld.lib.so"/>
<rom label="libc.lib.so"/>
<rom label="libm.lib.so"/>
<rom label="opentyrian"/>
<rom label="sdl.lib.so"/>
<rom label="sdl_net.lib.so"/>
<rom label="tyrian.tar"/>
<rom label="vfs.lib.so"/>
</content>
<config>
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc"/>
<vfs>
<tar name="tyrian.tar"/>
<fs/>
<dir name="dev">
<log/> <rtc/>
</dir>
</vfs>
</config>
</runtime>

View File

@@ -0,0 +1,8 @@
MIRROR_FROM_PORT_AND_REP_DIR := src/app/opentyrian
content: tyrian.tar
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/opentyrian)/src/app/opentyrian
tyrian.tar:
$(VERBOSE) tar cf $@ -C $(PORT_DIR)/tyrian21 .

1
recipes/raw/tyrian/hash Normal file
View File

@@ -0,0 +1 @@
2019-02-22 9e0d9ef1163ff7ee88d2f516bc191e19c05aecbd

View File

@@ -0,0 +1,16 @@
MIRROR_FROM_PORT_AND_REP_DIR := src/app/opentyrian
content: $(MIRROR_FROM_PORT_AND_REP_DIR) LICENSE
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/opentyrian)
$(MIRROR_FROM_PORT_AND_REP_DIR):
mkdir -p $(dir $@)
cp -r $(PORT_DIR)/$@ $(dir $@)
$(mirror_from_rep_dir)
$(MIRROR_FROM_REP_DIR):
$(mirror_from_rep_dir)
LICENSE:
cp $(PORT_DIR)/src/app/opentyrian/COPYING $@

View File

@@ -0,0 +1 @@
2019-02-22-b a6178f9ac4457d97b5bc8c78b2033929d96774a9

View File

@@ -0,0 +1,6 @@
base
libc
sdl
sdl_net
os
vfs

View File

@@ -7,7 +7,7 @@ SRC_C := $(notdir $(wildcard $(OPENTYRIAN_SRC)/*.c))
vpath %.c $(OPENTYRIAN_SRC)
LIBS += libc libm sdlmain sdl sdl_net
LIBS += libc libm sdlmain sdl sdl_net base
CC_OPT += -std=c99 -DTARGET_UNIX