0.35.2
π¦ 0.35.2 - Windows Path Fix β 28-Jan-2026
π Bug Fixes
- GUI:
- Fixed
InvalidPathExceptionon Windows when bot directories contained backslashes. Windows paths like
C:\robocode\bots\pythonwere being corrupted because backslash sequences (e.g.,\r,\b) were interpreted
as escape characters when saved to the properties file. Bot directory paths are now normalized to use forward
slashes, which work correctly on all platforms.
- Fixed
π Quick Start
New to Robocode Tank Royale? Follow these steps to get started:
- Install Java 11 or newer β Required to run Robocode
- Download and install the GUI β Choose between native installer or JAR file (see below)
- Download sample bots β Get pre-built bots to try out immediately
- Run your first battle β Launch the GUI and start battling!
For detailed guidance, see the Getting Started guide and My First Bot tutorial.
π Documentation
The complete Robocode Tank Royale documentation is available at:
https://robocode-dev.github.io/tank-royale/
Recommended reading order:
- Getting Started β Learn the basics
- Installation guide β Detailed setup instructions
- My First Bot tutorial β Build your first bot
- GUI documentation β Master the user interface
π Installing Robocode
Requirements
- Java 11 or newer is required to run Robocode Tank Royale
- We recommend using the latest Java version for best performance
- Download Java from the official Oracle website or use OpenJDK
π See the installation guide for detailed instructions on installing Java and setting up Robocode.
Choose Your Installation Method
You have two options to install and run the Robocode GUI:
- Native Installers (Recommended) β Installs as a native application with desktop shortcuts
- Portable JAR File β Run directly from the command line without installation
Both options require Java 11 or newer.
Option 1: Native Installers (Recommended)
Native installers provide the easiest installation experience. The GUI will be registered with your operating system,
allowing you to launch it from your application menu or desktop shortcut.
Download for your platform:
| Platform | Installer |
|---|---|
| πͺ Windows | robocode-tank-royale-gui-0.35.2.msi |
| π macOS | robocode-tank-royale-gui-0.35.2.pkg |
| π§ Linux | robocode-tank-royale-gui-0.35.2.rpm (RPM) / robocode-tank-royale-gui-0.35.2.deb (DEB) |
System Requirements:
- Java 11 or newer must be installed
- The
JAVA_HOMEenvironment variable must be set to your Java installation directory- Need help? Read this article from Baeldung:
How to Set JAVA_HOME on Windows, macOS, and Linux
- Need help? Read this article from Baeldung:
β οΈ Important: Unsigned InstallersThe native installers are not code-signed with platform certificates. This is normal for open-source projects.
Your operating system may display security warnings when installing β see the instructions below for your platform.You can verify installer authenticity using the SHA256SUMS and SHA256SUMS.asc files provided with this release.
Installation Steps:
πͺ Windows (MSI)
- Download the
.msifile - Double-click to run the installer
- If Windows SmartScreen appears ("Windows protected your PC"):
- Click "More info"
- Click "Run anyway"
- If prompted by User Account Control (UAC), click "Yes"
- Follow the installation wizard
π macOS (PKG)
- Download the
.pkgfile - Double-click to run the installer
- If macOS Gatekeeper blocks it ("cannot be opened because it is from an unidentified developer"):
- Open System Settings β Privacy & Security
- Scroll down and click "Open Anyway" next to the blocked installer
- Or: Right-click the
.pkgfile and select "Open", then click "Open" in the dialog - Or: Run in Terminal:
xattr -d com.apple.quarantine robocode-tank-royale-gui-0.35.2.pkg
- Enter your administrator password when prompted
- Follow the installation wizard
π§ Linux (RPM/DEB)
RPM (Fedora/CentOS/RHEL):
sudo dnf install ./robocode-tank-royale-gui-0.35.2.x86_64.rpm
# or
sudo rpm -ivh robocode-tank-royale-gui-0.35.2.x86_64.rpmDEB (Debian/Ubuntu):
sudo apt install ./robocode-tank-royale-gui_0.35.2_amd64.deb
# or
sudo dpkg -i robocode-tank-royale-gui_0.35.2_amd64.debNote: Linux packages may show warnings about being unsigned. This is normal for community-distributed software.
After installation, find Robocode Tank Royale GUI in your application menu/launcher and start battling!
Option 2: Portable JAR File
For users who prefer a portable installation or want more control, you can download the GUI as a standalone JAR file.
Download:
| Platform | Download |
|---|---|
| All | robocode-tankroyale-gui-0.35.2.jar |
System Requirements:
- Java 11 or newer must be installed and available on your system
PATH
Running the GUI:
Open a terminal (or command prompt on Windows) and run:
java -jar robocode-tankroyale-gui-0.35.2.jarπ‘ Pro Tips for Better Organization:
Create a dedicated directory for Robocode (e.g., C:\Robocode or ~/Robocode) and place the JAR file there. Then
create a launcher script for easy access:
Windows (run-robocode.bat):
@echo off
java -jar robocode-tankroyale-gui-0.35.2.jarLinux/macOS (run-robocode.sh):
#!/bin/sh
java -jar robocode-tankroyale-gui-0.35.2.jarMake the script executable on Linux/macOS:
chmod +x run-robocode.shWhy use a dedicated directory?
- Robocode automatically creates configuration files in the same directory as the JAR
- Makes it easy to manage settings, logs, and optional resources (like the
sounds/folder) - Keeps your system organized with all Robocode files in one place
For more details on using the GUI, see the GUI documentation.
π€ Sample Bots
To start battling immediately, download pre-built sample bots. These bots demonstrate different strategies and
programming styles.
How to install sample bots:
- Download the sample bots archive for your preferred language(s)
- Extract the archive to a directory on your system (e.g.,
C:\Robocode\bots\pythonor~/robocode/bots/python) - In the GUI, go to Config β Bot Root Directories and add the extracted directory
- The bots will now appear in your bot list!
Available sample bots:
| Language | Download | Requirements |
|---|---|---|
| π Python | sample-bots-python-0.35.2.zip | Python 3.10 or newer |
| π· C# | sample-bots-csharp-0.35.2.zip | Microsoft .NET SDK 8 or newer |
| β Java | sample-bots-java-0.35.2.zip | Any Java SDK 11 or newer |
π Each archive contains a README.md file with platform-specific instructions.
π¦ Bot API
Ready to develop your own bots? Choose your preferred programming language and install the corresponding Bot API.
π Python
Install via pip:
pip install robocode-tank-royale==0.35.2Or download from Python Package Index (PyPI)
β Java
Option 1: Maven (recommended)
Add to your pom.xml:
<dependency>
<groupId>dev.robocode.tankroyale</groupId>
<artifactId>robocode-tankroyale-bot-api</artifactId>
<version>0.35.2</version>
</dependency>Option 2: Gradle
Add to your build.gradle:
implementation 'dev.robocode.tankroyale:robocode-tankroyale-bot-api:0.35.2'Option 3: Direct JAR download
- Download: robocode-tankroyale-bot-api-0.35.2.jar
- Or
browse: Maven Central Repository
π· .NET (C#, F#, VB.NET)
Install via NuGet Package Manager:
dotnet add package Robocode.TankRoyale.BotApi --version 0.35.2Or browse: NuGet repository
π Sound Effects
Enhance your Robocode experience with sound effects! Sound files are available separately from the main distribution.
Download: Sounds Repository
Installation:
- Visit the sounds repository linked above
- Follow the installation instructions to place the
sounds/directory in the correct location relative to your GUI
installation - Restart the GUI to enable sound effects
Sounds include gunshots, explosions, collisions, and more!
π Additional Resources
- GitHub Repository: robocode-dev/tank-royale
- Issue Tracker: Report bugs or request features
- Documentation: Complete documentation site
- Community: Join discussions and get help from other Robocode users