A tool to export Tanks from World of Tanks.
This is an ongoing project by me.. Coffee_
Fixed a bug in reading the visual files. Spaces around string names was causing it to not find entries such as "vertices".
This fixes a crash while extracting the tank data after FBX import.
Fixed a silly bug that caused the first textures to be blank when exporting to FBX in PNG format.
TE now exports the currently active camouflage texture when you export the FBX. Added a camouflage editing tool. Edit Before exporting if you want changes to the camo to be saved. Moved fbx export and extract functions from the context menu to the main menu. TE exports the customization.xml file if told to do so. There is no editing done to the customization.xml. You will need to do it manually if you want camo colors to be visiable in the game.
The World of Tanks Developers API now requires an Application_Id. This ID is asscoitated with the Application and the developer of said application. This ID is embeded in Tank Exporters code and there is nothing on your part that is required other than setting up the paths to the game and the current res_mods folder for the current game version.
Added "Reload Textures" to the context menu on the tier tabs.
Updated to work with the last version 126.96.36.199 of the game. Removed version 43 from GitHub. Its unusable with 188.8.131.52.
Fixed a bug with selection of a UV triangle in the texture view window.
I added code to clean the shader files of any non-ascii characters. Hopefully, this will help AMD cards load the shaders with no issues.
I changed how decals are loaded. They are only loaded if they are used. This is dynamic so adding a new decal with an unused texture will cause a slight delay while the decal is being loaded. This version might cause problems so I am leaving version 42 on GitHub and it should be used if this one fails. Cleaning out the wot_temp folder might help if the app crashes at startup. Cleaning this folder should be done every time WoT adds or changes tank models!
Decals are now on the terrain. You can edit and save changes to them. The decals come from the game's pkg files and use PBR to shade them. I am leaving version 42 GitHub incase this version is unusable by anyone.
Added Shadows and controls for it. You can set 1 of the 3 lights as the shadow light source. Added terrain and skydome. The shader editor now stops the rendering while active. Rendering can be turned back on, on the editors form. The hide show grid lines now toggels between terrain and grid. Added a preview of the shadow mapping texture and result. This is a debug tool only.
Fixed PBR shading.. Added Cube environment map. Added menu items related to the new shading.
Fixed a issue with writing the surface normals X flipped
Added a FBO to use with FXAA. Implemented FXAA. Improved PBR and lighting in general.
I Finally got a working PBR shader. Better lighting!
Fixed an excpetion being thrown when mousing out of the Texture View window.
Added a bar graph during the extarction of large game files so TE doesn't look like its crashed.
Exporting to the res_mods folder now has an option to create a Work Area and copy the AM_HD and AO_HD to that folder in PNG format. This saves having to do it maually. You may not need to edit the AO map depending on what your doing but most likely, if you are painting on the AM map, you will need to fix the alpha change in the AO map. When using the Texture Viewer and Show UVs is on.. mousing over triangles on the texture now highlights them in the model view window. This will make it easier to figure out where the UVs are located on the tank. The method of mousing over the tank model still works as before and highlights the UV map where that triangle is mapped.
Added type icons to the tank list. Added Component load window to select which gun and turret that were found for the tank. Fixed a minor bug in the shader for the tanks. Updated the help HTML.
I fixed a bug with the HD textures never actually being loaded or exported to the FBX folder. I'm amazed I didn't catch this eariler.
I Fixed a bug reported by vontamar at GitHub.. Normals were being written with the X flipped! THANK YOU! Reporting bugs makes TE a better tool!
I fixed a bug caused by new content pgk names that stop the loading of HD textures.
I reworked how tanks are found in the PKG files. As of 4/8/2018 TE is finding 549 tanks.
Added code to load the Italy Tank line. There is currently only one tank in this line.. A preimium. This data is not in the WoT API site so I hard coded the name for the It13_Pregetto_M35_mod_46
Removed BSP and BSP Tree from the menu.. They are no longer part of primitive files. Fixed coding to deal with part1 and part2 content files. I have not added code to deal with the Italy line yet so these tanks are NOT loaded in to the list. I removed writing BSP2 data to the prmitive files as these are now contained in VT files (I think... I need to do more exploring of these files formats).
Added a Simple Lighting mode for those that are having problems with rendering the tanks. If you are having issues with textures not showing up, please create a ticket explaining the issue and video hardware you are using
Changed where the Terra tank list and data is stored because of UAC problems. Updated the tank list for Terra.
This version fixes a memory leak. Updated the tank list for Terra.
Tank Exporter now loads all tanks in the extended pkg files.
Fixed a stupid bug in the path names to where the game and res_mods. Added some code to find more of the missing tank parts. WG has split the tier 8 tanks in to 2 pgk files. I will need to change the code to deal with this as some point. As it is, tanks from that 2nd pkg are ignore.
Paths to folders are now saved to the wot_temp folder. You won't need to reset the game and res_mods/currentversion paths after every update to Tank Exporter.
Added a shader while viewing the FBX. A few minor big fixes with loading textures from the res_mods folder path.
This fixes a path issue when texture paths reference the a old game version folder. It nows repaces that path with the current game version path to the res_mods folder.
Added support for adding more than one one object to the turret or hull.
Fixed a nasty issue with the normals of added items. They were not being translated correctly.
More fixes in FBX import/export
Fixes in FBX import/expore
Fixed a issue while writing Turret models. Added a model info window. Added / Fixed Visual viewer window. Now TE seaches in the res_mods folder for a matching tank component. If it finds it, will load it from there. Minor Bug fixes.
Added Primitive Write capability. Now you can write primitive files the game can load! This only works will the hull or turret models. Read the help file for more information.
Added Mouse over picking of the vertex under the mouse. This only works if UVs are visable in the Texture Viewer. Also.. Pressing the "C" key will center the current UV in the Texture Viewer's window. The purpose is to make it easy to locate where the UVs are mapped to. Updated Help HTML and added a new page and image.
Added Texture Viewing and UV ploting.. also a way to save the texture as a png. This is dependent on the view settings. Added importing of the BSP2 and the tree from the tank models.
Added FBX importing. Re did the User Interface.
Now when exporting a tank in FBX, a folder is created under the tanks name in the same directory and all the textures are placed there.