- Joined
- Feb 1, 2019
- Messages
- 409
Hello,
A bit of context — my question is below:
I'm writing a desktop application to facilitate importing custom 3D models into a map.
The workflow is:
Launch the application → select a folder containing multiple models and textures → select a map → click import.
During the import process, I want to fix the usual texture path issue (removing war3imported, etc...) and to create one unit per model and place it on the terrain.
This way, I can import a folder containing hundreds of models and view them in the world editor without manually creating units and assigning models.
I'd also like to highlight conflicts that may arise — for example, two models sharing the same custom texture path.
To handle this, I'll need to parse the .mdx files to inspect their texture paths.
I don't want the user to have to link a game folder, MPQ, or CASC archive to use the application — which would otherwise be necessary to detect whether a texture path belongs to the base game.
How does the website determine which textures aren't part of the base game?
A bit of context — my question is below:
I'm writing a desktop application to facilitate importing custom 3D models into a map.
The workflow is:
Launch the application → select a folder containing multiple models and textures → select a map → click import.
During the import process, I want to fix the usual texture path issue (removing war3imported, etc...) and to create one unit per model and place it on the terrain.
This way, I can import a folder containing hundreds of models and view them in the world editor without manually creating units and assigning models.
I'd also like to highlight conflicts that may arise — for example, two models sharing the same custom texture path.
To handle this, I'll need to parse the .mdx files to inspect their texture paths.
I don't want the user to have to link a game folder, MPQ, or CASC archive to use the application — which would otherwise be necessary to detect whether a texture path belongs to the base game.
Question:
When you upload a model to this website, if I remember correctly, it detects and prompts you to upload a custom texture if needed.How does the website determine which textures aren't part of the base game?