Skip to content
Jamiras edited this page Apr 6, 2026 · 2 revisions

While RATools is a Windows-only application due to its dependence on WPF, it can be run in Linux.

NOTE: These commands were tested on a fresh install of Ubuntu 24.04 in a VM. There might be slight differences for other operating systems, or if other software has already been installed.

From the command line

The easiest way is to use your favorite editor to actually edit the script, then use rascript-cli to process the script.

Setup

This will install the .NET 10 runtime and create a shell script to run rascript-cli within the .NET 10 runtime environment.

$ wget https://dot.net/v1/dotnet-install.sh
$ chmod +x dotnet-install.sh
$ ./dotnet-install.sh --channel 10.0
$ echo "export DOTNET_ROOT=~/.dotnet" > rascript-cli.sh
$ echo "export PATH=$PATH:~/.dotnet" >> rascript-cli.sh
$ echo "dotnet rascript-cli.dll \"\$@\"" >> rascript-cli.sh
$ chmod +x rascript-cli.sh

Then you can use the rascript-cli.sh just like rascript-cli.exe:

$ ./rascript-cli.sh -i ~/scripts/game.rascript -a Username -o ~/emulator/RACache/Data

Through WINE

As mentioned above, the RATools editor has dependencies on WPF, which is Windows specific. The following commands set up WINE such that you can run RATools.exe through WINE:

$ sudo mkdir -pm755 /etc/apt/keyrings
$ sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
$ sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources
$ sudo dpkg --add-architecture i386
$ sudo apt update
$ sudo apt install --install-recommends winehq-staging
$ wine RATools.exe
 - Select "Yes" to download the .NET Desktop Runtime, which should open a browser window and download the runtime.
$ wine ~/Downloads/windowsdesktop-runtime-10.0.5-win-x64.exe
$ wine RATools.exe

If you notice the editor is not using a fixed width font, you'll need to install the Consolas font files:

$ sudo apt install -y winetricks
$ winetricks consolas

Clone this wiki locally