aboutsummaryrefslogtreecommitdiffstats
path: root/demos/applications/minesweeper/resources/original/convert_all_to_c.sh
diff options
context:
space:
mode:
Diffstat (limited to 'demos/applications/minesweeper/resources/original/convert_all_to_c.sh')
-rw-r--r--demos/applications/minesweeper/resources/original/convert_all_to_c.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/demos/applications/minesweeper/resources/original/convert_all_to_c.sh b/demos/applications/minesweeper/resources/original/convert_all_to_c.sh
new file mode 100644
index 00000000..856ef3d6
--- /dev/null
+++ b/demos/applications/minesweeper/resources/original/convert_all_to_c.sh
@@ -0,0 +1,22 @@
+!#/bin/bash
+
+./file2c -n mines_1 -f 1.bmp 1.bmp ../romfs_1.h
+./file2c -n mines_2 -f 2.bmp 2.bmp ../romfs_2.h
+./file2c -n mines_3 -f 3.bmp 3.bmp ../romfs_3.h
+./file2c -n mines_4 -f 4.bmp 4.bmp ../romfs_4.h
+./file2c -n mines_5 -f 5.bmp 5.bmp ../romfs_5.h
+./file2c -n mines_6 -f 6.bmp 6.bmp ../romfs_6.h
+./file2c -n mines_7 -f 7.bmp 7.bmp ../romfs_7.h
+./file2c -n mines_8 -f 8.bmp 8.bmp ../romfs_8.h
+./file2c -n mines_closed -f closed.bmp closed.bmp ../romfs_closed.h
+./file2c -n mines_empty -f empty.bmp empty.bmp ../romfs_empty.h
+./file2c -n mines_explode -f explode.bmp explode.bmp ../romfs_explode.h
+./file2c -n mines_flag -f flag.bmp flag.bmp ../romfs_flag.h
+./file2c -n mines_mine -f mine.bmp mine.bmp ../romfs_mine.h
+./file2c -n mines_wrong -f wrong.bmp wrong.bmp ../romfs_wrong.h
+
+./file2c -n mines_plainmine -f plainmine.bmp plainmine.bmp ../romfs_plainmine.h
+./file2c -n mines_plainflag -f plainflag.bmp plainflag.bmp ../romfs_plainflag.h
+./file2c -n mines_splash -f splash.bmp splash.bmp ../romfs_splash.h
+./file2c -n mines_splashtxt -f splashtxt.bmp splashtxt.bmp ../romfs_splashtxt.h
+./file2c -n mines_splashclr -f splashclr.bmp splashclr.bmp ../romfs_splashclr.h