Omzy Update!
Hello guys - Omzy messaged me back and wanted me to share with the forum!
----------------------------------------------------------
Hey McIndus, I am positively amazed at the things you guys have been doing. It gives me a great feeling knowing that people are actually using my work and taking it seriously to make new content! I definitely have you to thank for that, for jumpstarting the Tonberry movement, and Shunsq for being brave enough to put his programming hat on to help others out.
Unfortunately, time is tight right now, even over the holidays, but I do periodically check in and read the new threads. What Shunsq needs to know is that when I made the hash codes for hash1map, which I gave him the algorithm for, I ran into some collisions for the files that were mostly black/empty that only had a few pixels or were only different by a few pixels. In order to temporarily patch that, I decided to run a second hash algorithm that is similar but uses different pixels and more pixels (like 100 instead of 64). That algorithm I hand-selected the pixels in certain regions of the images that were most likely to be different. Then I ran that and if there was a collision on the first hash from hash1map, then it would run the second hash and that value would be in hash2map. I did make special case allowances for the text files for SeeD that had different palettes and had the same hash value. Those allowances just looked at a special hand-selected pixel in the images that was different color in each and detected which file to choose.
That's what I remember. I feel like chocobo sage right now, forgetting, lol. I do know that if he digs in the source files I uploaded, he will find the algorithms for the first and second hash in there. This double hashing system needs to be completely replaced with a smarter one that has no collisions. That would solve so many problems. Fortunately, the Tonberry injector is fairly modular, so one could write a hash algorithm and implement it without too much trouble. It just takes some bravery.
Keep up the good work!
Happy Holidays!
Omzy
------------------------------------------
Thanks, guys! Information GOLD.
MCINDUS