Skip to content

Commit

Permalink
added xxd command to generate .h file
Browse files Browse the repository at this point in the history
  • Loading branch information
B3n30 committed Aug 15, 2017
1 parent cb0e12b commit 0e7e8ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shared_font/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e7e8ee

Please sign in to comment.