Add Some Tools and Assets to create cpp's for 0.9+
34
assets/build_assets.sh
Executable file
@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Create Directorys"
|
||||
mkdir -p build
|
||||
mkdir -p code
|
||||
|
||||
echo "Generating Spritesheets"
|
||||
cd resources
|
||||
|
||||
for file in *.t3s
|
||||
do
|
||||
filename=$(basename "$file" .t3s).t3x
|
||||
tex3ds -o "../build/$filename" -i "${file}"
|
||||
done
|
||||
|
||||
echo "Converting Spritesheets into C++ Code"
|
||||
cd ../code
|
||||
|
||||
for file in ../build/*.t3x
|
||||
do
|
||||
name="${file##*/}"
|
||||
name="${name%.*}"
|
||||
../../tools/bin/file2array "${file}" "${name}"
|
||||
done
|
||||
|
||||
echo "Convert Npi-Intro to C++ Code"
|
||||
../../tools/bin/file2array ../splash/npi_intro.nvid npi_intro
|
||||
|
||||
echo "Fix The Output of file2array"
|
||||
for file in ./*.cpp
|
||||
do
|
||||
../../tools/bin/rd7f2afix "${file}" "renderd7"
|
||||
done
|
||||
echo "Finished!"
|
7
assets/clear_assets.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Deleting Directorys"
|
||||
rm -rf build
|
||||
rm -rf code
|
||||
|
||||
echo "Finished!"
|
2
assets/resources/battery/README.md
Normal file
@ -0,0 +1,2 @@
|
||||
# Source
|
||||
https://icons8.de/
|
BIN
assets/resources/battery/battery_charging.png
Normal file
After Width: | Height: | Size: 900 B |
BIN
assets/resources/battery/battery_dead.png
Normal file
After Width: | Height: | Size: 739 B |
BIN
assets/resources/battery/battery_empty.png
Normal file
After Width: | Height: | Size: 388 B |
BIN
assets/resources/battery/battery_full.png
Normal file
After Width: | Height: | Size: 394 B |
BIN
assets/resources/battery/battery_half.png
Normal file
After Width: | Height: | Size: 437 B |
BIN
assets/resources/battery/battery_low.png
Normal file
After Width: | Height: | Size: 445 B |
BIN
assets/resources/battery/battery_nearfull.png
Normal file
After Width: | Height: | Size: 440 B |
BIN
assets/resources/battery/battery_verylow.png
Normal file
After Width: | Height: | Size: 447 B |
BIN
assets/resources/battery/battery_warning.png
Normal file
After Width: | Height: | Size: 638 B |
11
assets/resources/battery_icons.t3s
Normal file
@ -0,0 +1,11 @@
|
||||
--atlas -f rgba -z auto
|
||||
|
||||
battery/battery_full.png
|
||||
battery/battery_nearfull.png
|
||||
battery/battery_half.png
|
||||
battery/battery_low.png
|
||||
battery/battery_verylow.png
|
||||
battery/battery_warning.png
|
||||
battery/battery_charging.png
|
||||
battery/battery_empty.png
|
||||
battery/battery_dead.png
|
3
assets/resources/renderd7_logo.t3s
Normal file
@ -0,0 +1,3 @@
|
||||
--atlas -f rgba -z auto
|
||||
|
||||
renderd7_logo/renderd7_logo.png
|
BIN
assets/resources/renderd7_logo/renderd7_logo.png
Normal file
After Width: | Height: | Size: 13 KiB |
19
assets/resources/ui_elements.t3s
Normal file
@ -0,0 +1,19 @@
|
||||
--atlas -f rgba -z auto
|
||||
|
||||
ui_elements/high_volume.png
|
||||
ui_elements/mid_volume.png
|
||||
ui_elements/low_volume.png
|
||||
ui_elements/speaker_v1.png
|
||||
ui_elements/no_sound.png
|
||||
ui_elements/speaker.png
|
||||
|
||||
ui_elements/wifi_connected.png
|
||||
ui_elements/wifi_disconnected.png
|
||||
ui_elements/wifi_off.png
|
||||
|
||||
ui_elements/good_connection.png
|
||||
ui_elements/mid_connection.png
|
||||
ui_elements/bad_connection.png
|
||||
ui_elements/no_connection.png
|
||||
|
||||
ui_elements/headphones.png
|
2
assets/resources/ui_elements/README.md
Normal file
@ -0,0 +1,2 @@
|
||||
# Source
|
||||
https://icons8.de/
|
BIN
assets/resources/ui_elements/bad_connection.png
Normal file
After Width: | Height: | Size: 392 B |
BIN
assets/resources/ui_elements/good_connection.png
Normal file
After Width: | Height: | Size: 418 B |
BIN
assets/resources/ui_elements/headphones.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/resources/ui_elements/high_volume.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
assets/resources/ui_elements/low_volume.png
Normal file
After Width: | Height: | Size: 964 B |
BIN
assets/resources/ui_elements/mid_connection.png
Normal file
After Width: | Height: | Size: 400 B |
BIN
assets/resources/ui_elements/mid_volume.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/resources/ui_elements/no_connection.png
Normal file
After Width: | Height: | Size: 380 B |
BIN
assets/resources/ui_elements/no_sound.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
assets/resources/ui_elements/speaker.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
assets/resources/ui_elements/speaker_v1.png
Normal file
After Width: | Height: | Size: 681 B |
BIN
assets/resources/ui_elements/wifi_connected.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
assets/resources/ui_elements/wifi_disconnected.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
assets/resources/ui_elements/wifi_off.png
Normal file
After Width: | Height: | Size: 1.3 KiB |