From: chaoskagami Date: Mon, 11 May 2015 13:30:52 +0000 (-0400) Subject: Updated build.sh and README X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=53e038242b6dd435ea3ef847023b1f8f4170ab8e;p=misc%2FMaihanaTL.git Updated build.sh and README --- diff --git a/README.txt b/README.txt index f2221aa..71698bc 100644 --- a/README.txt +++ b/README.txt @@ -80,8 +80,8 @@ information I know how to extract from what I have RE'd. You have only 256 bytes to work with for dialogue. By default, sjis can only have 128, but the program doesn't give a shit and both -does variable width and doesn't mind them being packed together. It -must end zero terminated. Also, newlines are inserted as 0x0A, so +does variable width and doesn't mind them being packed together. +That said, because only 256 bytes are available, reecoding the script as UTF-8 overflows. Don't try that. It must end zero terminated. Also, newlines are inserted as 0x0A, so DON'T USE WINDOWS LINE FORMATTING. PERIOD. I have no clue what havok \r could wreak on my code or the game, and it's a wasted byte. Also, you need to figure where newlines go manually - they are not automatic. diff --git a/build.sh b/build.sh index 111a71b..2c50ccf 100755 --- a/build.sh +++ b/build.sh @@ -32,7 +32,7 @@ if [ -d $1 ] && [ -d ../data/Data/Sce ]; then # Apply deltas. - for f in *.xdelta3; do + for f in `ls`; do APPLYTO=$(basename $f .xdelta3) mv ../../data/${APPLYTO}{,.bak} diff --git a/tools/scetool b/tools/scetool new file mode 100755 index 0000000..86f99d5 Binary files /dev/null and b/tools/scetool differ