Jump to content

KnightSouldier

New Arrival
  • Posts

    4
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by KnightSouldier

  1. Good news! I figured out the hash method. I can now turn BLUEPRINT_1183 into 1242979160. I should now be able to code the vault.
  2. This is great! The Item ID from the chest equates to the blueprint ID. I was able to determine the "Endijian's Vizor" in my chest was Item ID 1883. I then used S2read to generate the hash by passing it BLUEPRINT_1883, which gave me 1242979160. I then searched my decoded global.res for that value and sure enough, there was "Endijian's Vizor"! Now I just need to know the hash algorithm or obtain permission to use S2read.dll so I can determine the hashes programmatically. Thank you so, so much!
  3. Thank you for the warm welcome and quick reply! Interesting... I didn't realize that's a way to find the respective hash. So, if I can locate the blueprint ID from the chest save, I can then calculate the hash to find the respective entry in a decoded global.res. I was familiar with S2rw. I used it to decode my file. I was trying various methods to determine which undefined value (or set of values) in the chest save for a particular item would lead me to the hash. I never considered using the blueprint ID! Is the formula for generating the hash available? Would I be allowed to use the SRread.dll file?
  4. I want to create a "Sacred 2 Vault", obvious Titan Quest Vault influence, that will allow me to more easily store and organize my collection of goodies as opposed to swapping of chest files. Building off the work of the Sacred 2 Item Editor (0.5.4), I wanted to make it "graphical" by utilizing the game's actual artwork coupled with pop-ups that mimic what you see in game. I have no problem doing all of the above coding. Navigating the blueprints and finding all the respective artwork isn't difficult. However, the one thing I cannot seem to decode from the chest file is the item id (hash) to find the proper name in the global.res file. I would also like to be able to select a character so I can swap items to and from the vault as well as using the character stats to properly display the values of any equipment bonuses where the character would influence the values. It would make it nice for comparative purposes. So, if anyone could share any of those formulas or point me in the right direction, I would be grateful. Thank you!
×
×
  • Create New...
Please Sign In or Sign Up