mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-21 13:53:49 -07:00
[OTR] Initial support for PNG textures (#1634)
This commit is contained in:
parent
fba4839705
commit
ec88b90ed8
15 changed files with 59 additions and 327 deletions
|
@ -12,7 +12,7 @@ while [ ! -e "$DATA_SHARE/oot.otr" ]; do
|
|||
export ASSETDIR
|
||||
cp -r "$RESPATH/assets" "$ASSETDIR"
|
||||
mkdir -p "$ASSETDIR"/tmp
|
||||
mkdir -p "$ASSETDIR"/Extract/assets
|
||||
mkdir -p "$ASSETDIR"/Extract
|
||||
DROPROM="$(osascript -ss - "$ASSETDIR" <<-EOF
|
||||
set romFile to choose file of type {"b64","n64","v64","z64"} with prompt "Please select your ROM:"
|
||||
set destinationFolder to POSIX file "$ASSETDIR"
|
||||
|
@ -32,7 +32,7 @@ while [ ! -e "$DATA_SHARE/oot.otr" ]; do
|
|||
fi
|
||||
done
|
||||
cp "$ASSETDIR"/*.*64 "$ASSETDIR"/tmp/rom.z64
|
||||
cp -r "$ASSETDIR"/assets/game/ship_of_harkinian "$ASSETDIR"/Extract/assets/
|
||||
cp -r "$ASSETDIR"/assets/game "$ASSETDIR"/Extract/assets/
|
||||
cd "$ASSETDIR" || return
|
||||
ROMHASH="$(shasum "$ASSETDIR"/tmp/rom.z64 | awk '{ print $1 }')"
|
||||
case "$ROMHASH" in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue