From f24a592987179b73646407815f91e7e6564316a0 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Sat, 26 Jan 2019 14:16:43 +0100 Subject: [PATCH] FlashBack --- .gitignore | 2 + {UNUSED/y => y}/FlashBack/SlackBuild | 32 +++++++------ .../y => y}/REminiscence_FlashBack/SlackBuild | 42 ++++++++---------- y/REminiscence_FlashBack/flashback.png | Bin 0 -> 4761 bytes y/REminiscence_FlashBack/nices_path.patch.gz | Bin 0 -> 323 bytes 5 files changed, 38 insertions(+), 38 deletions(-) rename {UNUSED/y => y}/FlashBack/SlackBuild (87%) rename {UNUSED/y => y}/REminiscence_FlashBack/SlackBuild (73%) create mode 100644 y/REminiscence_FlashBack/flashback.png create mode 100644 y/REminiscence_FlashBack/nices_path.patch.gz diff --git a/.gitignore b/.gitignore index 2cdcacc6..09ae36fd 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,5 @@ xap/st/patches/st-vertcenter* /d/crystal/completion.zsh *.pk3 *.pk4 +/xap/android-x86/android-8.1-r1/ +/xap/android-x86/usr diff --git a/UNUSED/y/FlashBack/SlackBuild b/y/FlashBack/SlackBuild similarity index 87% rename from UNUSED/y/FlashBack/SlackBuild rename to y/FlashBack/SlackBuild index f52f04bb..4d62843f 100755 --- a/UNUSED/y/FlashBack/SlackBuild +++ b/y/FlashBack/SlackBuild @@ -5,7 +5,7 @@ TAG=${TAG:-cyco} OUTPUT=${OUTPUT:-/tmp} TMP=/tmp/$TAG -PRGNAM=$(basename $(CWD)) +PRGNAM=$(basename $CWD) VERSION=${VERSION:-1.0} ARCH=${ARCH:-${ARCH:-dosbox}} BUILD=${BUILD:-1} @@ -15,12 +15,17 @@ PKG=$TMP/pkg-$PRGNAM rm -rf $PKG $TMP/${PRGNAM}-${VERSION} +mkdir -p $TMP cd $TMP -mkdir -p $PKG/usr/bin $PKG/usr/share/games +mkdir -p $PKG/usr/games/ $PKG/usr/share/games/ cd $PKG/usr/share/games +# [ ! -e $CWD/flashback-x86_64.tar.gz ] & wget -c -O $CWD/flashback-x86_64.tar.gz https://lutris.net/files/games/flashback/flashback-x86_64.tar.gz +# tar xvf $CWD/flashback-x86_64.tar.gz +# mv flashback FlashBack tar xf $CWD/FlashBack.tar.bz2 cd FlashBack +chmod a+w /usr/share/games/FlashBack/DATA/* cat < dosbox.config [sdl] @@ -46,10 +51,10 @@ memsize=16 # snapdir -- Directory where screenshots get saved. # scaler -- Scaler used to enlarge/enhance low resolution modes. # Supported are none,normal2x,advmame2x - +# scaler = none | normal2x | normal3x | tv2x | tv3x | rgb2x | rgb3x | scan2x | scan3x | advmame2x | advmame3x | advinterp2x | advinterp3x | 2xsai | super2xsai | supereagle | hq2x | hq3x frameskip=0 snapdir=snaps -scaler=normal2x +scaler=hq3x [cpu] # cycles -- Amount of instructions dosbox tries to emulate each millsecond. @@ -137,10 +142,9 @@ FB.EXE exit EOF -cd $PKG/usr/bin +cd $PKG/usr/games/ cat < flashback.sh #!/bin/sh - dosbox -conf /usr/share/games/FlashBack/dosbox.config EOF chmod +x flashback.sh @@ -163,15 +167,15 @@ cat < $PKG/install/slack-desc |-----handy-ruler------------------------------------------------------| ${PRGNAM}: ${PRGNAM} (FlashBack running in DosBox) ${PRGNAM}: -${PRGNAM}: -${PRGNAM}: -${PRGNAM}: -${PRGNAM}: -${PRGNAM}: -${PRGNAM}: -${PRGNAM}: +${PRGNAM}: +${PRGNAM}: +${PRGNAM}: +${PRGNAM}: +${PRGNAM}: +${PRGNAM}: +${PRGNAM}: ${PRGNAM}: see /usr/doc/${PRGNAM}-${VERSION} for more. -${PRGNAM}: +${PRGNAM}: EOF cd $PKG diff --git a/UNUSED/y/REminiscence_FlashBack/SlackBuild b/y/REminiscence_FlashBack/SlackBuild similarity index 73% rename from UNUSED/y/REminiscence_FlashBack/SlackBuild rename to y/REminiscence_FlashBack/SlackBuild index 2b932bd9..bd7905d7 100755 --- a/UNUSED/y/REminiscence_FlashBack/SlackBuild +++ b/y/REminiscence_FlashBack/SlackBuild @@ -10,7 +10,7 @@ TMP=/tmp/$TAG fi PRGNAM=REminiscence -VERSION=0.1.9 +VERSION=0.3.7 ARCH=${ARCH:-$(uname -m)} BUILD=1 @@ -38,6 +38,8 @@ rm -rf $PKG $TMP/${PRGNAM}-${VERSION} cd $TMP # --- TARBALL EXTRACTION,PATCH,MODIFY --- +[ ! -e $CWD/${PRGNAM}-${VERSION}.tar.bz2 ] && wget -c -O $CWD/${PRGNAM}-${VERSION}.tar.bz2 http://cyxdown.free.fr/reminiscence/REminiscence-${VERSION}.tar.bz2 +[ ! -e $CWD/flashback-x86_64.tar.gz ] & wget -c -O $CWD/flashback-x86_64.tar.gz https://lutris.net/files/games/flashback/flashback-x86_64.tar.gz echo "Extracting the program tarball for $PRGNAM..." tar xf $CWD/${PRGNAM}-${VERSION}.tar.bz2 @@ -47,7 +49,7 @@ cd ${PRGNAM}-${VERSION} chown -R root.root * find . -perm 777 -exec chmod 755 {} \; -zcat $CWD/nices_path-$VERSION.patch.gz | patch -p1 +zcat $CWD/nices_path.patch.gz | patch -p1 #zcat $CWD/bad_crc.diff.gz | patch -p1 # --- BUILDING --- @@ -60,40 +62,32 @@ make # # Install all the needed stuff to the package dir # -mkdir -p $PKG/usr/games $PKG/usr/share/games/ $PKG/var/lib/REminiscence +mkdir -p $PKG/usr/games $PKG/usr/share/games/ $PKG/var/lib/$PRGNAM mv rs $PKG/usr/games/ -( - cd $PKG/usr/games/ - ln -s rs REminiscence - ln -s rs flashback -) +cd $PKG/usr/games/ +ln -s rs REminiscence +ln -s rs flashback -( - cd $PKG/usr/share/games/ - tar xf $CWD/../FlashBack/FlashBack.tar.bz2 # jeu lui-même -) +cd $PKG/usr/share/games/ +tar xf $CWD/flashback-x86_64.tar.gz # jeu lui-même +mv flashback $PRGNAM mkdir -p $PKG/usr/share/pixmaps cp $CWD/flashback.png $PKG/usr/share/pixmaps # --- DOCUMENTATION --- cd $TMP/${PRGNAM}-${VERSION} -DOCS="README COPYING" - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.txt $PKG/usr/doc/$PRGNAM-$VERSION chmod -R a-w $PKG/usr/doc/$PRGNAM-$VERSION/* # Compress the man page(s) [ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; # Strip binaries -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) - +find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null # --- OWNERSHIP, RIGHTS --- @@ -119,13 +113,13 @@ ${PRGNAM}: ${PRGNAM} (Flashback game engine) ${PRGNAM}: ${PRGNAM}: ${PRGNAM} is a re-implementation of the engine used in the game ${PRGNAM}: Flashback made by Delphine Software and released in 1992. -${PRGNAM}: +${PRGNAM}: ${PRGNAM}: You will need the original files. -${PRGNAM}: +${PRGNAM}: ${PRGNAM}: Original files included. -${PRGNAM}: +${PRGNAM}: ${PRGNAM}: see /usr/doc/${PRGNAM}-${VERSION} for more. -${PRGNAM}: +${PRGNAM}: http://cyxdown.free.fr/reminiscence/ EOF # --- BUILDING --- diff --git a/y/REminiscence_FlashBack/flashback.png b/y/REminiscence_FlashBack/flashback.png new file mode 100644 index 0000000000000000000000000000000000000000..e92e18579ac583475399d8acb3964e7d3a6c1f40 GIT binary patch literal 4761 zcmY+EcQo8xx5s~DX7t{o_uigp(R=iaUSb4^QAUs6@~Ap5QGsV>L5h)-a8Xz zln{&{dYLQlz3W};e$HBZpY`2m@AcjP9Q-VP8K5@M(boY$1OVW4a{&AfKyx<`;Smae z00;m8hBp!ppww{kadZZpzTYSy`~vV402BP>CW4`0Fc=DjfWZ(bA@n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