Torchlight II
0 of 0

File information

Last updated

Original upload

Created by

Chthon

Uploaded by

Corshi

Virus scan

Safe to use

About this mod

Tags Fixing Tool made by Chthon.
If you have errors like:
• Found property/group name with a hashcode (477030267) that has no match in tags.dat: (...)

this program may be able to fix it

Permissions and credits
Introduction:


Tags Fixing Tool made by Chthon.
Original Download Page http://clockworkcore.org/tagfixer.html
First Announced http://forums.runicgames.com/discussion/60532/tool-tl2-tag-fixer

If 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.HIE

this program may be able to fix it


I only Updated dictionary with 275 tags found in GUTS.




How to use:


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:



There are 3 main reasons for that kind of errors:

• TAGS.DAT don't have all the basic entries found in GUTS

should be (mostly) fine - with my update.

• Complex modifications like “Synergies Mod” having new entries/tags, not recognizable by TAGS.DAT

require 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.


also,
HELP HELP HELP


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: 3470450552
Double Hash: 1801881382

Bad Hash: 867586750
Double Hash: 2845492013

Tag: “ANIMATION_TRANSITION_STATE_1”
Original Hash: 3470450555
Double Hash: 1801881377

Bad Hash: 867586907
Double Hash: 2845506442


Double 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 character




License:

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/.