'Rocrail ZIP' is provided as ZIP archive, and can be downloaded from the Daily Build site.
Rocrail ZIP allows to "install"1) to (almost) any location on the computer: For example, on the desktop, on a second internal drive, etc. All files needed by Rocrail are stored in one folder; there are no files created or hidden outside this folder (except the optional desktop icon).
If enough memory2) is available, the ZIP file can even be unzipped to a memory stick.
This allows portable usage on changing hardware, but with the same operating system.
Important Notes:
Select the right installer for your Mac:
CPU | Installer ZIP | Remark |
---|---|---|
Intel | Catalina, Sierra, ElCapitan, Leopard | The Catalina build runs also on newer macOS Intel versions. |
Apple Silicon M1/M2/M3 | Sonoma |
After every download the following steps are necessary for security reasons:
Help for switching from a classic installation to the installation with a ZIP file: Switching to ZIP installer explained step by step. |
Simply unpack the ZIP archive into a directory of choice and double-click on the script file desktoplink.cmd 3) to create a shortcut of Rocview on the desktop. A workspace can be selected to start the server.
When starting for the first time a safety warning from Windows Defender may be displayed (screenshot). First, the text More info has to be clicked, then in the modified dialogue (screenshot) button Run anyway has to be clicked.
Detailed installation instructions can be found under Install Rocrail under Windows
Just unzip it in the home directory (not copied to the system) and double click on the desktoplink.sh to create a Rocview Desktop shortcut with all needed parameters to startup a workspace..
Check this table which build is compatible with the target Linux distribution:
Build | Compatible with | Architecture |
---|---|---|
Debian 11 | Debian 12, LMDE 5, Mint 20, Manjaro LTS, Ubuntu 20, Ubuntu 22, openSUSE 15 | i386, AMD64, x86_64 |
If the file explorer opens the script files in an editor, its easier to open a terminal, and change the directory into the place where the ZIP file is located. Then issue following commands: (The same sequence can also be used for updating.)
cd unzip -u -d Rocrail Downloads/Rocrail*.zip cd Rocrail ./desktoplink.sh
An extension is needed if the Rocview Desktop Icon does not appear.
Open a terminal window and type in the following commands:
sudo apt install gnome-tweaks sudo apt install gnome-shell-extension-desktop-icons gnome-tweaks
After Gnome Tweaks did open, select in the left column "Extensions", and activate "Desktop icons".
The Rocview Desktop Icon will at first look like a text document. Activate in the context menu, right click on this icon, and activate "Allow Launching".
To be able to pin Rocview on the Taskbar Panel the Rocview.desktop file must be copied to the applications directory:
sudo cp ~/Desktop/Rocview.desktop /usr/share/applications
Search for Rocview in the Startmenu and start it. Now the Rocrail Icon can be pinned on the Panel.
Note: On some systems the Desktop directory has another name like Schreibtisch. (Depending on the selected language.)
Check this table which build is compatible with the target Linux distribution:
Build | Compatible with | Architecture | Manufacturer |
---|---|---|---|
PiOS11 | Ubuntu 20, Ubuntu 22, Manjaro, Armbian 22 | ARMHF, ARM64 | Raspberry Pi, Odroid |
Check if PiOS is 32 or 64 bit by terminal command
getconf LONG_BIT
In case the result is 32 the ARMHF build must be used.
Important Note:
In order for an update not to overwrite files modified for own purposes (Images, SVG, Decspecs etc.), these must be saved with changed file names or in a separate directory.
Not for novice users! |
To access the Demo plan select File→Demo Workspace.
To access the Wiki Demo plan select File→Open Workspace (in this directory look for the wikidemo folder and select.)
Rocrail ├───desktoplink.cmd (Windows -- Icon on the desktop) ├───rocview.cmd (Windows -- Rocview and Server) ├───readme.txt (Information) ├───start.html (Startup Help with links to the stepbystep-xx Wiki pages) ├───revision-xxxxx.info (Revision number and the last 500+ revisions) ├───desktoplink.sh (Linux -- Icon on the desktop) ├───rocrail.png (Linux -- Rocrail icon) ├───rocview.sh (Linux -- Rocview and Server) ├───rocrail.sh (Linux -- Server only) ├───startrocrail.sh (Linux -- Script for use with crontab; Copy or symlink it into ~) ├───initdefault.sh (Linux -- Init default workspace with symlinks to: svg, web, images, decspec) ├───update.sh (Linux -- Update Rocrail by Server Monitor) ├───sysupdate.sh (Linux -- Update OS by Server Monitor) ├───default (Default empty workspace in case of crontab and/or Server Monitor) ├───wikidemo | └───plan.xml (wiki demo plan) ├───demo (default demo workspace) | └───plan.xml (larger plan with shadow station) ├───web (Rocweb data) ├───bin (Executables and libraries) ├───decspecs (Rocpro decoder specification) ├───stylesheets (Docu formats) ├───images (Pictures: Symbols, Locs, Wagon, ...) └───svg (Scalable Vector Graphics) ├───themes | ├───Accessories | ├───CTC | ├───Roads | ├───SLIM | ├───SLIM-COLOR | └───SpDrS60 └───dynthemes ├───Accessories ├───Roads ├───SLIM ├───SLIM-COLOR └───SpDrS60
Rocrail.app └───Contents ├───_CodeSignature (Optional code signing with Apple Developer ID) ├───Frameworks (Libraries *.dylib) ├───MacOS | ├───rocrail | └───rocview (<CFBundleExecutable> in the Info.plist) ├───Resources | ├───Rocrail.icns | ├───data | | ├───decspecs (Rocpro decoder specification) | | ├───stylesheets (Docu formats) | | ├───images (Pictures: Symbols, Locs, Wagon, ...) | | ├───web (Rocweb data) | | └───svg (Scalable Vector Graphics) | | ├───themes | | | ├───Accessories | | | ├───CTC | | | ├───Roads | | | ├───SLIM | | | ├───SLIM-COLOR | | | └───SpDrS60 | | └───dynthemes | | ├───Accessories | | ├───Roads | | ├───SLIM | | ├───SLIM-COLOR | | └───SpDrS60 | ├───demo | | └───plan.xml | └───wikidemo | └───plan.xml └───Info.plist
Rocview will create the following local directory structure:
$HOME └───rocrail ├───decspecs ├───images ├───stylesheets ├───svg ├───web ├───wikidemo └───demo
Newer files in the Rocrail.app will overwrite the existing files in the ~/rocrail directory.
The Wayland WindowManager comes with following restrictions:
Change the Exec line in the desktop file into:
Exec=env GDK_BACKEND=x11 ....
Add the user to the group dialout: FAQ