#2 Torchlight 2 Tag Fixer - TL2TagFixer by Chthon
on 09 Aug, 2017 18:24 in Mod Showcase
Introduction:Tags Fixing Tool made by Chthon.Original Download Page http://clockworkcore.org/tagfixer.htmlFirst Announced http://forums.runicgames.com/discussion/60532/tool-tl2-tag-fixerIf you unpack some mods and status have errors like:• Found property name with a hashcode (477030267) that has no match in tags.dat: MEDIA/LAYOUTS/CRYPT/RULES.TEMPLATE, or• Found group name with a hashcode (1403211796) that has no match in tags.dat: MEDIA/FEATURETAGS.HIEthis program may be able to fix itI only Updated dictionary with 275 tags found in GUTS.How to use:Spoiler (hover to show)To use it first you need to decompress mod in GUTS and when it’s done you need to copy all the info under GUTS statusbos and save it all to a new txt file – this is you Log File.Then in TL2 Tag Fixer Select that file and select MEDIA folder of unpacked mod. That’s it, additional information is in Help file.Additional Info:Spoiler (hover to show)There are 3 main reasons for that kind of errors:• TAGS.DAT don't have all the basic entries found in GUTSshould be (mostly) fine - with my update.• Complex modifications like “Synergies Mod” having new entries/tags, not recognizable by TAGS.DATrequire moders to create new dictionary by scanning mod’s MEDIA folder - using “Parse all the things”, under Dictionary.• nstable decompression events in really heavy mods like “Path Of Torchlight (v.127)”manually decider invalid Hash codes you need to open bugged files in text editor (Notepad++ is recommended) and mess with GUTS settings. It’s not hard,all tags have associated string (example: <string_name>), value and are arranged in not random order.License:Spoiler (hover to show)This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation,either version 3 of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. Download:Spoiler (hover to show)From Here - This PostMirror: Runic Games Fansite Mirror: Nexus Mods - Torchlight 2also,HELP HELP HELP1Spoiler (hover to show)HASH codes are getting miscalculated by GUTS decompression. It seems like what tag is going to be miss calculated depends on machine (PC), but multiplayer seems to be some kind stable.Example on “ Path Of Torchlight (v.127)”Tag: “ANIMATION_TRANSITION_STATE_1”Original Hash: 3470450552Double Hash: 1801881382Bad Hash: 867586750Double Hash: 2845492013Tag: “ANIMATION_TRANSITION_STATE_1”Original Hash: 3470450555Double Hash: 1801881377Bad Hash: 867586907Double Hash: 2845506442Double Hash is a rare instance, and I think that is why one tag had two different Hash Codes.I would be grateful if someone would be able to find correlation between those Hash warrants and add that to this tool.Base hash algorithm is as follows:• Hash is a 32-bit unsigned integer.• Seed with the length of the string.• For each character in the string:1. Do a looping left shift by 5 bits.2. XOR with the ASCII value of the character2Spoiler (hover to show)Also if you people would create your own dictionaries and place them here I would be able to merge then, delete invalid lines and update it to main zip. All you need to do is scan raw mod’s MEDIA folder - using “Parse all the things”, under Dictionary.3Spoiler (hover to show)28861635241617507032I need help to find tags for those two. Those are main game tags that are badly loaded after running GUTS, for a first time... Yes, two thing are broken right out of the box. I would really like to know files where those numbers are, I will do the rest.