Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ios texture compression to ETC2 #431

Merged
merged 8 commits into from
Jul 2, 2024
Merged

feat: ios texture compression to ETC2 #431

merged 8 commits into from
Jul 2, 2024

Conversation

kuruk-mm
Copy link
Member

@kuruk-mm kuruk-mm commented Jul 2, 2024

Fix #417

This requires a custom Godot version for iOS which you can get from: https://github.com/dclexplorer/godot.

The custom Godot changes the behaviour of the PortableCompressedTexture2D and enables etcpak compression and decompression for runtime.

Steps to build from source (after you have the XCode project built):

# Clone custom godot
git clone https://github.com/dclexplorer/godot

# Build custom godot
scons p=ios target=template_release

# Copy the result to the XCode solution
IOS_EXPORT_PATH=your_ios_path
cp libgodot.ios.template_release.arm64.a "${IOS_EXPORT_PATH}/Decentraland Mobile Client.ipa.xcodeproj.xcframework/ios-arm64/libgodot.a"
cp libgodot.ios.template_release.arm64.a "${IOS_EXPORT_PATH}/Decentraland Mobile Client.xcframework/ios-arm64/libgodot.a"

Changes to Godot:
dclexplorer/godot@1370898

@kuruk-mm kuruk-mm force-pushed the feat/compress-ios branch from dc598c4 to c3e2029 Compare July 2, 2024 01:33
@kuruk-mm kuruk-mm marked this pull request as ready for review July 2, 2024 01:33
@kuruk-mm kuruk-mm merged commit 5d7ec6c into main Jul 2, 2024
3 checks passed
@kuruk-mm kuruk-mm deleted the feat/compress-ios branch July 2, 2024 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reduce memory from Images (using VRam Compression)
2 participants