From 0e7e8eef53649647b14dff1e5feb17bf7aa9c363 Mon Sep 17 00:00:00 2001 From: B3n30 Date: Tue, 15 Aug 2017 09:41:29 +0200 Subject: [PATCH] added xxd command to generate .h file --- shared_font/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shared_font/run.sh b/shared_font/run.sh index ce07a2b..5a23256 100755 --- a/shared_font/run.sh +++ b/shared_font/run.sh @@ -12,7 +12,9 @@ python bcfnt.py -cf code.bcfnt mkdir romfs ./3dstool/bin/Release/3dstool -zvf code.bcfnt --compress-type lzex --compress-out romfs/cbf_std.bcfnt.lz ./3dstool/bin/Release/3dstool -cvtf romfs romfs.bin --romfs-dir romfs -dd bs=4096 skip=1 if=romfs.bin of=00000000.app.romfs +dd bs=4096 skip=1 if=romfs.bin of=SHARED_FONT_DATA +xxd -i SHARED_FONT_DATA > shared_font.app.romfs.h +mv SHARED_FONT_DATA 00000000.app.romfs rm -rf 3dstool rm -rf romfs rm code.bcfnt