# ASTC texture compression, progress of engine Delphi compatibility

**URL:** https://forum.castle-engine.io/t/astc-texture-compression-progress-of-engine-delphi-compatibility/91
**Category:** News
**Created:** [August 11, 2019, 1:10pm UTC](https://forum.castle-engine.io/t/astc-texture-compression-progress-of-engine-delphi-compatibility/91 "2019-08-11T13:10:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)
#### Post date: [August 11, 2019, 1:10pm UTC](https://forum.castle-engine.io/t/astc-texture-compression-progress-of-engine-delphi-compatibility/91/1 "2019-08-11T13:10:22Z")

</div>

| [![Car exported from Blender 2.9](https://castle-engine.io/wp/wp-content/uploads/2019/08/BMW27GE_0-200x113.png)](https://castle-engine.io/wp/wp-content/uploads/2019/08/BMW27GE_0.png "Car exported from Blender 2.9") |

1. _Castle Game Engine_ now supports [ASTC](https://en.wikipedia.org/wiki/Adaptive_Scalable_Texture_Compression), which is a great GPU compresion method available on most modern mobile devices (Android and iOS). You can easily compress your textures, and then use them at runtime, using the [appropriate declaration in material\_properties.xml](https://castle-engine.io/creating_data_auto_generated_textures.php) file.

The usage is described in details in [ASTC compression support added to Castle Game Engine](https://digitalkarabela.com/astc-compression-support-added-to-castle-game-engine/) (also [available in Polish](https://digitalkarabela.com/pl/obsluga-kompresji-astc-w-castle-game-engine/)) article by _Andrzej Kilijański_, who implemented this feature. Thousand thanks!

2. I pushed Delphi compatibility further. Many more units are supported, in particular our file reading/writing/searching system using URLs, including our XML support (used throughout the engine). To have uniform XML support, I introduced Delphi units `DOM`, `XMLRead`, `XMLWrite` that wrap Delphi XML implementation (using MSXML and COM interfaces) in an API compatible with analogous FPC units.

P.S. More cool stuff from _Andrzej_ is coming — [streaming music](https://github.com/castle-engine/castle-engine/pull/127) 🙂

P.P.S. Blender 2.8 was released! Note that [CGE supports various 3D model formats supported by Blender 2.8 out-of-the-box (Wavefront OBJ, glTF 2.0, X3D, Collada, STL)](https://castle-engine.io/creating_data_model_formats.php). (Unfortunately, exporting to the best formats — glTF and X3D — is far from perfect now in Blender 2.8. E.g. glTF exporter doesn’t apply modifiers, materials remain gray, transformation hierarchy has duplicated nodes. And X3D exporter can crash. As a workaround, OBJ exporter always works 🙂 )
