nostalgia/build_rom.sh
Gary Talent 346b01be07 Start on support for 4 bpp images
This may be all that's needed, but there seems to be another issue
causing the characters to look weird, though that's probably a
filesystem issue.
2017-05-05 18:54:13 -05:00

13 lines
445 B
Bash
Executable File

#! /usr/bin/env bash
set -e
echo NOSTALGIA_MEDIA_HEADER_________ > media_header.txt
oxfs format 32 1m nostalgia_media.oxfs
./build/current/src/tools/nost-pack -fs nostalgia_media.oxfs -img charset.png -inode 101 -tiles 40 -bpp 4 -c
${DEVKITARM}/bin/padbin 32 build/gba-release/src/player/nostalgia.bin
cat build/gba-release/src/player/nostalgia.bin media_header.txt nostalgia_media.oxfs > nostalgia.gba
${DEVKITARM}/bin/gbafix nostalgia.gba