mirror of
https://github.com/a2-4am/4sports.git
synced 2025-04-04 14:29:45 +00:00
stop adding a phantom HGR screenshot for GR titles
This commit is contained in:
parent
c5fcf6621f
commit
945f8158bf
@ -1,7 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
shopt -s extglob # Enables extglob
|
||||
|
||||
# run from project root directory
|
||||
|
||||
cat res/GAMES.CONF |
|
||||
@ -27,7 +25,10 @@ cat res/GAMES.CONF |
|
||||
uniq >> /tmp/g
|
||||
|
||||
# add HGR action screenshots, if any
|
||||
cat res/SS/ACT!(*DHGR*).CONF |
|
||||
for f in $(ls res/SS/ACT*.CONF | grep -v ACTDHGR | grep -v ACTGR); do
|
||||
cat "$f";
|
||||
done > /tmp/hgr
|
||||
cat /tmp/hgr |
|
||||
egrep "(^|=)""$game""$" |
|
||||
cut -d"=" -f1 |
|
||||
sed -e "s/^/ACTION.HGR\//g" |
|
||||
@ -55,4 +56,5 @@ cat res/GAMES.CONF |
|
||||
|
||||
# clean up
|
||||
rm /tmp/g
|
||||
rm /tmp/hgr
|
||||
done
|
||||
|
@ -3,7 +3,6 @@
|
||||
# This file is automatically generated
|
||||
#
|
||||
|
||||
ACTION.HGR/FUJI.SPEED.WAY=A
|
||||
ACTION.GR/FUJI.SPEED.WAY=D
|
||||
|
||||
[eof]
|
||||
|
Loading…
x
Reference in New Issue
Block a user