1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-05-05 16:43:24 -07:00

move all assembly files into their own directory

This commit is contained in:
Connor Olding 2016-09-27 13:46:50 -07:00
parent 447b5e751a
commit f28e6e78c6
31 changed files with 6 additions and 10 deletions

View File

@ -76,7 +76,7 @@ start:
]]
local function inject(fn, dumb)
local asm_dir = bizstring and 'inject/' or './mm/Lua/inject/'
local asm_dir = bizstring and '../patch/' or './mm/patch/'
local asm_path = asm_dir..fn
local point = dumb and no_point or injection_points[version]

View File

View File

@ -3,7 +3,6 @@ fast=0
[[ "$1" == "fast" ]] && fast=1 && shift || [[ "$1" == "test" ]] && fast=2 && shift
args="$@"
inject="$(readlink -f ../Lua/inject)"
lips="$(readlink -f ../Lua/lib/lips)"
YAZ0="$(readlink -f ../z64yaz0)"
DUMP="$(readlink -f ../z64dump.py)"
@ -74,9 +73,8 @@ copy_rom() {
}
cp *.lua build/
cp "$inject"/*.asm build/
cp *.asm build/
cp *.bin build/
#cp *.bin build/
cd build
# don't copy entire dir; avoid copying dotfiles (.git)

View File

@ -325,6 +325,6 @@ if [ $fast -ne 2 ]; then
quiet=0
fi
done
dump patch/build/patchme
dump asm/build/patchme
copy_rom "$out" 32
fi

View File

@ -1,7 +1,6 @@
#!/usr/bin/env bash
set -e
inject=../Lua/inject
rom=../../roms/everything/"Legend of Zelda, The - Ocarina of Time - Master Quest (E) (Debug) [f1].z64"
lips=../Lua/lib/lips
out=oot-spawner.z64
@ -12,4 +11,4 @@ luajit patch.lua \
-O 0x035D0000 -b $((0x80700000 - 0x035D0000)) \
'spawn O EUDB MQ.asm' "$out"
dump -f patch/build/"$out"
dump -f asm/build/"$out"

View File

@ -1,7 +1,6 @@
#!/usr/bin/env bash
set -e
inject=../Lua/inject
rom=../../roms/everything/"Legend of Zelda, The - Ocarina of Time - Master Quest (E) (Debug) [f1].z64"
lips=../Lua/lib/lips
out=oot-widescreen.z64
@ -10,6 +9,6 @@ out=oot-widescreen.z64
luajit patch.lua \
-O 0x035D0000 -b $((0x80700000 - 0x035D0000)) \
widescreen-inline.asm "$out"
widescreen-inline-rom.asm "$out"
dump -f patch/build/"$out"
dump -f asm/build/"$out"