view build_nightly @ 1347:4c4beb22b042

King of the Monsters worked with my older more inaccurage 6-butotn pad emulation, but does not work with the real thing nor does it work with my current 6-butotn pad emulation. Added a ROM DB entry to force a 3-button pad for this game
author Michael Pavone <pavone@retrodev.com>
date Sat, 06 May 2017 00:09:14 -0700
parents 8e3adc6264d3
children 866577a220e6
line wrap: on
line source

#!/bin/sh

set -e

build_user=$1
needsu=$2
if [ "$needsu" = needsu ]; then
	su $build_user -c "$0 $1";
	exit
fi

cd /home/$build_user/blastem
hg revert -a
hg pull
hg up
rev=`hg summary |  sed -E -n 's/^parent: [^:]+:([^ ]+) .*$/\1/p'`
sed -i -E "s/(define BLASTEM_VERSION \"[^-]+)-pre\"/\1-pre-$rev\"/" blastem.c
./build_release