add Puck Man action shot, fix name matching bugs in mini-attract mode generation script

This commit is contained in:
4am 2020-01-20 14:56:57 -05:00
parent be9765ca75
commit 0aeb4015ae
10 changed files with 13 additions and 12 deletions

View File

@ -10,7 +10,8 @@ cat res/games.conf |
cut -d"=" -f1 | \
while read game; do
# if I knew how to use awk, this could be O(N) instead of O(N^2)
name=`cat res/games.conf | tr "\r" "\n" | grep "$game=" | cut -d"=" -f2`
name=`cat res/games.conf | tr "\r" "\n" | grep ",$game=" | cut -d"=" -f2`
echo "$game"" ""$name"
# initialize attract mode configuration file for this game
echo "#\n# Attract mode for $name\n#\n" > /tmp/g
@ -26,7 +27,7 @@ cat res/games.conf |
# add DHGR action screenshots, if any
cat res/ss/ACTDHGR*.CONF |
tr "\r" "\n" |
grep "$game""$" |
egrep "(^|=)""$game""$" |
cut -d"=" -f1 |
sed -e "s/^/ACTION.DHGR\//g" |
sed -e "s/$/=B/g" |
@ -36,7 +37,7 @@ cat res/games.conf |
# add HGR action screenshots, if any
cat res/ss/ACTION*.CONF |
tr "\r" "\n" |
grep "$game""$" |
egrep "(^|=)""$game""$" |
cut -d"=" -f1 |
sed -e "s/^/ACTION.HGR\//g" |
sed -e "s/$/=A/g" |
@ -46,7 +47,7 @@ cat res/games.conf |
# add GR action screenshots, if any
cat res/ss/ACTGR*.CONF |
tr "\r" "\n" |
grep "$game""$" |
egrep "(^|=)""$game""$" |
cut -d"=" -f1 |
sed -e "s/^/ACTION.GR\//g" |
sed -e "s/$/=D/g" |

BIN
res/action.hgr/PUCK.MAN Normal file

Binary file not shown.

View File

@ -1 +1 @@
# # Attract mode for Head On Hyper Head On # ACTION.HGR/HEAD.ON=A ACTION.HGR/HYPER.HEAD.ON2=A ACTION.HGR/HYPER.HEAD.ON=A [eof]
# # Attract mode for Head On # ACTION.HGR/HEAD.ON=A [eof]

View File

@ -1 +1 @@
# # Attract mode for Mario Bros # ARTWORK.SHR/MARIO.BROS=C ACTION.HGR/MARIO.BROS2=A ACTION.HGR/MARIO.BROS3=A ACTION.HGR/MARIO.BROS=A [eof]
# # Attract mode for Mario Bros. # ARTWORK.SHR/MARIO.BROS=C ACTION.HGR/MARIO.BROS2=A ACTION.HGR/MARIO.BROS3=A ACTION.HGR/MARIO.BROS=A [eof]

View File

@ -1 +1 @@
# # Attract mode for Mr. Do # ACTION.HGR/MR.DO.L01=A ACTION.HGR/MR.DO.L02=A ACTION.HGR/MR.DO.L03=A ACTION.HGR/MR.DO.L10=A [eof]
# # Attract mode for Mr. Do! # ACTION.HGR/MR.DO.L01=A ACTION.HGR/MR.DO.L02=A ACTION.HGR/MR.DO.L03=A ACTION.HGR/MR.DO.L10=A [eof]

View File

@ -1 +1 @@
# # Attract mode for Out Of This World # ACTION.GR/OOTW=D [eof]
# # Attract mode for Out of This World # ACTION.GR/OOTW=D [eof]

View File

@ -1 +1 @@
# # Attract mode for Pac-Man # ARTWORK.SHR/PAC.MAN=C ACTION.HGR/PAC.MAN=A PAC.MAN=0 [eof]
# # Attract mode for Pac-Man # ARTWORK.SHR/PAC.MAN=C ACTION.HGR/PAC.MAN=A [eof]

View File

@ -1 +1 @@
# # Attract mode for Pit Stop II # ARTWORK.SHR/PITSTOP.II=C ACTION.HGR/PITSTOP.II=A [eof]
# # Attract mode for Pitstop II # ARTWORK.SHR/PITSTOP.II=C ACTION.HGR/PITSTOP.II=A [eof]

View File

@ -1 +1 @@
# # Attract mode for Puckman # [eof]
# # Attract mode for Puck Man # ACTION.HGR/PUCK.MAN=A [eof]

View File

@ -1 +1 @@
# # action shots slideshow of games that begin with "P","Q","R" # QUADRANT.6112 RESCUE.RAIDERS2=RESCUE.RAIDERS PITFALL.II PEST.PATROL2=PEST.PATROL PHASER.FIRE PICNIC.PARANOIA RUSSKI.DUCK RENEGADE RIBBIT ROADBLOCK [eof]
# # action shots slideshow of games that begin with "P","Q","R" # QUADRANT.6112 RESCUE.RAIDERS2=RESCUE.RAIDERS PITFALL.II PEST.PATROL2=PEST.PATROL PHASER.FIRE PICNIC.PARANOIA RUSSKI.DUCK RENEGADE RIBBIT ROADBLOCK PUCK.MAN [eof]