autopatrol, editnews
208
edits
(Added Troubleshooting) |
(→Troubleshooting: Red textures and crashes) |
||
Line 21: | Line 21: | ||
# Make sure your texture formats match the originals that you're replacing. With the texture selected, the format is listed on the right side. It'll be something like <code>T_BC1_SRGB</code> | # Make sure your texture formats match the originals that you're replacing. With the texture selected, the format is listed on the right side. It'll be something like <code>T_BC1_SRGB</code> | ||
# Make sure your mipmaps were generated correctly. If toolbox throws an error when you try to use the Mip Level selector above the texture preview, or it claims there are not X mip levels (where the size of the longer side of your texture is 2^X, for example 256 is 2^8 so a 256x256 texture should have 8 mip levels) then the mipmaps were not generated correctly. If you imported a PNG, delete it from the bfres, save, close toolbox, open toolbox, and try reimporting it again. If you imported a DDS, then it likely didn't have any mip levels stored in it, and you would need to export the file from your texture editor with mipmaps baked in. | # Make sure your mipmaps were generated correctly. If toolbox throws an error when you try to use the Mip Level selector above the texture preview, or it claims there are not X mip levels (where the size of the longer side of your texture is 2^X, for example 256 is 2^8 so a 256x256 texture should have 8 mip levels) then the mipmaps were not generated correctly. If you imported a PNG, delete it from the bfres, save, close toolbox, open toolbox, and try reimporting it again. If you imported a DDS, then it likely didn't have any mip levels stored in it, and you would need to export the file from your texture editor with mipmaps baked in. | ||
=== Red texture === | |||
The game cannot find the texture it expects with the name it expects. Make sure your texture has the same name as the texture you replaced. If it is the same name, see Patchwork/color-splotchy textures. | |||
=== Game crashing === | |||
The game cannot gracefully handle too many resources loaded at once, so too many large textures will cause the game to be unable to allocate memory for a resource, return a null pointer, and crash. Only replace textures with new textures of the same size or smaller unless the loss of detail is unacceptable. | |||
[[Category:Guides]] | [[Category:Guides]] |