#GitHub - wrefgtzweve/gm_addon_optimizati...
1 messages ยท Page 1 of 1 (latest)
huh
@errant cove https://github.com/TeamSpen210/srctools/blob/269c7d2ad66fc3a96c5d277861073f292cabcefc/src/srctools/mdl.py#L383
so some model is corrupt maybe
also, i recommend making it optional to check if they are used in lua or not
can you give me the models you have so i can test
just copy the lua files somewhere else
i recompiled them
so i dont have them anymore
did that fix it
i dont have lua files that use any of those models
yea
lua scan takes like miliseconds tho
wait what
if you dont use them in lua
where are you using them
players spawn them
how would the tool know if its used or not then ๐
but the point is to find models not being used in anything
kay then
or would you want a thing that scans for anything but models
so any unused textures?
yes
exactly that
i got models, but plenty of textures that are probably not being used in the materials/models directory
okay i enslaved AI and made it do it for me
i love having AI in my basement

AI sucks so bad at programming
it seems whenever aspect ratio of .vtf is not 1:1 (ex 2048x1024) it crashes. it changed all my 1024x1024 textures, but crash on 2048x1024 normal map.