Talk:Help/Configuring third-party software for the mod/@comment-25330335-20150919125853/@comment-25612015-20150924052400

''I might post a usage guide for it if you haven't already. ''

Yes, that would be a good idea because i'm not a Inv Tweak user.

''Are the shell scripts bash? Otherwise, I have no use for them, as Unix is superior''

Yes, it's all working under Unix. And yes, when it comes down to data processing Unix is superior :-)

There's a Bourne Shell wrapper, which I use to categorize the different LOTR mod items. It is the place to edit to create new categories, or change the assigned ones. Then there's an AWK parser to analyse the Inventory Tweak item tree and find where the LOTR mod items need to be inserted. Finally, there's a recursive Bourne Shell printer to insert a (group of) item(s) with the right indentation.

Also, what is AWK?

It's another language included in Unix, intermediate between the Shell and PERL. It's all centered around Regular Expressions. It's really a power tool. The syntax is cryptic, but it is very powerful! The name AWK stands for it's 3 creators, Aho (the Compilers god), Weinberger and Kernighan (the C language co-creator).

Would you like to contact the mod author and tell him about this?

When you are satisfied with the result, I will contact the Inventory Tweaks authors to offer them to insert or distribute our LOTR mod modifications.

maybe see if this could be supported by both mods?

The nice thing is that the result that you see is 100% automated. It will need a small adaptation with each LOTR mod version to categorize the new items, and in case the Inventory Tweaks item tree format changes (only happened once, so unlikely), and be run again.

could you re-arrange the categories so that there are melee and ranged sections

Easily, though I will probably have to rearrange some vanilla items too. I will release a new version soon.

Have a nice day!