Add green icon for Legacy Edition, add new string for name

This commit is contained in:
Henrik Rydgård 2024-08-15 13:34:11 -06:00
parent 32065c1db7
commit afdba5a7b9
25 changed files with 63 additions and 0 deletions

View File

@ -123,6 +123,9 @@ android {
vr {
manifest.srcFile 'VRManifest.xml'
}
legacy {
res.srcDirs = ['legacy/res']
}
}
productFlavors {
normal {

View File

@ -0,0 +1,39 @@
#!/bin/bash
# Wirtten by ChatGPT
# Define the base directory to start the search
BASE_DIR="$1"
# Check if the base directory is provided and exists
if [ -z "$BASE_DIR" ]; then
echo "Usage: $0 /path/to/directory"
exit 1
fi
if [ ! -d "$BASE_DIR" ]; then
echo "Directory $BASE_DIR does not exist."
exit 1
fi
# Function to process images
process_image() {
local image_path="$1"
# Define output path (can be modified to save to a different location)
local output_path="$1" # ${image_path%.*}_tinted.${image_path##*.}"
# Apply the tint and darkening
convert "$image_path" \
-modulate 80,50,55 \
"$output_path"
echo "Processed $image_path -> $output_path"
}
export -f process_image
# Find and process image files
find "$BASE_DIR" -type f \( -iname '*.png' \) -exec bash -c 'process_image "$0"' {} \;
echo "Image processing completed."

View File

@ -0,0 +1,3 @@
# How to create legacy icons from regular icons
convert ic_launcher.png -modulate 80,50,55 ic_launcher.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#404040</color>
</resources>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">PPSSPP Legacy</string>
</resources>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB