mirror of
https://github.com/zeldaret/oot-gc.git
synced 2026-09-26 05:32:01 -04:00
f1bcded711
* mm: add config files and docs * mm: add dol-apply/diff fixes and uncomment versions in configure.py * review + added snddvdtrk.c & sndspecial.c in configure.py
18 lines
388 B
Bash
Executable File
18 lines
388 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Wrapper for `dtk dol diff` to locate the first diff in the dol.
|
|
# Usage: ./dol-diff [VERSION]
|
|
# If VERSION is not provided, it defaults to ce-j.
|
|
|
|
set -euo pipefail
|
|
|
|
VERSION=${1:-ce-j}
|
|
if [[ "$VERSION" = mm-* ]]
|
|
then
|
|
GAME="mm"
|
|
else
|
|
GAME="oot"
|
|
fi
|
|
ninja "build/$VERSION/$GAME-gc.elf"
|
|
build/tools/dtk dol diff "config/$VERSION/config.yml" "build/$VERSION/$GAME-gc.elf"
|