mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-26 22:40:33 +00:00
20a1fb6998
In CUE files `FILE` is a stateful, global declaration that applies to all following `TRACK`s. `sotn-disk` was treating `FILE` declarations as `TRACK` delimiters which would result in incorrect parsing of CUE files with a single `FILE`, but multiple tracks. Now when reading a `FILE` declaration, the path is stored and processing continues. A `TRACK` declaration will use the previously defined path, and if a previous track had been started, append that previous track to the list. This also builds `sotn-disk` using the local repository instead of pulling the latest commit from GitHub. The target depends on `sotn-disk` sources and will rebuild as necessary (or with `make ~/go/bin/sotn-disk`). As an aside, [pull/232](https://github.com/Xeeynamo/sotn-decomp/pull/232) ran into this same error, but fixes in a slightly different way that leaves side effects that may make supporting things like `INDEX` (for extracting the placeholder audio, for example) more error prone in the future. Co-authored-by: Jonathan Hohle <jon@ttkb.co> |
||
---|---|---|
.. | ||
asm-differ@e8bddb0257 | ||
dups | ||
function_finder | ||
gfxsotn | ||
lints/sotn-lint | ||
m2c@beb457dabf | ||
maspsx@db2947b709 | ||
n64splat@828c34950b | ||
saturn-splitter@8d549a8042 | ||
sotn_str | ||
sotn-debugmodule | ||
sotn-disk | ||
splat_ext | ||
split_jpt_yaml | ||
vab-ex | ||
analyze_calls.py | ||
bin2c.py | ||
decompile.py | ||
dirt_patcher.py | ||
gfxstage.py | ||
m2ctx.py | ||
mwcpp_test.py | ||
mwcpp.py | ||
permuter_settings.toml | ||
png2bin.py | ||
png2s.py | ||
progress.py | ||
requirements-debian.txt | ||
requirements-python.txt | ||
richter_symbols.py | ||
spritesheet.py | ||
symbols_test.py | ||
symbols.py | ||
tools.mk | ||
update.h |