1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-11-05 05:49:02 -08:00
mm/patch/oot-widescreen

16 lines
443 B
Text
Raw Normal View History

2016-04-09 04:47:53 -07:00
#!/usr/bin/env bash
set -e
rom=../roms/everything/"Legend of Zelda, The - Ocarina of Time - Master Quest (E) (Debug) [f1].z64"
lips=../Lua/lib/lips
(cd ..; cp "$rom" patch/oot-widescreen.z64)
# don't copy entire dir; avoid copying dotfiles (.git)
mkdir -p lips
cp "$lips"/* lips
luajit patch.lua -o 0 --extra-rom 0x035D0000 --extra-ram 0x80700000 widescreen-inline.asm oot-widescreen.z64
2016-04-09 04:47:53 -07:00
(cd ..; ./z64dump.py -f patch/oot-widescreen.z64)