More documentation in memory & unknown_077A0

This commit is contained in:
David Benepe
2021-06-22 14:30:36 -05:00
parent e60a23aa07
commit a5592d684b
77 changed files with 1127 additions and 1008 deletions
+5 -3
View File
@@ -1,3 +1,5 @@
#!/bin/bash
if [[ $# == 0 || (($1 != "us_1.0") && ($1 != "us_1.1") && ($1 != "eu_1.0") && ($1 != "eu_1.1") && ($1 != "jp"))]]; then
echo 'Usage: ./extract.sh <version>'
echo 'Acceptable versions: us_1.0, us_1.1, eu_1.0, eu_1.1, jp'
@@ -7,18 +9,18 @@ fi
echo 'Extracting Assets...'
# Remove assets directory if it exists.
ASSETS_DIR="./assets/${$1}"
ASSETS_DIR="./assets/$1"
if [ -d "$ASSETS_DIR" ]; then
rm -r $ASSETS_DIR
fi
# Remove ucode directory if it exists.
UCODE_DIR="./ucode/${$1}"
UCODE_DIR="./ucode/$1"
if [ -d "$UCODE_DIR" ]; then
rm -r $UCODE_DIR
fi
if ! ./tools/dkr_extractor "$1" ./extract-ver ./baseroms .; then
if ! ./tools/dkr_extractor "$1" ./extract-ver ./baseroms . ; then
exit 1
fi