mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-03-21 17:34:42 -05:00
- Fix make clean by adding -f flag when removing output.json - Fix broken compress_lz10.sh script: it had a check to avoid compressing when the input bin file hasn't changed. But the -nt operator also returns false if the output file doesn't exist. - Fix compilation error on conflicting u32 typedef: libtonc defines one and so does data-generator. We shouldn't redefine it if the one from libtonc exists. The one in data-generator exists for compiling the tool for pc. - Fix Dockerfile. For some reason the Dockerfile was now failing because Ubuntu manages the python pip packages. I fixed it with the --break-system-packages shortcut. It should be fine.
11 lines
208 B
Bash
Executable File
11 lines
208 B
Bash
Executable File
#!/bin/sh
|
|
infile="$1"
|
|
outfile="data/$(basename "$infile" .bin)_lz10.bin"
|
|
if [ ! -f "$outfile" ] || [ "$infile" -nt "$outfile" ]; then
|
|
gbalzss e "$infile" "$outfile"
|
|
echo -n "C"
|
|
else
|
|
echo -n "S"
|
|
fi
|
|
|