mirror of
https://github.com/knightfox75/nds_nflib.git
synced 2025-06-18 16:55:32 -04:00
examples: Add PNG files and conversion script for bg example
This commit is contained in:
parent
12537467ca
commit
a62119fe9b
BIN
examples/graphics/bg/assets/bg0.png
Normal file
BIN
examples/graphics/bg/assets/bg0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 56 KiB |
BIN
examples/graphics/bg/assets/bg1.png
Normal file
BIN
examples/graphics/bg/assets/bg1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
BIN
examples/graphics/bg/assets/bg2.png
Normal file
BIN
examples/graphics/bg/assets/bg2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
BIN
examples/graphics/bg/assets/bg3.png
Normal file
BIN
examples/graphics/bg/assets/bg3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
13
examples/graphics/bg/assets/convert.sh
Normal file
13
examples/graphics/bg/assets/convert.sh
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
grit nfl.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
|
||||
grit bg0.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
|
||||
grit bg1.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
|
||||
grit bg2.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
|
||||
grit bg3.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
|
||||
|
||||
for file in *.bin; do
|
||||
mv -- "$file" "${file%.bin}"
|
||||
done
|
||||
|
||||
mv *.pal *.img *.map ../nitrofiles/bg
|
BIN
examples/graphics/bg/assets/nfl.png
Normal file
BIN
examples/graphics/bg/assets/nfl.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 82 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.
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