IneptVagrant, on Jun 4 2009, 08:39 PM, said:
The code to find the widower directory automatically is in this thread
http://forums.window...showtopic=14945
Then u'll just have to append \\plugins\\resources and check to make sure the file exists
I looked at that code a couple of days ago. Correct me if I'm wrong, but it requires that POL be running via windower right? Since it essentially finds hook.dll in memory then uses it's meta information to find it's working directory.
That's not to say that this code wouldn't be useful. I could always use it if the process was available. At a minimum I could pre-populate the folder browser with the directory that code returns.
As far as folks having trouble getting it to run, I should have given a more complete list of prerequisites. So, I'll do that now.
1.) .NET Framework 3.5 (It may be targeted for 3.0, but 3.5 works for sure)
2.) FFACE v4 - This is included in the zip file and should not require any action.
3.) Windower 3.4's resources DIRECTORY (not the file resources.xml)
-- I feel the need to explain this a bit more since it seem to be the main sticking point. When I look in the treasure pool all I can really get is the ID of an items. That ID doesn't do anybody any good since it is just a number. I need a way to translate said number into an English description that is meaningful. It just so happens that lots of programs/plugins need to do this, so it has already been addressed.
-- Originally it was addressed in the file resources.xml. It contained [among other things] the mapping of those IDs to their plain text descriptions. At some point, resources.xml stopped being updated and instead a directory called 'resources' started showing up under the plugins directory of windower. This directory contains several XML files. These files are responsible for mapping various IDs to their plain text descriptions. Specifically Booty uses the general, armor, and weapons XML files. Those MUST exist or this program cannot function.
If you are attempting to run Booty and you receive an error telling you it can't find the resiources then this is what it means:
Booty has looked under whatever directory you have given it (for example c:\windower34) for the directory structure plugins/resources. In addition to that directory structure it checks for the existence of the three XML files listed above. So if you specify c:\windower34 as your directory when prompted and following files exist, then the program will NOT fail due to not being able to find the resources. It might fail for other reasons, but you will get a different message.
c:\windower34\plugins\resources\items_armor.xml
c:\windower34\plugins\resources\items_general.xml
c:\windower34\plugins\resources\items_weapons.xml
If you experience any problems beyond this please let me know and I will do my best to trouble shoot.
Also, tonight I added a timer to the items that will count down from five minutes. I tested it tonight and it seems to be working fine, so I will try to find time at work tomorrow to repackage and upload the binaries and source. Will bump this thread when I do that.
Thanks!
-Hogosha