Skip to content

Commit 6878abf

Browse files
committed
Do not resize normal maps
1 parent 9dece4b commit 6878abf

5 files changed

Lines changed: 13 additions & 5 deletions

File tree

app/downsize_textures.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ downsize_texture()
1515
{
1616
find hires/ -type f \( -iname "*.jpg" -o -iname "*.png" -o -iname "*.dds" \) | while read -r FILE; do
1717
FILENAME=$(basename "$FILE")
18+
19+
# Skip normal maps (case-insensitive)
20+
echo "$FILENAME" | grep -iq "normal"
21+
if [ $? -eq 0 ]; then
22+
echo "Skipping resize for normal map: $FILE"
23+
continue
24+
fi
25+
1826
ALPHA=$(identify -format "%A" "$FILE" 2>/dev/null)
1927
ALPHA_LOWER=$(echo "$ALPHA" | tr '[:upper:]' '[:lower:]')
2028

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
1414
xmlns:tools="http://schemas.android.com/tools"
1515
android:installLocation="auto"
16-
android:versionCode="642"
16+
android:versionCode="643"
1717
android:versionName="1.9.2">
1818

1919
<uses-feature android:name="android.hardware.type.pc" android:required="false" />

app/src/main/java/space/celestia/mobilecelestia/MainActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2195,8 +2195,8 @@ class MainActivity : AppCompatActivity(R.layout.activity_main),
21952195
}
21962196

21972197
companion object {
2198-
private const val CURRENT_DATA_VERSION = "113"
2199-
// 113: 1.9.2, Data update (commit ea14adef2617536df5ed793fe4bfb61b8818d1ee)
2198+
private const val CURRENT_DATA_VERSION = "114"
2199+
// 114: 1.9.2, Data update (commit e612efa6adfbb1ea640f0ec2207b7d19c35f5390)
22002200
// 111: 1.9.0, Localization update data update (commit 10bd43b0e8925f6ee9bb9687522708a95338d664)
22012201
// 107: 1.8.8, Localization update data update (commit fe433a479a366cde21441344c00cef4b7851e124) config update
22022202
// 101: 1.8.7, Localization update data update (commit 1586549653454b456f24680657475ba453f99689) config update

jobs/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66

77
variables:
88
outputFormat: ${{ parameters.outputFormat }}
9-
contentCommitHash: ${{ 'ea14adef2617536df5ed793fe4bfb61b8818d1ee' }}
9+
contentCommitHash: ${{ 'e612efa6adfbb1ea640f0ec2207b7d19c35f5390' }}
1010
dependencyVersion: '1.0.14'
1111

1212
steps:

versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Celestia=7b13596
2-
CelestiaContent=ea14ade
2+
CelestiaContent=e612efa
33
CelestiaLocalization=44ee233
44
apple-android-dependencies=4ebcf84

0 commit comments

Comments
 (0)