1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-15 12:24:39 +00:00

dont use asm-processor, use iconv for reencoding utf8 to eucjp

This commit is contained in:
Dragorn421 2024-02-19 19:03:05 +01:00
parent 155ad4f59f
commit 1716be6696
No known key found for this signature in database
GPG key ID: 381AEBAF3D429335
3 changed files with 16 additions and 4 deletions

11
tools/reencode.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
set -e
srcfile="${@: -1}"
tempfile=`mktemp --tmpdir oot_XXXXXXXX.c`
iconv -f UTF-8 -t EUC-JP -o "$tempfile" "$srcfile"
"${@:1:$# - 1}" -I `dirname $srcfile` $tempfile