supertuxkart-sourceforge-migration / stk-migration-test

0 stars 0 forks source link

Script that finds unused models and textures #781

Open supertuxkart-sourceforge-migration opened 10 years ago

supertuxkart-sourceforge-migration commented 10 years ago

Author: hikerstk

A small script should be able to detect any textures and models that are in the data directories, but not used. E.g. simple version: for each kart and track, test that all images are in one of the b3d files; and that each b3d file is in the scene.xml file.

Improved version: for any textures in the texture directory also check if it is used (i.e. it's in one of the b3d files of karts/tracks, and not overwritten) - this must also keep track of other usage of those textures (not sure, perhaps in models, though model textures tend to be in the model directory)

Remember to handle b3dz files correctly.

Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/ticket/1102