Add Some Tools and Assets to create cpp's for 0.9+

This commit is contained in:
2023-03-13 21:19:07 +01:00
parent f6e3c50814
commit 780025bb74
47 changed files with 214 additions and 30355 deletions

34
assets/build_assets.sh Executable file
View 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
View File

@ -0,0 +1,7 @@
#!/bin/bash
echo "Deleting Directorys"
rm -rf build
rm -rf code
echo "Finished!"

View File

@ -0,0 +1,2 @@
# Source
https://icons8.de/

Binary file not shown.

After

Width:  |  Height:  |  Size: 900 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 638 B

View 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

View File

@ -0,0 +1,3 @@
--atlas -f rgba -z auto
renderd7_logo/renderd7_logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View 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

View File

@ -0,0 +1,2 @@
# Source
https://icons8.de/

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 964 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 681 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
assets/splash/npi_intro.mp4 Normal file

Binary file not shown.

Binary file not shown.