TM
Full Member
Offline
Posts: 133
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #27 - Dec 6th , 2007, 1:17pm
Ok, after searching and testing I finally did make it work. So for those like me who don't really know much about java and are on XP, ( please correct me if I write something wrong and stupid ): 1/ Download Java 1.5 ( http://java.sun.com/javase/downloads/index_jdk5.jsp ), the first one in the list. On the processing website they seems to say NOT tu use 1.5 and stick to 1.4 ( http://processing.org/reference/environment/platforms.html#java ). You decide. Install it. 2/ Download processing for windows without java. 3/ Download: wrj4P5.zip and wrj4P5.jar, loc.zip and loc.jar, WiiRemoteJ and bluecove-2.0.1. In the WiiRemoteJ read-me file they say that you need to put the two files ( WiiRemoteJ.jar and bluecove-2.0.1.) in java/lib/ext/(jar). Well don't. Didn't work for me and I think it's for if you are using something else then processing. 4/ In processing/libraries/ create two folders: wrj4P5 and Loc. 4a/ In the wrj4P5 folder put what is in wrj4P5.zip, create another folder named library in the wrj4P5 folder and put: WiiRemoteJ.jar, bluecove-2.0.1.jar, wrj4P5.jar and loc.jar 4b/ In the Loc folder put what's in loc.zip, create a library folder and put the loc.jar into it. 5/ Plug you'r bt usb device. For the bt thing I can really remember how I manage it when I first started using the wiimote with glovepie. I remember I had to download a bluetooth software/driver, not blueSoleil. BlueSoleil didn't work for me. Normally after you have sorted the bluethooth thing you should have a nintendo device in your bluethooth list. You don't have to connect ( is it the right way to say it? ), the bluecove/WiiRemoteJ will handle it. 6/ Download Classiclll's exemple ( http://www.geocities.jp/classiclll_newweb/P5aber/applet/index.html ). By the way would be nice Classiclll to have the sound that the sketch use. But I imagine we can replace them with others but there's a lot of them. And if you don't have them nothing will happen when the skecth runs. update: use this one instead so at leat you have something ( http://www.geocities.jp/classiclll_newweb/MyFirstWii/applet/index.html ) 7/ Start your sketch, when asked press button 1&2. That's it. I don't know yet about coding problems, issues and all the thing about programing your project but at least I manage to get it working and I will start coding, ouf! !!!!!!!!!!!!!!!!!!!!!!!!!!! THANKS A LOT Classiclll and Chaos !!!!!!!!!!!!! ps: could be usefull, https://sourceforge.jp/projects/wrj4p5/document/Wrj4P5/en/1/Wrj4P5.txt