You are not logged in.
I recently came across the game Digital: A love story (http://www.scoutshonour.com/digital/) and thought it a superb game, having been able to play it on widows on and off. I was disappointed to find out that I couldn't get it to function under x86_64 for whatever reason (I cant really remember any more). However, I feel it would most certainly make a nice addition to the AUR, even if only for 32-bit machines.
A semi-decent search revealed that it was not in any repo, and seeing as I couldn't get it to function, I cant make a package for it. Any takers?
Offline
That was fun, just played it due to your post. I had no problems with it functioning (x86_64). Cheers.
Offline
Wow, that was fun! I'll see if I can package it ![]()
It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)
Offline
Wow, that was fun! I'll see if I can package it
Cool, saves me the time, thanks. ![]()
Offline
Well, I took a look at it and for most parts it's easy & done. But the launcher script will need some sed magic (or patch) since creating a symlink in /usr/bin is useless due to some path errors. Basically, if you call Digital.sh directly inside the directory it'll run fine, but a symlink in /usr/bin doesn't work. Calling /usr/bin/digitalgame fails with:
$ digitalgame
/usr/bin/digitalgame: line 20: /usr/bin/lib/python: No such file or directory
/usr/bin/digitalgame: line 20: exec: /usr/bin/lib/python: cannot execute: No such file or directoryI've tried creating a patch for switching directories at runtime, but it doesn't seem to be enough. Here is the current PKGBUILD:
# Maintainer: Can Celasun <dcelasun[at]gmail[dot]com>
pkgname=digital
pkgver=1.1
pkgrel=1
pkgdesc='A computer mystery/romance set five minutes into the future of 1988.'
arch=('i686' 'x86_64')
url=('http://www.scoutshonour.com/digital/')
license=('CC-BY-NC-SA')
depends=('python')
source=(http://digital.artfulgamer.com/digital-${pkgver}.tar.bz2
'digitalgame.desktop'
'digital-directory.patch')
md5sums=('574e5c069626f4850ac4acd06c280951'
'cd1393159c5ac4512ca3f6f5928140a8'
'957f968a49021154d06d5ed69b206db5')
build() {
cp $srcdir/digital-directory.patch $srcdir/Digital-linux-x86
cd $srcdir/Digital-linux-x86
msg "Applying patches"
patch -i digital-directory.patch || return 1
install -dm755 $pkgdir/usr/share/digital-game
cp -R * $pkgdir/usr/share/digital-game
mkdir -p $pkgdir/usr/share/applications || return 1
cp $srcdir/digitalgame.desktop $pkgdir/usr/share/applications/digitalgame.desktop
# Create executable symlink
mkdir -p $pkgdir/usr/bin || return 1
ln -s $pkgdir/usr/share/digital-game/Digital.sh $pkgdir/usr/bin/digitalgame
}Here's the patch:
--- Digital.sh 2010-05-07 19:41:35.552940653 +0300
+++ Digital.sh 2010-05-07 19:42:08.070021867 +0300
@@ -16,5 +16,5 @@
exec "$launcher" "${0%.sh}.py" "$@"
fi
-
+cd `dirname $0`
exec "`dirname \"$0\"`/lib/python" "-OO" "${0%.sh}.py" "$@"... and here is the unpatched launcher script:
#!/bin/sh
# We assume Darwin means Mac OS X. Sorry, Darwin guys.
if [ "x`uname -s`" = "xDarwin" ]; then
dir=`dirname "$0"`
dir=`cd "$dir"; pwd`
base=`basename "$0"`
export RENPY_LAUNCHER_DIR="$dir"
if [ -e "$dir/${base%.sh}.app/Contents/MacOS/${base%.sh}" ] ; then
launcher="$dir/${base%.sh}.app/Contents/MacOS/${base%.sh}"
else
launcher="$dir/${base%.sh}.app/Contents/MacOS/Ren'Py Launcher"
fi
exec "$launcher" "${0%.sh}.py" "$@"
fi
exec "`dirname \"$0\"`/lib/python" "-OO" "${0%.sh}.py" "$@"Any ideas?
Last edited by dcc24 (2010-05-07 17:03:13)
It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)
Offline
Double post, sorry.
Last edited by dcc24 (2010-05-07 18:20:55)
It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)
Offline
Any news? This game seems interesting, it uses Ren'Py game engine for a non-anime game that is not so usual.
Offline
I've uploaded a working PKGBUILD to the AUR here.
Offline