Exported latest revision from sourceforge cvs, discarding history.
|
After Width: | Height: | Size: 926 B |
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
|
||||
<plist version="0.9">
|
||||
<dict>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.passage</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>SleepIsDeath</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>SleepIsDeath.icns</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>SleepIsDeath</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>0</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>SleepIsDeath</string>
|
||||
<key>CFBundleLongVersionString</key>
|
||||
<string>0</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>Public Domain, 2010</string>
|
||||
<key>LSRequiresCarbon</key>
|
||||
<true/>
|
||||
<key>CSResourcesFileMapped</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1 @@
|
||||
APPL????
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,23 @@
|
||||
To mount dmg:
|
||||
|
||||
hdiutil mount Test.dmg
|
||||
|
||||
|
||||
To unmount:
|
||||
|
||||
hdiutil unmount /Volumes/Test
|
||||
|
||||
|
||||
To convert DMG to compressed:
|
||||
|
||||
hdiutil convert Test.dmg -format UDZO -o Test_compressed.dmg
|
||||
|
||||
|
||||
To convert compressed DMG to R/W:
|
||||
|
||||
hdiutil convert Test_compressed.dmg -format UDRW -o Test.dmg
|
||||
|
||||
|
||||
To rename a volume:
|
||||
|
||||
diskutil rename /Volumes/NameA NameB
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 905 B |
@@ -0,0 +1,72 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Modification History
|
||||
#
|
||||
# 2007-November-12 Jason Rohrer
|
||||
# Copied from Cultivation build.
|
||||
#
|
||||
|
||||
|
||||
if [ $# -lt 3 ] ; then
|
||||
echo "Usage: $0 release_name unix_platform_name path_to_SDL.framework"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
rm -rf mac
|
||||
|
||||
mkdir mac
|
||||
|
||||
|
||||
|
||||
mkdir mac/SleepIsDeath
|
||||
mkdir mac/SleepIsDeath/graphics
|
||||
mkdir mac/SleepIsDeath/settings
|
||||
mkdir mac/SleepIsDeath/languages
|
||||
mkdir mac/SleepIsDeath/templates
|
||||
mkdir mac/SleepIsDeath/loadingBay
|
||||
mkdir mac/SleepIsDeath/importOldCache
|
||||
|
||||
|
||||
cp ../gameSource/resourceSet15.tar.gz .
|
||||
tar xzf resourceSet15.tar.gz
|
||||
cp -r resourceSet15/* mac/SleepIsDeath/
|
||||
rm -r resourceSet15/ resourceSet15.tar.gz
|
||||
|
||||
|
||||
|
||||
cp ../gameSource/graphics/*.tga mac/SleepIsDeath/graphics
|
||||
cp ../gameSource/settings/*.ini mac/SleepIsDeath/settings
|
||||
cp ../gameSource/languages/*.txt mac/SleepIsDeath/languages
|
||||
cp ../gameSource/templates/*.php mac/SleepIsDeath/templates
|
||||
cp ../gameSource/templates/*.html mac/SleepIsDeath/templates
|
||||
cp ../gameSource/templates/*.png mac/SleepIsDeath/templates
|
||||
cp ../gameSource/language.txt mac/SleepIsDeath
|
||||
cp ../documentation/Readme.txt mac/SleepIsDeath
|
||||
cp ../documentation/Upgrading.txt mac/SleepIsDeath
|
||||
|
||||
|
||||
|
||||
|
||||
cp -r macOSX/SleepIsDeath.app mac/SleepIsDeath/SleepIsDeath.app
|
||||
cp ../gameSource/SleepIsDeath mac/SleepIsDeath/SleepIsDeath.app/Contents/MacOS
|
||||
|
||||
rm -r mac/SleepIsDeath/SleepIsDeath.app/CVS
|
||||
rm -r mac/SleepIsDeath/SleepIsDeath.app/Contents/CVS
|
||||
rm -r mac/SleepIsDeath/SleepIsDeath.app/Contents/MacOS/CVS
|
||||
rm -r mac/SleepIsDeath/SleepIsDeath.app/Contents/Resources/CVS
|
||||
rm -r mac/SleepIsDeath/SleepIsDeath.app/Contents/Frameworks/CVS
|
||||
|
||||
# install SDL framework
|
||||
cp -r $3 mac/SleepIsDeath/SleepIsDeath.app/Contents/Frameworks/
|
||||
|
||||
cd mac
|
||||
tar cf "SleepIsDeath_$1_$2.tar" SleepIsDeath
|
||||
gzip "SleepIsDeath_$1_$2.tar"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,102 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Modification History
|
||||
#
|
||||
# 2007-November-12 Jason Rohrer
|
||||
# Copied from Cultivation build.
|
||||
#
|
||||
|
||||
|
||||
if [ $# -lt 2 ] ; then
|
||||
echo "Usage: $0 release_name unix_platform_name"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
rm -rf unix
|
||||
rm -rf windows
|
||||
|
||||
mkdir windows
|
||||
mkdir unix
|
||||
|
||||
|
||||
# work on unix tree first
|
||||
mkdir unix/SleepIsDeath
|
||||
mkdir unix/SleepIsDeath/graphics
|
||||
mkdir unix/SleepIsDeath/settings
|
||||
mkdir unix/SleepIsDeath/languages
|
||||
mkdir unix/SleepIsDeath/templates
|
||||
mkdir unix/SleepIsDeath/loadingBay
|
||||
mkdir unix/SleepIsDeath/importOldCache
|
||||
|
||||
|
||||
|
||||
cp ../gameSource/resourceSet15.tar.gz .
|
||||
tar xzf resourceSet15.tar.gz
|
||||
cp -r resourceSet15/* unix/SleepIsDeath/
|
||||
rm -r resourceSet15/ resourceSet15.tar.gz
|
||||
|
||||
|
||||
|
||||
cp ../gameSource/graphics/*.tga unix/SleepIsDeath/graphics
|
||||
cp ../gameSource/settings/*.ini unix/SleepIsDeath/settings
|
||||
cp ../gameSource/languages/*.txt unix/SleepIsDeath/languages
|
||||
cp ../gameSource/templates/*.php unix/SleepIsDeath/templates
|
||||
cp ../gameSource/templates/*.html unix/SleepIsDeath/templates
|
||||
cp ../gameSource/templates/*.png unix/SleepIsDeath/templates
|
||||
cp ../gameSource/language.txt unix/SleepIsDeath
|
||||
cp ../documentation/Readme.txt unix/SleepIsDeath
|
||||
cp ../documentation/Upgrading.txt unix/SleepIsDeath
|
||||
|
||||
|
||||
|
||||
# duplicate unix tree so far to make windows tree
|
||||
cp -r unix/SleepIsDeath windows/
|
||||
|
||||
cp ../gameSource/SleepIsDeath unix/SleepIsDeath/
|
||||
|
||||
cp win32/SleepIsDeath.exe win32/*.dll windows/SleepIsDeath/
|
||||
|
||||
cd unix
|
||||
tar cf "SleepIsDeath_$1_$2.tar" SleepIsDeath
|
||||
gzip "SleepIsDeath_$1_$2.tar"
|
||||
|
||||
|
||||
cd ..
|
||||
|
||||
g++ -o unix2dos unix2dos.c
|
||||
cp unix2dos windows
|
||||
cp unix2dosScript windows
|
||||
|
||||
|
||||
cd windows
|
||||
|
||||
|
||||
for file in SleepIsDeath/languages/*.txt
|
||||
do
|
||||
./unix2dosScript "$file"
|
||||
done
|
||||
|
||||
for file in SleepIsDeath/templates/*.php
|
||||
do
|
||||
./unix2dosScript "$file"
|
||||
done
|
||||
|
||||
for file in SleepIsDeath/templates/*.html
|
||||
do
|
||||
./unix2dosScript "$file"
|
||||
done
|
||||
|
||||
|
||||
./unix2dosScript "SleepIsDeath/resourceCache/stringDatabase.txt"
|
||||
./unix2dosScript "SleepIsDeath/Readme.txt"
|
||||
./unix2dosScript "SleepIsDeath/Upgrading.txt"
|
||||
|
||||
|
||||
zip -r "SleepIsDeath_$1_Windows.zip" SleepIsDeath
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
rm -r minorGems/ai
|
||||
rm -r minorGems/bench
|
||||
rm -r minorGems/doc
|
||||
rm -r minorGems/examples
|
||||
rm -r minorGems/sound
|
||||
|
||||
rm -r SleepIsDeath/documentation/guides
|
||||
rm -r SleepIsDeath/documentation/html
|
||||
rm -r SleepIsDeath/documentation/installation
|
||||
rm -r SleepIsDeath/documentation/press
|
||||
rm -r SleepIsDeath/documentation/releasePlan
|
||||
rm -r SleepIsDeath/documentation/teaser
|
||||
|
||||
rm SleepIsDeath/gameSource/resourcePack*.tar.gz
|
||||
rm SleepIsDeath/gameSource/resourceSet10.tar.gz
|
||||
rm SleepIsDeath/gameSource/resourceSet12.tar.gz
|
||||
rm SleepIsDeath/gameSource/resourceSet14.tar.gz
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
SOURCEDIR=`pwd`
|
||||
echo "running export from $SOURCEDIR"
|
||||
|
||||
cd ../../../../minorGems
|
||||
hg archive $SOURCEDIR/minorGems
|
||||
|
||||
cd $SOURCEDIR
|
||||
|
||||
cvs -z3 -d:ext:jcr13@hcsoftware.cvs.sourceforge.net:/cvsroot/hcsoftware export -r HEAD SleepIsDeath
|
||||
@@ -0,0 +1,82 @@
|
||||
#!/bin/bash
|
||||
|
||||
#
|
||||
# Modification History
|
||||
#
|
||||
# 2010-April-2 Andy Sommerville
|
||||
# - Added a few "|| exit 1" to terminate as soon as error occurs.
|
||||
# - Read menu choice from argv[1].
|
||||
# - Added "-p" to mkdir to suppress "already exists" message.
|
||||
# - Added automatic backup of "resourceCache". (wish I'd thought of that a few minutes ago....)
|
||||
#
|
||||
# 2007-November-12 Jason Rohrer
|
||||
# Copied from Cultivation.
|
||||
#
|
||||
|
||||
|
||||
cd SleepIsDeath
|
||||
chmod u+x ./configure
|
||||
./configure $@ || exit 1
|
||||
|
||||
|
||||
echo "Building miniUPNP..."
|
||||
|
||||
cd ../minorGems/network/upnp/miniupnpc
|
||||
make || exit 1
|
||||
cd ../../../../SleepIsDeath
|
||||
|
||||
|
||||
cd gameSource
|
||||
|
||||
|
||||
echo "Building SleepIsDeath..."
|
||||
|
||||
make || exit 1
|
||||
|
||||
|
||||
|
||||
cd ../..
|
||||
|
||||
mkdir -p graphics
|
||||
mkdir -p settings
|
||||
mkdir -p languages
|
||||
mkdir -p templates
|
||||
mkdir -p loadingBay
|
||||
mkdir -p importOldCache
|
||||
|
||||
# this now happens from resource pack expansion, below
|
||||
#mkdir resourceCache
|
||||
#cd resourceCache
|
||||
#mkdir object room sprite tile
|
||||
#cd ..
|
||||
|
||||
|
||||
cp SleepIsDeath/gameSource/SleepIsDeath ./SleepIsDeathApp
|
||||
cp SleepIsDeath/documentation/Readme.txt .
|
||||
cp SleepIsDeath/documentation/Upgrading.txt .
|
||||
cp SleepIsDeath/gameSource/graphics/* ./graphics
|
||||
cp SleepIsDeath/gameSource/settings/* ./settings
|
||||
cp SleepIsDeath/gameSource/languages/* ./languages
|
||||
cp SleepIsDeath/gameSource/language.txt ./
|
||||
cp SleepIsDeath/gameSource/templates/*.php ./templates
|
||||
cp SleepIsDeath/gameSource/templates/*.html ./templates
|
||||
cp SleepIsDeath/gameSource/templates/*.png ./templates
|
||||
|
||||
# backup old resources
|
||||
if [ -d resourceCache ] ; then
|
||||
BACKUP=resourceCache-backup-$(date '+%Y%m%d%H%M%S').tar.gz
|
||||
echo "Backing up resources to $BACKUP"
|
||||
tar -czf $BACKUP resourceCache
|
||||
fi
|
||||
|
||||
# copy default resources
|
||||
tar xzf SleepIsDeath/gameSource/resourceSet15.tar.gz
|
||||
|
||||
cp -r resourceSet15/* .
|
||||
|
||||
|
||||
echo "Run SleepIsDeathApp to play."
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
while(1) {
|
||||
int c = getchar();
|
||||
|
||||
if(c == EOF)
|
||||
exit(0);
|
||||
|
||||
if(c == '\n') {
|
||||
putchar(015); /* ^M */
|
||||
putchar(012); /* ^J */
|
||||
} else {
|
||||
putchar(c);
|
||||
}
|
||||
}
|
||||
|
||||
exit(0);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
|
||||
cat "$1" | ./unix2dos > tempUNIX2DOS.txt
|
||||
|
||||
cp -f tempUNIX2DOS.txt "$1"
|
||||
|
||||
rm -f tempUNIX2DOS.txt
|
||||
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 184 B |
@@ -0,0 +1 @@
|
||||
IDI_ICON1 ICON DISCARDABLE "icon.ico"
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 134 B |