Titan Quest Fans Forum

Titan Quest - Anniversary Edition => Modifications => Other Modifications => Topic started by: Endymion on 04 November 2018, 19:44:32

Title: [Tut] Misc Tools Guide
Post by: Endymion on 04 November 2018, 19:44:32
Quick guide on how to use Viewer and Bitmap Creator.

Initial set up
For the tools to be able to see the game's contents you'll need to set TQ folder's path in Additional browse directories field in AM, Tools/Options.
(https://i.imgur.com/UxdXUht.jpg)

I. Bitmap Creator

Setting Up
For it to work properly you'll need A) an unpacked .dbr of your item in the Database folder (...Steam\steamapps\common\Titan Quest Anniversary Edition\Database) and B) .dbr of your item packed in Database.arz with the same path.
That is if you place records/sword.dbr in the Database folder, you'll need to pack it in Database.arz under records/sword.dbr as well.

Usage
Open BC and choose your item from the list.
(https://i.imgur.com/caAB1zc.jpg)

Add Light and adjust Width and Height of the new icon (for instance shields usually have 2x2 of 32 size).
(https://i.imgur.com/wDJYtsx.jpg)

Use arrows to move lights.
(https://i.imgur.com/FYmjeaE.jpg)

Adjust camera accordingly using RMB and the wheel. (use Zoom button to get on the optimal distance).
(https://i.imgur.com/Z3qXz58.jpg)
Finally when your icon is ready press Save Icon.
To save your current icon size, camera & lights position you can use Save Layout button.

//As of Atlantis release Bitmap Creator crashes upon attempting to save icons or layouts.

II. Viewer
Really useful tool if you're working with anything related to meshes and animations.

Choose a mesh from the list to view it.
(https://i.imgur.com/CVwLUc9.jpg)

Choose an animation to apply it to your mesh. Click Play button to run it.
(https://i.imgur.com/ZZ2nwxr.jpg)

Under View tab you can enable displaying attachments, hitboxes, bones, skeleton, wireframe view etc.
(https://i.imgur.com/SJcvMof.jpg)

Attachments
Under Attach Point tab you can create a new attach point, choose its parent bone and attach a .dbr entity to it.
(https://i.imgur.com/C6EhytB.jpg)

To be able to edit already existing attach points you'll need to have mesh's .mif under correct path in your active mod's source folder.
For example player char mesh's .mif path is "Creatures\PC\Male\MalePC01.mif", so you'll need to recreate that structure.

Animation
Click View/Properties to see various mesh & animation data. Under Animation tab you can create & edit callbacks for your animation.
(https://i.imgur.com/lOBCoJD.jpg)

Ragdoll
Under Ragdoll tab you can view & edit various mesh's bones data required for ingame ragdoll physics.
(https://i.imgur.com/5LJJBLT.jpg)

Press File/Save MIF Data to save/create .mif with changes you did to your mesh, and Save AIF Data to save/create .aif with changes to the animation.
Note, just like with attachments you need to have .mif/aif (just a blank file will suffice) already set in your mod's source folder.
(https://i.imgur.com/Qz1hsnz.jpg)
Title: Re: [Tut] Misc Tools Guide
Post by: Endymion on 04 November 2018, 21:42:30
Added second part
Title: Re: [Tut] Misc Tools Guide
Post by: soa on 24 March 2019, 11:45:07
Where is the link to download the Viewer tool ?
Title: Re: [Tut] Misc Tools Guide
Post by: sauruz on 24 March 2019, 13:29:53
Where is the link to download the Viewer tool ?

Viewer doesnt come with the base game ?

C:PROGRAMS/STEAM/STEAMAPPS/TITAN QUEST
Title: Re: [Tut] Misc Tools Guide
Post by: soa on 24 March 2019, 13:47:23
Oh OK, found it. Thank you, same goes for Bitmap creator
Title: Re: [Tut] Misc Tools Guide
Post by: soa on 04 May 2019, 17:12:44
Has anyone managed to use Bitmap creator ? Despite following the tutorial, it doesn't display 3D models of items. I've got the list of items on the left panel (records\item\equipmentxxx...), and when I double-click on one of them, it says "load error".
What do you use to make skill or bitmap icons anyway ?
Title: Re: [Tut] Misc Tools Guide
Post by: Endymion on 15 March 2020, 02:25:08
Added bit on how to edit already existing attach points and be able to save .mif & .aif.
Also note about Bitmap Creator being broken since Atlantis release.
Title: Re: [Tut] Misc Tools Guide
Post by: soa on 01 April 2020, 22:58:06
How to properly build an aif after saving ?
I created first a .aif in the same source directory than the .anm (by copying a .anm and renaming it to .aif).
In Viewer, I opened the .anm and added a callback in the animation, then saved it.
The .aif file changed its last modification date correctly.
I auto-created an asset of the .anm, enter the path&name of the aif into the corresponding field, and on build I get an error.
After reloading resources in Viewer, the resource didn't take into account the change I made.
What's wrong ?
Title: Re: [Tut] Misc Tools Guide
Post by: Endymion on 02 April 2020, 00:45:24
What sort of error are you getting exactly?

And in case with animations you can just use any text editor and change callbacks manually. And then build the .anm as it is without adding .aif.
Title: Re: [Tut] Misc Tools Guide
Post by: soa on 02 April 2020, 00:55:56
It was "Unable to update file [path of my .anm files in custommaps/resources] in archive file [path of the corresponding .arc file in custommaps/resources]".
I'll try adding a callback in a text editor.
Title: Re: [Tut] Misc Tools Guide
Post by: Endymion on 02 April 2020, 01:15:38
Did you have Viewer open during building? Since it's using archives of the active mod it won't let AM update them.
Title: Re: [Tut] Misc Tools Guide
Post by: Abraham on 21 March 2022, 19:51:58
I have the same problem as Soa. Bitmap Creator was never repaired. How do I create bitmaps and icons for items? What program should I use?
One more thing. I don't have content_art_models.md open.
C:\Program Files (x86)\Steam\steamapps\common\Titan Quest - Anniversary Edition\Toolset\guide\content_art_models.md.
Only the very beginning with the image of the Art Manager settings (Options) opens. That's it. Is it like that for everyone?

SimplePortal 2.3.7 © 2008-2024, SimplePortal