Rocrail Pro
Wiki Documentation
Support Forum
Mobile
- andRoc Android
- Rocweb Browser
- WIO-Control ESP32
- Rocview Tablet
DIY
User
Wiki writer
Special
Legal
Rocrail Pro
Wiki Documentation
Support Forum
Mobile
DIY
User
Wiki writer
Special
Legal
Content → Mobile Clients → RocJ
Tip: Also try out Rocweb. |
The Java based client for Rocrail.
(Support Key needed.)
RocJ is a Java 5+ Rocrail client targeted to MIDs and Pads.
This client is track plan oriented and can be controlled with just a one (left)button mouse or touch screen.
It does not feature an application menu; All actions are context sensitive.
RocJ is a goody for those who have a valid support key installed on the server:
Without a key RocJ will run 5 minutes demo. (152+)
RocJ can be started directly with Java Web Start:
The first time, or when an update is available, RocJ will be downloaded:
RocJ will use the selected device language if available. It defaults to English.
Add or edit your own language at LaunchPad:
Translations at LaunchPad: https://translations.launchpad.net/rocrail/rocj/+pots/rocj
Download the latest snapshot of RocJ here:
https://launchpad.net/rocrail/+download
java -jar rocj.jar
Images are searched in the images directory in the working directory of RocJ; The location where RocJ is started.
accessory_#1_on_#2.png accessory_#1_off_#2.png
The image size should be a multiple of 32 in width and height.
Add following two lines in the rocj.ini:
speak4block=1,4,8 speakcmd=espeak
speak4block | Comma separated list of block ID's |
speakcmd | Speak command; Can also be a script. |
Check the plan if it is XML well formed with a tool like "XmlSpy".
Or use the W3C service: http://validator.w3.org/#validate_by_upload
Rocrail and Rocview are using the Rocs parser which is not so strict as the Java one.