Jump to content

Tank Model Exporter Utility

editor modding mesh editing

  • Please log in to reply
4 replies to this topic

Coffee_ #1 Posted Oct 22 2017 - 20:47


  • Players
  • 42618 battles
  • 247
  • Member since:

Version 24 is out. TE now loads the tanks from the extended packages.


Version 23 is out.. This fixes a silly bug in the game and res_mods path. It was not working as planned.
Also, I added code to load more of the missing tank components.


Version 22 is out.. Now you don't need to keep updating the game and res_mods path after every update. TE saves it in the temp folder and reads it at load time.


Version 21 is out.. Added a shader for viewing the FBX models.


Hey... Its me again.
Just wanted to let ya'll know my tank modding tool is now fully functional.
It allows you to load the tank models.. Export them as FBX so you can change them in an app like 3DS Max or Maya.

System Unit Scale should be set to : 1 unit = 10.0 centimeters.  You can set the view scale to anything you want but can effect view port clipping.

Once you make your changes, export them from your 3D app as FBX and import them in to Tank Exporter.
When TE imports it will figure out what was changed or added and set up the save box for you.
Just go to the File menu and click Write Primitive and a small window will pop up where you save the tank in the games .primitive format.

Things you can and can not do.
You can NOT change the chassis or gun models. The vertex format is not supported in TE for these.
Tank Exporter now allows you to add individual object to the model. It takes care of editing the visual for you. It also will change which shader to use in the game based on what textures your additions contain.

You can use use diffuse textures, normal textures and Specular textures when you create materials.
New objects will need either "_hull" or "_turret" added to their names.. This naming will let TE know which part of the tank to add this item to when .primitive file is saved.
You can add and remove vertices in the turret and hull. If you want, you can move them around.. Really.. Its only limited by imagination.

There is a way to add more than one item to a hull or turret component. You would need to save the primitive, reloaded it, export it.. add to it, import it in TE and write the primitive. TE will search the res_mods folder to see if the tank has been extracted there and if so, will load it from that location. You will need to set the path in TE to this folder AND the game folder. Instructions are in the help file. Click the blue question mark.
Tank Exporter will automatically modify the visual file for the hull or turret if an item was added.
You can edit this file in a text editor once the primitive has been written from TE.

Tank Exporter needs a lot of data to work.. At the start up the first time.. it will create a temp folder and build data for access later.
This takes a fair amount of time so don't flip out over it. It only has to happen once when you first run Tank Exporter. After.. it will load this data at start up.
TE will also gather information from the DEV API online.. This is fairly fast and also.. only needs to happen once.
If there is a change in the games tank data.. than you can use the file menu to delete the temp folder and rebuild the data. This would only need to happen if new tanks are added or older ones changed by World of Tanks.

Other features of Tank Exporter...
Displaying of Textures and UV maps... It can also save the UV map as a texture you can use as a painting template for texture modding.
If the texture view window is open and the "show UVs" is selected, mousing over the tank will show that UV on the tank and in the Texture View window.
TE can also show the BSP2 model and the BSP2 Tree. You can NOT change these.. It was added because I could ;)

The shader I wrote does a good job at rendering the tanks close to how they are in game. It uses all the textures that the game has such as AO GMM and DETAIL.
Also.. TE can display camouflage.. It works but there are a few very minor bugs..
There are buttons to hide each part of the tank. You show the tank as fully rendered or with out any textures. You can display the mesh edges also.
You can hide the grid in the view window.
Overall.. this app is very useful but to complete the entire editing/modding process, I recommend grabbing my Swizzler and XML editor programs as well.
Here is a link to my GitHub : https://github.com/mikeoverbay

Feel free to use my tools.. 
The file you want is the MSI. Its the installer.. Click it and on the next page in the upper right is the download link.
Currently, Tank Exporter is at version 15.
NOTE: Anything that is extracted from the .PKG files belongs to WARGAMING.NET... THEY OWN THAT DATA!
You can do modding with it but don't even think about posting any models on free model sites or worse.. trying to sale them. ITS ILLEGAL!!!

If you like and use my tools and want to show gradatude, there is a link in the help file :)

EDIT: This is a work in progress. If you are having problems using it or the results are not what you expected, send me a message with the issue you are having.
Because 3D apps export slightly different versions of FBX, it might take some testing and debug/code changes to get this working 100 with different apps.

Here is a change to the  M53's turrent.. Notice how the new machine guns are casting shadows. I was always under the impression the BSP2 model was used for this but from this image, that holds no water.

Edited by Coffee_, Nov 07 2017 - 18:06.

_ErwinRommel__ #2 Posted Oct 22 2017 - 22:01


  • Players
  • 7564 battles
  • 3,320
  • Member since:

I read it all and enjoyed it simply because how nice and informative it was set up.

Coffee_ #3 Posted Oct 24 2017 - 06:02


  • Players
  • 42618 battles
  • 247
  • Member since:
Work is progressing..
There are bugs that are being fixed in the Import/export and writer sections.
Here's pic of a test .. Thanks to Milkym4n for testing and feed back.

Coffee_ #4 Posted Oct 24 2017 - 23:41


  • Players
  • 42618 battles
  • 247
  • Member since:
Still sorting out issues.. I'm having a bit of trouble converting the normal vectors back in to the 888 compressed uint32.
But.. It does work at modding take geometry... There will be a new release late tonight or tomorrow once I get the normal conversion worked out.

I took all 3 diffuse maps and normal maps and created 2 larger maps.. In 3DS Max. I created a new material using those 2 maps.. Diffuse and Bump.
I edited the UVs and scaled and translated them to the proper place on the single large map. I renamed the Alma twin model to Alma_turret and exported the FBX as Alma_M53.FBX... Next I imported Alma_M53.FBX in to Tank Exporter.. It asked to extract the contents and seeing how I'm only interested in the turret.. that is the only box I checked along with LOD0 only. Once the fbx was imported.. I wrote the primitive file making sure only turret was checked.
I opened up the visual for the turret using my WoT XML editor and changed the path to the textures to their normal locations. I had to change the lightonly fx to normal and add in a line for the normal map. I also used Swizzler to convert the diffuse and normalmap to DDS and save them in the normal location under the tanks name in res_mods.
The edited bit of XML looks like this. This lights the twins with bump mapping and looks pretty darn good.
Alma is from the 'Rings" movie.. Fitting for this time of year :)

Edited by Coffee_, Oct 31 2017 - 16:17.

Coffee_ #5 Posted Nov 07 2017 - 18:07


  • Players
  • 42618 battles
  • 247
  • Member since:

TE is finding 520 tanks and adding them to the lists.

4 of these are no longer in the game but are in the data such as the E100 WT (Waffle)


Edited by Coffee_, Nov 07 2017 - 18:20.

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users