|
| Notices |
Welcome to the DriverHeaven.net forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
 |
Mar 10, 2007, 03:09 AM
|
#1
|
|
DriverHeaven Extreme Member
Join Date: Jan 2005
Posts: 4,104
|
Adding new categories to plugin menu?
This question is in response to a post that Eugene made in the UFX thread, but since it was not directly related to UFX, I thought it would be better to create a new thread.
Quote:
Originally Posted by Eugene Gavrilov
you can add new categories as well
just place their names to lang.ini
E.
|
Can anyone explain how to do this?
I tried this but was unable to get a new category to show up on the plugin/effects menu.
I copied the default skin and edited kxskin.ini (new guid), lang.ini, and categories.ini.
I tried adding:
(lang.ini)
categories.10=MyFx
(categories.ini)
10=categories.10
I also added some plugins to this category, at the bottom of categories.ini (plugin_guid=10, etc).
I also tried use hex ('A' instead of '10') in both files to see if it made any difference.
I know kX was using the new skin because the effects that I added to the new category no longer showed on the list in the general area (they moved to the 'Default' category), but the new category did not show up in the list.
<edit> I do not seem to get the above behavior any more (3539), but I do know that the new skin is being used as I moved some of the plugins (i.e. added the rest of the ProFX plugins to ProFX menu, etc).
</edit>
Did I miss something?
BTW:
What is the max number of categories?
What format is used for category numbering (hex, decimal)?
Is there a max number of plugins per category?
Is there anything else we should know about this?
Thanks,
-Russ
Last edited by Russ; Jan 17, 2008 at 09:37 AM.
|
|
|
Jan 17, 2008, 09:22 AM
|
#2
|
|
DriverHeaven Extreme Member
Join Date: Jan 2005
Posts: 4,104
|
I am still wondering about this...
I can move plugins around within the current categories, but I cannot add new categories.
|
|
|
Jan 17, 2008, 01:02 PM
|
#3
|
|
DriverHeaven Lover
Join Date: Jan 2008
Location: germany, sb0090
Posts: 106
|
could be very usefull.
|
|
|
Jan 17, 2008, 05:40 PM
|
#4
|
|
kX Project Lead Programmer and Coordinator
Join Date: Dec 2002
Posts: 2,952
|
if I remember the things correctly, here's what is necessary:
categories.ini:
=========
[categories]
10=categories.10
your plugin guid=10
your plugin guid=10
...
lang.ini:
=====
[lang]
categories.10=Category Name
However, current driver code does only support =10= categories, this is hard-coded in kxmixer source code. So, it will only work for categories 0..9
|
|
|
Jan 17, 2008, 05:47 PM
|
#5
|
|
DriverHeaven Extreme Member
Join Date: Jan 2005
Posts: 4,104
|
It would be great if that number could be increased in in the future (as my plugin list is getting long)
Thanks E. (and Max)
|
|
|
Apr 4, 2008, 02:15 PM
|
#6
|
|
DriverHeaven Newbie
Join Date: Mar 2003
Location: louisville, KY
Posts: 5
|
Hi Russ (or anyone),
I'd like to learn how to fiddle with the plugin menus and categories to avoid scrolling. I know about windows INI files, but do not have a
- lang.ini
- categories.ini
anywhere on my OS drive. Is there a tutorial or information pertaining to how to edit these files, and make them active? I presume that kxCtrl.exe is involved, but did not see an explicit command line option for ini files.
Thanks,
Ken Lundberg
|
|
|
Apr 4, 2008, 04:07 PM
|
#7
|
|
DriverHeaven Extreme Member
Join Date: Jan 2005
Posts: 4,104
|
It is the kx skin system. There is a file in the kx directory, kxskin.kxs, which is a zip archive. The files are in there. There are no tutorials that I know of, and the only documentation is the comments within the files.
-Russ
|
|
|
Apr 4, 2008, 05:01 PM
|
#8
|
|
DriverHeaven Extreme Member
Join Date: Jan 2005
Posts: 4,104
|
Here is more info (now that I have more time to respond) regarding editing the plugin menu.
Currently you will only be able to rename the sub menus and add/remove plugins to/from the sub menus.
Extract categories.ini, lang.ini, and kxskin.ini from kxskin.kxs.
lang.ini contains the sub menu (category) names for different languages. You would edit this if you wanted to change the name of a sub menu.
categories.ini is where plugins are assigned to a sub menu (category). This is done using the plugin's GUID and the category# (from lang.ini). It should be fairly self explanatory. BTW: It appears that the last line in the file should be a blank line.
You will need to edit kxskin.ini to give the skin a new name and a new GUID (generate GUID from kX Settings menu).
Zip up the 3 files as whatever.kxs, register the new skin and select it from the menu to use it.
For any other skinning, you will need to look at the structures of the different files, and read the comments within those files, etc.
<edit>
In kX 3541 you can add new categories!
See Eugene's previous reply for info on adding new categories.
Thanks E.
</edit>
Last edited by Russ; Apr 4, 2008 at 08:59 PM.
|
|
|
Apr 5, 2008, 08:46 AM
|
#9
|
|
DriverHeaven Extreme Member
Join Date: Jan 2005
Posts: 4,104
|
I added an example (3541 only) here. It places all ProFX plugins into the ProFX submenu, and it adds a UFX submenu, where it places any uncategorized UFX plugins (i.e. UFX plugins that are not already in another category).
BTW: The categories.ini file differs from the original (in addition to the above modification) in that it is sorted (I find it easier to work with this way), and has comments indicating the category names.
|
|
|
Apr 6, 2008, 08:43 PM
|
#10
|
|
DriverHeaven Newbie
Join Date: Mar 2003
Location: louisville, KY
Posts: 5
|
Russ,
Wow - I'm liking this user community more and more - fast answers and exceeded expectations!
Thanks for the information about kxskin.kxs (a zip file by any other name is just as sweet), and the example. My objective was to organize the plugin menu structure, and you've already done it.
Onward,
Ken
|
|
|
|
|
|