From ac6a547cddd69df06dcb309f9345ea4471ecda52 Mon Sep 17 00:00:00 2001 From: Koji Ikarashi Date: Wed, 18 Nov 2015 08:30:35 -0800 Subject: [PATCH] Strings --- README.md | 2 +- util/credits.sh | 2 +- util/{ebcdic.py => string.py} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename util/{ebcdic.py => string.py} (100%) diff --git a/README.md b/README.md index 9daf734..1c1833e 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Assets were created in NESST and Famitracker. ### Updating Strings -All strings in SplatooD are formatted as EBCDIC with an offset. Use the Python script in `util/ebcdic.py` to convert ASCII to appropriate arrays. +Strings in SplatooD are formatted as nul-terminated tileset IDs. There is a tool in `util/string.py` to generate C arrays from input text. ### Updating Nametable Headers diff --git a/util/credits.sh b/util/credits.sh index 18270f9..6384d9d 100644 --- a/util/credits.sh +++ b/util/credits.sh @@ -1,6 +1,6 @@ function credit_line() { echo -n "const unsigned char credits_$1[] = "; - echo "$2" | python ebcdic.py + echo "$2" | python string.py } diff --git a/util/ebcdic.py b/util/string.py similarity index 100% rename from util/ebcdic.py rename to util/string.py