bloodypenguin / Skylines-ModTools

Mod debugging/ reverse engineering tool for Cities: Skylines
MIT License
21 stars 15 forks source link

Dump Mesh button in scene explorer not working #3

Open boformer opened 9 years ago

boformer commented 9 years ago

When you press the button, a 1kb .obj file is saved to the game directory. No model info inside.

bloodypenguin commented 9 years ago

That happens when you're trying to dump a read-only mesh. For instance, a road. If a mesh is read-only it's impossible to read vertices array. Do you know some way to workaround that?

Katalyst6 commented 9 years ago

No... so far we are redoing the meshes 1 by 1 on need...

boformer commented 9 years ago

I guess you could hack the unity engine to make all meshes readable when they are loaded. That would be quite useful (but also increase memory usage).