Will generate a spreadsheet with data on all of the .mdl files of a given folder.
Important
The data outputted from studiomdl.exe is inconsistent and mostly relies on Shader Draw Count instead of actual Tris. Please bare this in mind!
This program does not support .vpk files! Feel free to submit a Pull Request though!
- Place
tricounter.pyingame/binfolder, such asTeam Fortress 2/bin. - Run the program with 2 arguments
- Desired folder you wish to analyze the
.mdlfiles of (e.g...\tf\models\props_movies\) - Location of
gameinfo.txtfile (e.g...\tf\)
- Desired folder you wish to analyze the
python .\tricounter.py ..\tf\models\props_movies\ ..\tf\In this example it would generate a tf_vtx_data.csv file that can be opened in any spreadsheet software.