mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
More documentation in memory & unknown_077A0
This commit is contained in:
+5
-3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user