Go Back   DriverHeaven > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > Effects and the DSP
Register Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old Mar 10, 2007, 03:09 AM   #1 (permalink)
Russ
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 3,875
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

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 View Post
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.
Russ is offline   Reply With Quote
Old Jan 17, 2008, 09:22 AM   #2 (permalink)
Russ
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 3,875
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

I am still wondering about this...

I can move plugins around within the current categories, but I cannot add new categories.
Russ is offline   Reply With Quote
Old Jan 17, 2008, 01:02 PM   #3 (permalink)
stylus02
DriverHeaven Junior Member
 
Join Date: Jan 2008
Location: germany, sb0090
Posts: 95
stylus02 is on a distinguished road

could be very usefull.
stylus02 is offline   Reply With Quote
Old Jan 17, 2008, 05:40 PM   #4 (permalink)
Eugene Gavrilov
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 2,888
Eugene Gavrilov is a glorious beacon of lightEugene Gavrilov is a glorious beacon of lightEugene Gavrilov is a glorious beacon of lightEugene Gavrilov is a glorious beacon of lightEugene Gavrilov is a glorious beacon of lightEugene Gavrilov is a glorious beacon of light

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
Eugene Gavrilov is offline   Reply With Quote
Old Jan 17, 2008, 05:47 PM   #5 (permalink)
Russ
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 3,875
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

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)
Russ is offline   Reply With Quote
Old Apr 4, 2008, 02:15 PM   #6 (permalink)
klundberg
DriverHeaven Newbie
 
Join Date: Mar 2003
Location: louisville, KY
Posts: 5
klundberg is on a distinguished road

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
klundberg is offline   Reply With Quote
Old Apr 4, 2008, 04:07 PM   #7 (permalink)
Russ
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 3,875
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

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
Russ is offline   Reply With Quote
Old Apr 4, 2008, 05:01 PM   #8 (permalink)
Russ
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 3,875
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

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.
Russ is offline   Reply With Quote
Old Apr 5, 2008, 08:46 AM   #9 (permalink)
Russ
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 3,875
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

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.
Russ is offline   Reply With Quote
Old Apr 6, 2008, 08:43 PM   #10 (permalink)
klundberg
DriverHeaven Newbie
 
Join Date: Mar 2003
Location: louisville, KY
Posts: 5
klundberg is on a distinguished road

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
klundberg is offline   Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

 
Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
Artwork by Allan 'Zardon' Campbell, vBulletin implementation by Craig '5320' Humphreys based on original artwork by Ratchet.

All times are GMT -5. The time now is 07:24 PM. Copyright ©2008 DriverHeaven.net