Skip to content

How to work with texture arrays

Thomas Nguyen edited this page Jul 2, 2023 · 3 revisions

EasyERPExplorer way

If you use EasyERPExplorer, this should be easy.

After selecting .erp file to export to your mod, any texture arrays will be exported with their index.

For example, overrides.icons.spinners.texarray texture in ERP file will be exported to 4 different .dds files:

  • overrides.icons.spinners.texarray.0.dds
  • overrides.icons.spinners.texarray.1.dds
  • overrides.icons.spinners.texarray.2.dds
  • overrides.icons.spinners.texarray.3.dds

You can modify and delete files that you don't need.

Your .dds files will be imported back into texture array when running ERPLoader.exe - to load all mods

Manual way

When extracting using Ego ERP Archiver, you will get 1 file for the texture you are viewing, the file name will be, eg. overrides.icons.spinners.texarray.dds. You will have to rename it with the corresponding index, eg. overrides.icons.spinners.texarray.0.dds and put it in textures folder to make it work.

Clone this wiki locally