TaylorMouse / MaxScripts

Griffon Studios 3D Studio Max Scripts
GNU General Public License v2.0
53 stars 19 forks source link

Wrong name on tmp ini config for reforged assetFolder #9

Closed Jaccouille closed 3 years ago

Jaccouille commented 3 years ago

I followed the instruction on the readme.md & pdf earlier this day.

Noticed materials didn't have textures file on reforged mdx file import.

Tried to debug : When setting the asset folder using the setting dialog, it saves the assetFolder path in a ini file named wc3ref.config

When importing a reforged model, it looks for a ini file named griffonstudios.config

Warcraft3_AssetFolder global end up behind an empty string and I get the warning displayed.

Fixed the issue by replacing "griffonstudios.config" by "wc3ref.config". Didn't make a pull request because I don't know which name you intend to use for this file.

TaylorMouse commented 3 years ago

thank you, yes, I use griffonstudios.config in everything normally but ppl asked me to split this up so I went to wc3ref.config... looks like I forgot a part to change