From: Marijn van Vliet Date: Mon, 19 Apr 2010 19:16:25 +0000 (+0000) Subject: Added iliad package creation script, which simply copies the required files to a... X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=0bbaccde1cecfadcd3bdda424f0947a6b5f8e409;p=rodin%2Fchimara.git Added iliad package creation script, which simply copies the required files to a directory and zips it git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@241 ddfedd41-794f-dd11-ae45-00112f111e67 --- diff --git a/iliad/chimara.png b/iliad/chimara.png new file mode 100644 index 0000000..92a4211 Binary files /dev/null and b/iliad/chimara.png differ diff --git a/iliad/create_iliad_package.sh b/iliad/create_iliad_package.sh new file mode 100755 index 0000000..8342cb4 --- /dev/null +++ b/iliad/create_iliad_package.sh @@ -0,0 +1,33 @@ +#!/bin/sh + +VERSION=0.9 + +mkdir -p Chimara/chimara +mkdir -p Chimara/interpreters +mkdir -p Chimara/games + +# Iliad specific files +cp manifest.xml Chimara/manifest.xml +cp iliad_refresh.conf Chimara/iliad_refresh.conf +cp run.sh Chimara/run.sh +cp style.css Chimara/chimara/style.css +cp chimara.png Chimara/chimara.png + +# Chimara lib and player +cp ../libchimara/.libs/libchimara.so.0 Chimara/chimara/ +cp ../player/.libs/chimara_iliad Chimara/chimara/chimara + +# Interpreters +cp ../interpreters/frotz/.libs/frotz.so Chimara/interpreters/ +cp ../interpreters/git/.libs/git.so Chimara/interpreters/ +cp ../interpreters/glulxe/.libs/glulxe.so Chimara/interpreters/ +cp ../interpreters/nitfol/.libs/nitfol.so Chimara/interpreters/ + +# Games +cp ../tests/anchor.z8 iliad/Chimara/games/ +cp ../tests/CoSv3.blb iliad/Chimara/games/ + +# Create zip file +zip -r chimara-${VERSION}.zip Chimara + +echo "Iliad package created: chimara-${VERSION}.zip" diff --git a/iliad/iliad_refresh.conf b/iliad/iliad_refresh.conf new file mode 100755 index 0000000..79a8829 --- /dev/null +++ b/iliad/iliad_refresh.conf @@ -0,0 +1 @@ +Typing 100 diff --git a/iliad/manifest.xml b/iliad/manifest.xml new file mode 100755 index 0000000..64da7e7 --- /dev/null +++ b/iliad/manifest.xml @@ -0,0 +1,19 @@ + + + + + Chimara + Interactive Fiction Player + 2009-11-17T15:00:00 + + + + + + run.sh + chimara.png + 000 + 2457600 + + + diff --git a/iliad/run.sh b/iliad/run.sh new file mode 100755 index 0000000..a8a4551 --- /dev/null +++ b/iliad/run.sh @@ -0,0 +1,8 @@ +export DISPLAY=:0 +export LD_LIBRARY_PATH=. +export scriptdir=`/usr/bin/dirname $0` +cd $scriptdir +cd chimara +export HOME=`pwd` +#./xepdmgr :0 ./iliad ../games/anchor.z8 +./iliad ../games/anchor.z8 diff --git a/iliad/style.css b/iliad/style.css new file mode 100644 index 0000000..7f0d1fc --- /dev/null +++ b/iliad/style.css @@ -0,0 +1,81 @@ +/* Possible windows: + * grid + * buffer + * + * Possible selectors: + * normal + * emphasized + * preformatted + * header + * subheader + * alert + * note + * block-quote + * input + * user1 + * user2 + * hyperlink + * + * Possible style hints: + * font-family (string) + * font-size (float) + * font-weight (normal/bold) + * font-style (normal/italic) + * color (#hex-value) + * background-color (#hex-value) + * text-align (left/right/center) + */ +grid.normal { + font-size: 10; +} + +grid.user1 { + color: #303030; + background-color: #ffffff; +} + +buffer.normal { + font-size: 10; +} + +buffer.header { + font-size: 14; + font-weight: bold; + text-align: center; +} + +buffer.subheader { + font-size: 12; + font-weight: bold; +} + +buffer.alert { + color: #aa0000; + font-weight: bold; +} + +buffer.note { + color: #aaaa00; + font-weight: bold; +} + +buffer.block-quote { + text-align: center; + font-style: italic; +} + +buffer.input { + color: #0000aa; + font-style: italic; +} + +buffer.user1 { +} + +buffer.user2 { +} + +buffer.pager { + color: #ffffff; + background-color: #303030; +}