DirectStorage 1.4 and Game Asset Conditioning Library 1.2 Are Now Available to Game Developers to Aid in Reducing Installation Sizes and Improving Asset Handling

The FPS Review may receive a commission if you purchase something after clicking a link in this article.

Image: Microsoft

Microsoft has released DirectStorage 1.4 and Game Asset Conditioning Library (GACL) 1.2 to help developers further optimize game installs and gameplay. Microsoft has been working with NVIDIA, AMD, Intel, and Qualcomm to continue optimizing methods for compressing game textures using GACL, and version 1.2 delivers up to another 10% reduction without a loss of visual quality. Zstd (Zstandard), a fast real-time compression algorithm, was added this past spring and summer and now, combined with DirectStorage 1.4 and GACL 1.2, is giving game developers more options for the painstaking effort of reduced game installs and asset handling.

“Together, DirectStorage 1.4 and GACL 1.2 give developers new options for reducing game size and improving asset streaming on Windows. DirectStorage adds support for Zstd decompression on both the CPU and GPU, while GACL can help textures compress more efficiently before they ship.”

– Microsoft
Image: Microsoft

Zstd, which is already used in multiple operating systems and cloud solutions, is now used by DirectStorage 1.4 via the CPU and GPUs that support DirectX 12 to decompress data. Microsoft states that it has made improvements to Zstd and GDeflate so data is now decompressed more efficiently than seen in earlier previews. The end result is that game assets are now smaller. In addition, GACL 1.2 continues to aid in the optimization process by aiding in compressing textures in the pipeline.

  • Shuffle (lossless). Rearranges BCn data so Zstd finds more matches, for up to a further 10% reduction in compressed size compared with Zstd alone.
  • Block-level entropy reduction, or BLER (lossy, tunable). Makes BCn blocks that look nearly identical into identical ones. It can reduce compressed size by up to 50% while keeping PSNR at 40 dB or higher, and it supports BC1 to BC5 and BC7. The output is ordinary BCn, so nothing extra happens at load time.
  • Component-level entropy reduction, or CLER (experimental). Uses machine-learning-based perceptual quality measures to guide entropy reduction. It currently supports BC1.

By working with all of the major GPU manufacturers, Microsoft is moving forward in making strides to reduce game installs and improve the gameplay experience at the same time. This, at a time when storage costs are at the highest they’ve ever been, is a welcome change for gamers on any platform. Microsoft has also provided guides for developers on how to utilize DirectStorage 1.4 and GACL 1.2.

  1. Get DirectStorage 1.4 from NuGet. As with earlier releases, your game ships the DirectStorage runtime (DStorage.dll and DStorageCore.dll) alongside its executable.
  2. Get GACL 1.2 from GitHub or vcpkg (the microsoft-gacl port) and add it to your content pipeline.
  3. Run the GameAssetConditioningDemo sample to see the whole flow: condition and compress textures at build time, then load and render them with DirectStorage and D3D12.
  4. Run the GpuDecompressionBenchmark sample on your own content and target PCs to compare throughput and CPU usage across formats.
  5. Read the updated Developer Guidance for best practices, such as how to compress Zstd content for the GPU, and the DirectStorage API documentation.

Join the discussion in The FPS Review Forums...

Peter Brosdahl
As a child of the 70’s I was part of the many who became enthralled by the video arcade invasion of the 1980’s. Saving money from various odd jobs I purchased my first computer from a friend of my dad, a used Atari 400, around 1982. Eventually it would end up being a lifelong passion of upgrading and modifying equipment that, of course, led into a career in IT support.

Recent News