mirror of
https://github.com/a2-4am/4sports.git
synced 2025-01-18 06:32:25 +00:00
add action screenshot and box art for Autobahn
This commit is contained in:
parent
ded3b3087e
commit
0e64b80d3e
34
bin/toshr.sh
Executable file
34
bin/toshr.sh
Executable file
@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Add or unconditionally replace SHR file with newly converted PNG file
|
||||
# Also saves final error score from conversion
|
||||
# Also removes old compressed asset of the same name, if any
|
||||
|
||||
# parameters
|
||||
# 1 - input file (PNG, must be properly sized and named)
|
||||
|
||||
# Python 3
|
||||
PYTHON="python"
|
||||
|
||||
# https://github.com/KrisKennaway/ii-pix/
|
||||
CONVERT_PY="$HOME/Documents/a2/ii-pix/convert.py"
|
||||
|
||||
# directories within Total Replay repository
|
||||
SHR_SCORES="./res/ARTWORK.SHR.SCORES"
|
||||
SHR_COMPRESSED="./res/ARTWORK.SHR"
|
||||
SHR_UNCOMPRESSED="./res/ARTWORK.SHR.UNCOMPRESSED"
|
||||
|
||||
inputname=$(basename "$1") # e.g. "ZAXXON.png"
|
||||
shr_name="${inputname%.*}" # e.g. "ZAXXON"
|
||||
|
||||
"$PYTHON" "$CONVERT_PY" shr \
|
||||
--no-show-output \
|
||||
--no-save-preview \
|
||||
--fixed-colours=1 \
|
||||
--show-final-score \
|
||||
"$1" \
|
||||
"$SHR_UNCOMPRESSED/$shr_name" | \
|
||||
grep FINAL_SCORE | \
|
||||
cut -d":" -f2 \
|
||||
> "$SHR_SCORES/$shr_name"
|
||||
rm -f "$SHR_COMPRESSED/$shr_name"
|
BIN
res/ACTION.HGR.UNCOMPRESSED/AUTOBAHN
Normal file
BIN
res/ACTION.HGR.UNCOMPRESSED/AUTOBAHN
Normal file
Binary file not shown.
BIN
res/ACTION.HGR/AUTOBAHN
Normal file
BIN
res/ACTION.HGR/AUTOBAHN
Normal file
Binary file not shown.
@ -1,6 +1,7 @@
|
||||
# This file is automatically generated
|
||||
|
||||
AMER.CHALLENGE=Type(06),AuxType(3FF8),Access(C3)
|
||||
AUTOBAHN=Type(06),AuxType(3FF8),Access(C3)
|
||||
BLACK.BELT=Type(06),AuxType(3FF8),Access(C3)
|
||||
BLACK.BELT2=Type(06),AuxType(3FF8),Access(C3)
|
||||
BOP.N.WRESTLE=Type(06),AuxType(3FF8),Access(C3)
|
||||
|
1
res/ARTWORK.SHR.SCORES/AUTOBAHN
Normal file
1
res/ARTWORK.SHR.SCORES/AUTOBAHN
Normal file
@ -0,0 +1 @@
|
||||
118.4183059321748
|
BIN
res/ARTWORK.SHR.UNCOMPRESSED/AUTOBAHN
Normal file
BIN
res/ARTWORK.SHR.UNCOMPRESSED/AUTOBAHN
Normal file
Binary file not shown.
Binary file not shown.
@ -31,6 +31,7 @@ ACTDHGR1.CONF=4
|
||||
ACTBASKETB.CONF=2
|
||||
CATLOUNGE.CONF=1
|
||||
ACTDHGRWD.CONF=4
|
||||
SHR4.CONF=5
|
||||
|
||||
#set 5
|
||||
CATSKIING.CONF=1
|
||||
@ -56,6 +57,9 @@ ACTSUMGAM.CONF=2
|
||||
ACTGR1.CONF=6
|
||||
CATFLIGHT.CONF=1
|
||||
|
||||
#set 8
|
||||
ACTS.CONF=2
|
||||
|
||||
[eof]
|
||||
|
||||
#
|
||||
|
@ -4,5 +4,6 @@
|
||||
#
|
||||
|
||||
ARTWORK.SHR/AUTOBAHN=C
|
||||
ACTION.HGR/AUTOBAHN=A
|
||||
|
||||
[eof]
|
||||
|
@ -12,7 +12,6 @@ FORMULA.1.RACER
|
||||
FS2
|
||||
INTL.GRAN.PRIX
|
||||
HARDBALL
|
||||
ONE.ON.ONE
|
||||
ONE.ON.ONE2=ONE.ON.ONE
|
||||
AUTOBAHN
|
||||
|
||||
[eof]
|
||||
|
@ -1,19 +1,13 @@
|
||||
#
|
||||
# action shots slideshow of games that begin with "N"-"Z"
|
||||
# action shots slideshow of games that begin with "N"-"Z", excluding "S"
|
||||
#
|
||||
|
||||
SUMMER.GAMES
|
||||
SUM.GAMES.II01=SUMMER.GAMES.II
|
||||
WORLD.KARATE
|
||||
SKI.CRAZED2=SKI.CRAZED
|
||||
SPDWAY.CLASSIC
|
||||
TAG.TEAM
|
||||
SHUFFLEBOARD2=SHUFFLEBOARD
|
||||
TRACK.AND.FIELD
|
||||
SPDWAY.CLASSIC2=SPDWAY.CLASSIC
|
||||
SHUFFLEBOARD
|
||||
SKI.CRAZED
|
||||
WORLD.KARATE2=WORLD.KARATE
|
||||
ONE.ON.ONE
|
||||
AMER.CHALLENGE
|
||||
TAG.TEAM
|
||||
WORLD.KARATE2=WORLD.KARATE
|
||||
ONE.ON.ONE2=ONE.ON.ONE
|
||||
|
||||
[eof]
|
||||
|
@ -6,5 +6,6 @@ SPDWAY.CLASSIC
|
||||
SPDWAY.CLASSIC2=SPDWAY.CLASSIC
|
||||
FORMULA.1.RACER
|
||||
INTL.GRAN.PRIX
|
||||
AUTOBAHN
|
||||
|
||||
[eof]
|
||||
|
14
res/SS/ACTS.CONF
Normal file
14
res/SS/ACTS.CONF
Normal file
@ -0,0 +1,14 @@
|
||||
#
|
||||
# action shots slideshow of games that begin with "S"
|
||||
#
|
||||
|
||||
SHUFFLEBOARD2=SHUFFLEBOARD
|
||||
SPDWAY.CLASSIC
|
||||
SKI.CRAZED
|
||||
SPDWAY.CLASSIC2=SPDWAY.CLASSIC
|
||||
SHUFFLEBOARD
|
||||
SUMMER.GAMES
|
||||
SUM.GAMES.II01=SUMMER.GAMES.II
|
||||
SKI.CRAZED2=SKI.CRAZED
|
||||
|
||||
[eof]
|
@ -5,5 +5,6 @@
|
||||
SPDWAY.CLASSIC
|
||||
FORMULA.1.RACER
|
||||
INTL.GRAN.PRIX
|
||||
AUTOBAHN
|
||||
|
||||
[eof]
|
||||
|
@ -2,10 +2,11 @@
|
||||
# HGR title slideshow of favorite games
|
||||
#
|
||||
|
||||
WORLD.KARATE
|
||||
HARDBALL
|
||||
FIGHT.NIGHT
|
||||
BOP.N.WRESTLE
|
||||
WORLD.KARATE
|
||||
SKI.CRAZED
|
||||
BOP.N.WRESTLE
|
||||
SPDWAY.CLASSIC
|
||||
|
||||
[eof]
|
||||
|
@ -7,6 +7,5 @@ CALI.GAMES
|
||||
WINTER.EDITION
|
||||
FIGHT.NIGHT
|
||||
KARATE.CHAMP
|
||||
HARDBALL
|
||||
|
||||
[eof]
|
||||
|
@ -7,7 +7,5 @@ ONE.ON.ONE
|
||||
TAG.TEAM
|
||||
WINTER.GAMES
|
||||
SS.BASEBALL
|
||||
SUMMER.GAMES.II
|
||||
FS2
|
||||
|
||||
[eof]
|
||||
|
@ -7,7 +7,5 @@ BOP.N.WRESTLE
|
||||
SS.BASKETBALL
|
||||
WORLD.KARATE
|
||||
BATTLE.CHESS
|
||||
WORLD.GAMES
|
||||
SUMMER.GAMES
|
||||
|
||||
[eof]
|
||||
|
12
res/SS/SHR4.CONF
Normal file
12
res/SS/SHR4.CONF
Normal file
@ -0,0 +1,12 @@
|
||||
#
|
||||
# super hi-res slideshow
|
||||
#
|
||||
|
||||
HARDBALL
|
||||
SUMMER.GAMES.II
|
||||
FS2
|
||||
WORLD.GAMES
|
||||
SUMMER.GAMES
|
||||
AUTOBAHN
|
||||
|
||||
[eof]
|
@ -10,5 +10,6 @@ FORMULA.1.RACER
|
||||
INTL.GRAN.PRIX
|
||||
HARDBALL
|
||||
FS2
|
||||
AUTOBAHN
|
||||
|
||||
[eof]
|
||||
|
@ -20,6 +20,7 @@ ACTKARATE.CONF=Type(04),AuxType(4000),Access(C3)
|
||||
ACTLOUNGE.CONF=Type(04),AuxType(4000),Access(C3)
|
||||
ACTNZ.CONF=Type(04),AuxType(4000),Access(C3)
|
||||
ACTRACING.CONF=Type(04),AuxType(4000),Access(C3)
|
||||
ACTS.CONF=Type(04),AuxType(4000),Access(C3)
|
||||
ACTSKIING.CONF=Type(04),AuxType(4000),Access(C3)
|
||||
ACTSUMGAM.CONF=Type(04),AuxType(4000),Access(C3)
|
||||
ACTSUMGAM2.CONF=Type(04),AuxType(4000),Access(C3)
|
||||
@ -40,6 +41,7 @@ FAVORITES.CONF=Type(04),AuxType(4000),Access(C3)
|
||||
SHR1.CONF=Type(04),AuxType(4000),Access(C3)
|
||||
SHR2.CONF=Type(04),AuxType(4000),Access(C3)
|
||||
SHR3.CONF=Type(04),AuxType(4000),Access(C3)
|
||||
SHR4.CONF=Type(04),AuxType(4000),Access(C3)
|
||||
TITLEAM.CONF=Type(04),AuxType(4000),Access(C3)
|
||||
TITLENZ.CONF=Type(04),AuxType(4000),Access(C3)
|
||||
_FileInformation.txt=Type(04),AuxType(4000),Access(C3)
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
## New games
|
||||
|
||||
- Autobahn
|
||||
- Black Belt
|
||||
- The American Challenge
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user