• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

filenames in HL

fizgig

New member
I am new to Hero Lab and have only been working in my project idea for about a week now and have spent most of that time going over the skeleton files and the wiki.

What I am running into is a question about file naming conventions. I can't seem to find a concrete answer about it. In my project I want to replace the thing_attributes file with a file containing the same information named thing_stats. I went through my whole skeleton directory and renamed all places in the files I found refrenced the thing_attributes file but HL still throws a slew of errors when I try to load the modified dataset. If I just add the data I want to the thing_attributes file (including deleting the existing sample thing) I get no errors.

Is this file naming fixed in HL or have I perhaps just missed changing a call somewhere? Thanks.

~Fiz
 
Only the extension matters. The filenames are up to you.

When you created thing_stats.dat, did you do so by renaming thing_attributes.dat, or did you duplicate it?

If you renamed it, make sure you kept the same extension. If you duplicated it, are the error messages saying that you have duplicated items? If so, go ahead and delete thing_attributes.dat.

There isn't supposed to be anything in the code that refers to the filenames, so there should have only been one change required in order to rename the thing_attributes.dat file.

For future reference, when Hero Lab gives you an error message, if you right-click the message, you'll have the option to copy it. Pasting the exact error message often makes it easier for us to diagnose the error.
 
Back
Top