Custom Direct3D11 replacement that intercepts GameMaker's allocation of texture atlases on the GPU and converts them from 8-bit RGBA to either BC7 or 4-bit RGBA.
Caution
This library is only recommended for use on low VRAM devices when absolutely necessary.
BC7 compression has artifacts and takes long to process, 4-bit RGBA has visible color banding.
- BC7 Compressor: bc7enc_rdo - Copyright(c) 2020-2021 Richard Geldreich, Jr.
- Hashing Algorithm: xxHash - Copyright (c) 2012-2021 Yann Collet
- Add the
gmdxh.dllfile to your game folder of choice. - Open the game executable in a hex editor like HxD.
- Locate the string
d3d11.dllin the file. - Replace the string with
gmdxh.dll. - The library should be ready! Try opening the game and observe VRAM usage.