Goldsource Error: "mip>=loadmodel->nu Last edited 15 years ago2008-06-11 08:13:17 UTC

You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date. Click here to see the current revision of this page.

This article was converted from a previous version of TWHL and may need to be reviewed

  1. The formatting may be incorrect due to differences in the WikiCode processing engine, it needs to be revised and reformatted
  2. Some information may be out of date
  3. After the article is re-formatted and updated, remove this notice and the Review Required category.
  4. Some older articles are no longer useful, or they duplicate information from other pages. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.
ORIGINAL TITLE: "mip>=loadmodel->numtextures"

Too many textures used, keep the number below 100. However here is a different point of view, a quote from Jay, VALVE programmer:
This is a check on the validity of the BSP file. If this happens, it means that some texinfo is referencing a texture map (by index) that isn't in the BSP file. This shouldn't happen under any normal circumstances. Maybe the build failed and you have a partial/bad BSP?

It should be easy enough to debug if you have a map that produces the error. Also, the buffer for loading textures is a little larger than 340K (256K + 64K + 16K + 4K) because it assumes 4 mip levels are present and the max mip level is no larger than 512x512. This is kind of a silly limitation now, but it's a real one in goldsrc. However, looking at the warnings for large textures, none of them is actually over 340K so this isn't a problem (if that data is correct and complete). bspinfo may shed some light as well, but I don't recall if it prints out the texdata entry count - it may only print the lump size.

1 Comment

Commented 2 years ago2022-03-21 23:01:06 UTC Comment #104253
Originally this article suggested that this error may be caused by the use of too many textures, 100 to be precise, but I believe that to be incorrect

You must log in to post a comment. You can login or register a new account.