Dylancyclone / VMF2OBJ

Convert source-engine VMF files into OBJ files with materials (including brushes, displacements, entities, and models)
MIT License
113 stars 7 forks source link

Use gameinfo.txt to pull external paths #8

Open Dylancyclone opened 4 years ago

Dylancyclone commented 4 years ago

Since a lot of people use gameinfo.txt so that hammer can find their external resources, it would be helpful for the program to do the same

myuce commented 2 years ago

Instead of making the program look for those files individually each time you load a map, I suppose you could also save the paths of the VPK files and other directories in a parsable format like JSON like I did here and then check where Steam is installed through registry and let the user decide what game the program will export assets from.

Dylancyclone commented 2 years ago

That is an awesome idea, I didn't know about the libraryfolders.vdf file! I will definitely have to take a closer look at that, thank you