|
hash
Aug 1, 2008 19:47:00 GMT
Post by bulldogg on Aug 1, 2008 19:47:00 GMT
how can i convery the hashs to the actual names, im using EnteredSystem logging but it ust sputs out the hash's, ive noticed some are hardcoded but i need it to get the stuff from the hash db how can i do this eagle?
|
|
|
hash
Aug 2, 2008 9:46:12 GMT
Post by Eagle on Aug 2, 2008 9:46:12 GMT
You could simply parse the Hash database file that FLAC has allready created for you, or create a configuration file yourself which contains exactly what you need as the comments in the example code suggest. The latter is preferred as it gives you control as to what you which the hash to translate to and what other meta dat you would want to include.
Xml would be ideal for doing this as it enforces a valid config file to be used and one that you can extend at any time without breaking compatibility.
|
|
|
hash
Aug 2, 2008 10:42:45 GMT
Post by bulldogg on Aug 2, 2008 10:42:45 GMT
im using it with enteredsyetem notifier so it gets the system name, but each mod is different so it would need a different config, is there anyway to make it use the hashdb that flac generates?
|
|
|
hash
Aug 2, 2008 14:16:50 GMT
Post by Eagle on Aug 2, 2008 14:16:50 GMT
Well yes, simply read the file... format is known as well as its location so shouldn't be a problem then
|
|