mirror of
https://github.com/knightfox75/nds_nflib.git
synced 2025-06-18 16:55:32 -04:00
examples: Add assets of graphics/bgextpalette example
This commit is contained in:
parent
be3050bca8
commit
3d2b4ebabb
BIN
examples/graphics/bgextpalette/assets/blue.png
Normal file
BIN
examples/graphics/bgextpalette/assets/blue.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
24
examples/graphics/bgextpalette/assets/convert.sh
Normal file
24
examples/graphics/bgextpalette/assets/convert.sh
Normal file
@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
|
||||
grit blue.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
|
||||
# Only generate palette for the other two
|
||||
grit red.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs -m! -g!
|
||||
grit green.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs -m! -g!
|
||||
|
||||
for file in *.bin; do
|
||||
mv -- "$file" "${file%.bin}"
|
||||
done
|
||||
|
||||
mv *.pal *.img *.map ../nitrofiles/bg
|
||||
|
||||
grit default.png -ftb -fh! -gTFF00FF -gt -gB8 -m!
|
||||
|
||||
for file in *.bin; do
|
||||
mv -- "$file" "${file%.bin}"
|
||||
done
|
||||
|
||||
for file in *.img; do
|
||||
mv -- "$file" "${file%.img}".fnt
|
||||
done
|
||||
|
||||
mv *.pal *.fnt ../nitrofiles/fnt
|
BIN
examples/graphics/bgextpalette/assets/default.png
Normal file
BIN
examples/graphics/bgextpalette/assets/default.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
examples/graphics/bgextpalette/assets/green.png
Normal file
BIN
examples/graphics/bgextpalette/assets/green.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
BIN
examples/graphics/bgextpalette/assets/red.png
Normal file
BIN
examples/graphics/bgextpalette/assets/red.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user