Editing Modding:How To Find A Virtual Texture
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
|description=This page is a hub for everything related to Modding Baldur's Gate 3. Check out the following guides to learn how to mod BG3. | |description=This page is a hub for everything related to Modding Baldur's Gate 3. Check out the following guides to learn how to mod BG3. | ||
|image=Modding_resources.webp | |image=Modding_resources.webp | ||
}}{{ | }}{{NavModding}} | ||
A virtual texture is essentially a digital box that BG3 uses to store textures in so they load quicker. This is good for the game's performance, but not so good if you want to extract and edit them. So here is how to extract them. | A virtual texture is essentially a digital box that BG3 uses to store textures in so they load quicker. This is good for the game's performance, but not so good if you want to extract and edit them. So here is how to extract them. | ||
This tutorial requires Modder's Multitool, LSLib v19 and a knowledge of how to find things with the multitool. | This tutorial requires Modder's Multitool, LSLib v19 and a knowledge of how to find things with the multitool. | ||
===How to find the mesh name=== | ===How to find the mesh name=== | ||
Line 21: | Line 19: | ||
You will need to find the GTexFileName in order to find the correct virtual texture to extract. So search the mesh name in the search index in Multitool. | You will need to find the GTexFileName in order to find the correct virtual texture to extract. So search the mesh name in the search index in Multitool. | ||
You may need to append it with HUM_M_ instead of whatever race you are looking for, as | You may need to append it with HUM_M_ instead of whatever race you are looking for, as most of the universal gtex are under HUM M meshes. The same applies with HUM F and female specific meshes. Some meshes also share textures with other versions of the mesh, so you may need to remove the ''_a'' or ''_broken'' (for example) appendage if you aren't getting any matches. | ||
Some meshes also share textures with other versions of the mesh, so you may need to remove the ''_a'' or ''_broken'' (for example) appendage if you aren't getting any matches. | |||
For example, we like ''''HUM_M_ARM_Bandit_C_Body'''<nowiki/>' so we search this in the multitool. | For example, we like ''''HUM_M_ARM_Bandit_C_Body'''<nowiki/>' so we search this in the multitool. | ||
Line 112: | Line 108: | ||
=== Remember Mipmaps === | === Remember Mipmaps === | ||
The extracting process strips the virtual textures of their mipmaps! Even if you are not editing some maps, you need to import them into GIMP(or any similar program) and resave with mipmaps to generate new ones if you are including them with your mod. [[Modding:Creating Outfit Textures|See here for save settings.]] | The extracting process strips the virtual textures of their mipmaps! Even if you are not editing some maps, you need to import them into GIMP(or any similar program) and resave with mipmaps to generate new ones if you are including them with your mod. [[Modding:Creating Outfit Textures|See here for save settings.]] | ||
[[Category:Modding guides]] | [[Category:Modding guides]] | ||