Moderator: Related software moderators
dmitri wrote:elrules wrote:I have been finding some difficulties with some sysex messages not being sent correctly to megadrum. But if I use MIDI-OX as a bridge, they are sent correctly. It must be a buffer size issue I think. I don't know if I will be able to fix it, so the program will not be completely standalone. It will require midi ox configured like this:
Config tool -> Midi-OX -> megadrum
instead of the desired:
Config tool -> Megadrum
Well, I'll keep on investigating this issue after I've finished the program, as now it works with midi-ox chained.
With MIDI-OX it'll rely on Windows, so it'll loose multi platform feature.
elrules wrote:I am also interested in the tests made by Linux and Mac users. Arent't there any Mac or Linux megadrum's users?? common!!
elrules wrote:I am also interested in the tests made by Linux and Mac users. Arent't there any Mac or Linux megadrum's users?? common!!
Only developpers using Xeon et Core 2 Duo Intel Leopard Machines can run Java 1.6
Apple's official website still only talks about 1.5 updates
In the meantime, somebody took the source code and ported it to Mac, I dont know if it's stable nor reliable! SoyLatte: Java 6 Port for Mac OS X 10.4 and 10.5 (Intel)" by Landon Fuller.
elrules wrote:Well, I have uploaded a beta version so you can test it.
I have tested all the actions that can be done. Everything works, including the firmware update for windows users
Tested in a Windows XP pc.
http://www.serfin.eu/configtool/install.jnlp
You must have Java 6 installed.
Click the link and select "Open with Java Web Start Launcher"
The app should popup with an mini-help screen. Configure it and it will show.
It is adviced to have megadrum connected with the first run of the program, but it is not obligatory.
Later, it will be better to run the program after megadrum has been connected to USB, since the program will open the midi ports correctly. But anyway I think it also works if you connect megadrum aftter runing the app
The link will be operative till we all together decide it is stable. When that occurs, I hope dmitri accepts my proposal of uploading it to megadrum.info instead of the server of the place I work
Can you post a screenshot of what you see?I try to run it under Vista, but there is something wrong with the Lay-out, once You click on menu's etc.
The Lay-out get's sort of multiplied...
If you can run with no problems java 1.5 applications then the solution for mac users is very easy. I can recompile it to be 1.5 compliant, so you can run it. I specified the installer to require java 1.6 but the application can run with java 1.5. I only need to add separately a library that it is integrated in java 1.6 but it was an addon for 1.5.I tried using your previous link http://www.serfin.eu/configtool/install.jnlp,
But I get a "Java Web Start- System configuration" error message saying that (and I'm translating from french to english here)...
"It's impossible to run Megadrum Config Tool because the application asked for a JRE version 1.6+ that is not locally installed"
Dmitri, this error you get is due to the System.getProperty("userprofile") method. In windows it gets the environment variable C:\Documents and settings\user. I wrongly thought that in linux it will give me something like /home/user/. As in windows vista and linux the administrator rights are very restrictive, that was the option I thought about to be able to save configuration files. Any guess on how to save user settings? If I write a file without no route, then if you run the app from the desktop link it will write the .ini files to the desktop and that is not very clean... It depends on what link you run. I need to find a path for the config files that can be accessed without restrictions for the 3 OS (windows, mac and linux) If you have any idea let me knowThis an error I get when trying to run it under linux:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at megadrum.Common.getUserProfileFolder(Common.java:141)
It is not only you I will fix it heheIs it me only or when doing 'Actions for selected pad->from MD' it doesn't work for the Kick pad? 'Actions for all settings-from MD' does load the Kick pad though.
You are right.- The Hihat pedal meter works inverse to the LCD display, anyway with me.
elrules wrote:Any guess on how to save user settings? If I write a file without no route, then if you run the app from the desktop link it will write the .ini files to the desktop and that is not very clean... It depends on what link you run. I need to find a path for the config files that can be accessed without restrictions for the 3 OS (windows, mac and linux) If you have any idea let me know
japi wrote:elrules wrote:Any guess on how to save user settings? If I write a file without no route, then if you run the app from the desktop link it will write the .ini files to the desktop and that is not very clean... It depends on what link you run. I need to find a path for the config files that can be accessed without restrictions for the 3 OS (windows, mac and linux) If you have any idea let me know
Either make it arbitrary to /etc/megadrum for example (all linux has "etc" directory)
or use the enviroment variable $HOME that expands to current user home directory. You could have for example "$HOME/megadrum/megadrum.ini" as the configuration file.
dvr:~# echo $HOME
/root
For showing the help web file, I use a method that gets the variable "os.name". If it contains "win" it launches a command, if it contains "mac" it launchs another, and with the rest (linux) it uses another. Maybe I could distinguish the .ini folder with that method..dmitri wrote:$HOME is unix specific. I guess it will break compatibility with Windows. There should be a proper way in Java to get a user home/configuration directory.
Users browsing this forum: Bing [Bot], Google [Bot] and 17 guests