Pulling meshes from the gear viewer CDN - TiredHobgoblin/Destiny-Collada-Generator GitHub Wiki
This tool is designed to be relatively simple to use. Just download it, unzip it, and run the executable. It will open a terminal window, and give you a list of options for what to do:
Select an action:
[1] Convert local files
[2] Convert item from API
[3] Convert item from D1 API
[4] Quit
> █
Just enter the number of the action you want to do.
Note: Do not edit the "Resources" folder or the file inside, template.dae
. Doing so will cause the tool to crash when generating the output file.
All converters will ask for an input and an output location. The input changes depending on which converter is being used, but the output location must be a valid location on your local system. If the folder given does not exist, it will be created. If no folder is given, it will default to the "Output" folder in the same location as the executable.
Convert local files:
This converter is mainly for debugging, but has been left in just in case. It takes a file location as an input. The file path can be relative (input\4fe354c299526b2232b335b603756ad7.tgxm
) or absolute (C:\Users\admin\Downloads\4fe354c299526b2232b335b603756ad7.tgxm
). This converter outputs geometry only.
Convert item from API / Convert item from D1 API:
These converters take item hashes as the input. Item hashes can be taken from sites such as Light.gg or db.destinytracker.com. Multiple hashes can be given, separated by spaces. If converting items from Destiny 2, use "Convert item from API". For items from Destiny, use "Convert item from D1 API". These converters output geometry and textures; plated main textures (diffuse, gearstack, and normal) will be placed alongside the Collada file, while detail textures and unplated main textures will be in a folder labeled "textures," within the folder for the model they belong to. For textures that are selected by traits, such as weapon sights, only one will be on the main plate. If you want to change this texture for a different one, this can be done by adding the texture you want onto the main plate via an image editor.
Note: Gearstack textures for D2 items contain data encoded in the alpha channel, which causes parts of the color channels to come out black. This is an issue with the image editing library the tool uses, and will be fixed when the next version of said library is released.
Note: Since these use the web api, there are certain limits on what can be pulled. Map assets and enemies are not available. Ghosts, ornaments, and sparrows from D1 are not available, but D2 ones are. D2's season artifacts are not available.