Created
June 8, 2019 18:24
-
-
Save loveemu/665702871c8503f9e120ba330f8e7944 to your computer and use it in GitHub Desktop.
GSF creation and optimization example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Convert the patched ROM to gsflib | |
# | |
# https://github.com/loveemu/rom2gsf | |
rom2gsf -o AGB-BP7J-JPN.gsflib AGB-BP7J-JPN.gba | |
# 256 files are too many in most cases, | |
# but it's handy when the appropriate count is not sure | |
# | |
# https://github.com/loveemu/minigsf | |
minigsf --psfby loveemu AGB-BP7J-JPN 0x80002dc 1 256 | |
# Delete unsounding minigsfs before the optimization | |
# Create optimized gsflib | |
# | |
# https://github.com/loveemu/gsfopt | |
gsfopt -l *.minigsf | |
# mv AGB-BP7J-JPN-????.gsflib AGB-BP7J-JPN.gsflib | |
# Set timings to minigsfs | |
# | |
# This line can be executed in parallel with the line above if speedup is necessary | |
gsfopt -t -T *.minigsf | |
# Use psfpoint for other batch taggings | |
# | |
# https://github.com/loveemu/psfpoint | |
psfpoint "-comment=Foo Bar Baz" *.minigsf | |
psfpoint -psfby=loveemu *.gsflib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment