Attention:

Welcome to the old forum. While it is no longer updated, there is a wealth of information here that you may search and learn from.

To partake in the current forum discussion, please visit https://forums.presonus.com

NRuleSet Builder - a tool to create custom rules

A Forum to Discuss NOTION

NRuleSet Builder - a tool to create custom rules

Postby Erufailon » Thu Apr 01, 2010 6:43 am

So here is the first version of NRuleSetBuilder.

It's a tool that let's you create rulefiles to use with unsupported libraries/vstis (or to customize the supported ones) through the external midi ports Notion has.

NRuleSetBuilder.zip
nRulesetbuilder
(322.42 KiB) Downloaded 887 times


Seems like I have to highlight the attachment box above to see it, don't know why.

Please read the readme.pdf!

You'll need to copy 3 files into the directory where you unzip this.
a,
you'll need to copy the expressionlist.tpk file to the same folder you unzipped.
b,
you'll need to get appframework-1.0.3.jar from somewhere (google) and place it in the lib folder inside the folder you unzipped to.
c,
you'll need to get swing-worker-1.1.jar and place it in the lib folder inside the folder you unzipped to.

I am really sorry about b and c, I just don't want to take any more time trying to understand the GNU LGPL licenses of these two libraries, read the readme.pdf for further explanation.

Also as stated in the readme, don't direct any questions about this to Notionmusic. If you have questions, ask me.

The included default.prules could be a good starting place for new rulesets, it includes some general rules that could be useful.

I have tried to create a readme that's understandable, but it's possible that I haven't suceeded, if so, please tell me so.
Last edited by Erufailon on Fri Apr 02, 2010 2:09 pm, edited 6 times in total.
Erufailon
 
Posts: 155
Joined: Sat Jan 30, 2010 2:32 pm

Re: NRuleSet Builder

Postby Erufailon » Thu Apr 01, 2010 6:52 am

Swing worker can be downloaded from java.net. https://swingworker.dev.java.net/ download the 1.1 version. Higher should work I suppose, but I used 1.1.

Appframework is also easy to find, for example at http://java2s.com, type appframework in the search box. If you get it here, you'll get an appframework.jar you'll have to rename it to "appframework-1.0.3.jar" and place it in the lib folder.

I really wish I could avoid this...
Erufailon
 
Posts: 155
Joined: Sat Jan 30, 2010 2:32 pm

Re: NRuleSet Builder

Postby ulrik » Thu Apr 01, 2010 8:35 am

Hi Erufailon!

This is great news and very kind of you to share this app with us all :)
However I can't get it to start on my mac ppc g5 running osx 10.5.8, it starts for a second or two but then just quits, I have all the libraries you wrote about.
What do you think could be wrong?

regards / Ulrik
User avatar
ulrik
 
Posts: 203
Joined: Thu Feb 04, 2010 5:27 am
Location: Sweden

Re: NRuleSet Builder

Postby Erufailon » Thu Apr 01, 2010 8:55 am

Do you click on anything when it stops, or does it just stop by itself? Unfortunately I don't have a mac nowhere near me, so I could only test it on my Win7 system. Does java output any error messages?

edit: I have updated the attachment, I accidently posted a build that I used for testing that reads the expressionlist.tpk from 'e:\'. Mea culpa, it should read it from the current directory :) Ulrik, please test this, tho my java jre runs it correctly even if it doesn't find the expressionlist, it could be one reason it crashed. Anyone else who already download it, please download it again as well.

And I can't emphasize this enough (to everyone)! Copy the expressionlist.tpk into the folder, DO NOT MOVE it! If you move it, Notion3 won't work!
Erufailon
 
Posts: 155
Joined: Sat Jan 30, 2010 2:32 pm

Re: NRuleSet Builder

Postby ulrik » Thu Apr 01, 2010 9:49 am

Hi!
Dpwnloaded the new app but no luck so far, this is the log message I get when trying to run it:
2010-04-01 15.47.56 [0x0-0x78078].com.apple.JarLauncher[1431] Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javax/swing/GroupLayout$Group
2010-04-01 15.47.56 [0x0-0x78078].com.apple.JarLauncher[1431] at NRulesetbuilder.NRuleBuilder.startup(NRuleBuilder.java:35)
2010-04-01 15.47.56 [0x0-0x78078].com.apple.JarLauncher[1431] at org.jdesktop.application.Application$1.run(Application.java:171)
2010-04-01 15.47.56 [0x0-0x78078].com.apple.JarLauncher[1431] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
2010-04-01 15.47.56 [0x0-0x78078].com.apple.JarLauncher[1431] at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
2010-04-01 15.47.56 [0x0-0x78078].com.apple.JarLauncher[1431] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
2010-04-01 15.47.56 [0x0-0x78078].com.apple.JarLauncher[1431] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
2010-04-01 15.47.56 [0x0-0x78078].com.apple.JarLauncher[1431] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
2010-04-01 15.47.56 [0x0-0x78078].com.apple.JarLauncher[1431] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
2010-04-01 15.47.56 [0x0-0x78078].com.apple.JarLauncher[1431] at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
User avatar
ulrik
 
Posts: 203
Joined: Thu Feb 04, 2010 5:27 am
Location: Sweden

Re: NRuleSet Builder

Postby Erufailon » Thu Apr 01, 2010 10:11 am

I have no idea how a mac works, but it seems it can't find the javax.swing library, which I believe, though I'm not sure as 1.6 was the first version I even met, became part of java at 1.6, so if you have an earlier version, it's not a part of java. Can you update your java install?
edit: yep, looked it up, Grouplayout is in 1.6, but not in 1.5, so I suppose you have 1.5 or earlier.
Erufailon
 
Posts: 155
Joined: Sat Jan 30, 2010 2:32 pm

Re: NRuleSet Builder

Postby ulrik » Thu Apr 01, 2010 11:45 am

Erufailon wrote:I have no idea how a mac works, but it seems it can't find the javax.swing library, which I believe, though I'm not sure as 1.6 was the first version I even met, became part of java at 1.6, so if you have an earlier version, it's not a part of java. Can you update your java install?
edit: yep, looked it up, Grouplayout is in 1.6, but not in 1.5, so I suppose you have 1.5 or earlier.

Ok, I understand, I'll check it out, thanks for support!
User avatar
ulrik
 
Posts: 203
Joined: Thu Feb 04, 2010 5:27 am
Location: Sweden

Re: NRuleSet Builder

Postby FX1 » Thu Apr 01, 2010 12:37 pm

Thanks so much for the hard work and the share.

Work in two hours but I'll definately be loading this up for a try later tonight.

Thanks!!
FX1
 
Posts: 12
Joined: Thu Feb 11, 2010 4:44 pm
Location: USA

Re: NRuleSet Builder

Postby ulrik » Thu Apr 01, 2010 2:39 pm

Erufailon wrote:I have no idea how a mac works, but it seems it can't find the javax.swing library, which I believe, though I'm not sure as 1.6 was the first version I even met, became part of java at 1.6, so if you have an earlier version, it's not a part of java. Can you update your java install?
edit: yep, looked it up, Grouplayout is in 1.6, but not in 1.5, so I suppose you have 1.5 or earlier.


Unfortunately Apple dropped the support for java 1.6 in leopard, at least for the ppc machines (which I have), so I will not be able to test your application, I'm sorry. :(
User avatar
ulrik
 
Posts: 203
Joined: Thu Feb 04, 2010 5:27 am
Location: Sweden

Re: NRuleSet Builder

Postby Erufailon » Thu Apr 01, 2010 4:19 pm

Sorry about that, I'll check if I can modify the code so it wouldn't require anything 1.6 specific.
Erufailon
 
Posts: 155
Joined: Sat Jan 30, 2010 2:32 pm

Next

Return to NOTION

Who is online

Users browsing this forum: No registered users and 26 guests