Move DrussGT into legacy_bots/ with standard layout

DrussGT now lives at legacy_bots/DrussGT/{DrussGT.jar,DrussGT.sh,DrussGT.json}
like the other legacy bots. Its jar is committed and recorded in
MANIFEST.sha256 (sha256 5dfc0595...). tr_bots/DrussGT is kept as a
compatibility symlink to ../legacy_bots/DrussGT for in-flight jobs.
The vendored copy under tools/robocode_shim/vendor/drussgt/ is untouched.
This commit is contained in:
2026-10-06 08:49:02 +02:00
parent 61d834ac59
commit 5b4ad80f35
9 changed files with 64 additions and 12 deletions
Binary file not shown.
+11
View File
@@ -0,0 +1,11 @@
{
"name": "DrussGT",
"version": "3.1.4159",
"authors": ["Jacob"],
"description": "Real classic DrussGT running on Tank Royale via the robocode_shim bridge",
"homepage": "",
"countryCodes": ["se"],
"gameTypes": ["classic", "1v1"],
"platform": "JVM",
"programmingLang": "Java 8"
}
+34
View File
@@ -0,0 +1,34 @@
#!/bin/sh
# Legacy classic-Robocode robot hosted on Tank Royale by our own shim.
# Bootable by the official tankroyale booter (SERVER_URL/SERVER_SECRET come from
# the environment - this script never hardcodes a server address).
cd "$(dirname "$0")"
HERE="$(pwd)"
REPO="$(cd "$HERE/../.." && pwd)"
export SHIM_BOT_CLASS="jk.mega.DrussGT"
export SHIM_BOT_JAR="$HERE/DrussGT.jar"
: "${SHIM_DATA:=${DRUSSGT_DATA:-$(mktemp -d "${TMPDIR:-/tmp}/tr_shim_data.XXXXXX")}}"
export SHIM_DATA
: "${BOT_NAME:=DrussGT}"
export BOT_NAME
: "${BOT_VERSION:=3.1.4159}"
export BOT_VERSION
: "${BOT_AUTHORS:=Jacob}"
export BOT_AUTHORS
: "${BOT_DESCRIPTION:=Real classic DrussGT running on Tank Royale via the robocode_shim bridge}"
export BOT_DESCRIPTION
: "${BOT_HOMEPAGE:=}"
export BOT_HOMEPAGE
: "${BOT_COUNTRY_CODES:=se}"
export BOT_COUNTRY_CODES
: "${BOT_GAME_TYPES:=classic,1v1}"
export BOT_GAME_TYPES
: "${BOT_PLATFORM:=JVM}"
export BOT_PLATFORM
: "${BOT_PROG_LANG:=Java 8}"
export BOT_PROG_LANG
exec java -cp "$REPO/tools/robocode_shim/out:$REPO/tools/robocode_shim/vendor/robocode.jar:$REPO/tools/robocode_shim/vendor/robocode-tankroyale-bot-api-1.0.2.jar" robocode_shim.LegacyBotBridge
+1
View File
@@ -11,6 +11,7 @@
2e4e94b5061bd287d758b0dcc03734a6a5cb432b077d2b296f9641682bad4d96 Dookious/Dookious.jar
39d3b37cc9e7a9a2f244efcc526d756846e66a619730e75beb24cdce70194b5f Coriantumr/Coriantumr.jar
57f7348becec43c111d2e126240b30b5fdb8bc597ff18104df1cf07d67aaee5c DiamondStealer/DiamondStealer.jar
5dfc05957f911349db77a9994629687bbe68686ff1b760c5857144d040e58e59 DrussGT/DrussGT.jar
66705bfbd6daa2b1f7470e9e17846a238b752fc3829227ddc7e67612c33117ff Ascendant/Ascendant.jar
79884ef9a9613ab04d92fa6a9cce64d2cdf38c7ec347060e16e746bb8474df35 RetroGirl/RetroGirl.jar
8154cbe8645640447447d1f55bf5da0e9484b6b7d6507c87824f9ebe71952848 WaveSurferPG/WaveSurferPG.jar
+8 -5
View File
@@ -65,17 +65,20 @@ Nene/Seraphim would need a second driver path in the shim (an Azuma-framework
adapter) before they are worth resurrecting. The other three fire but never
move, so they are dead weight as sparring partners.
Dropping the six inert bots from the tree leaves **28** directories; the
Dropping the six inert bots from the tree leaves **29** directories (28 legacy
champions plus the reference bot `DrussGT`); the
2-round survey that fed the drop list counted 26 bots that both fired *and*
moved, because `PatternRobot` and `KurtWaveSurfer` fire but are weak movers —
they are kept here as `WORKS_WEAK` rather than dropped.
### DrussGT
**Not duplicated here.** DrussGT is the reference bot, it has decompiled sources
in the repo, and its jar is already vendored at
`tools/robocode_shim/vendor/drussgt/DrussGT.jar` with its bot directory in
`tr_bots/DrussGT`. Copying it here would create a second copy to keep in sync.
DrussGT — the reference bot — is now a first-class member of this tree at
`legacy_bots/DrussGT/{DrussGT.jar,DrussGT.sh,DrussGT.json}`, using the same
layout as every other legacy bot. Its jar is committed here and recorded in
`MANIFEST.sha256`; it is also vendored (with decompiled sources) at
`tools/robocode_shim/vendor/drussgt/` for port analysis. `tr_bots/DrussGT` is
kept as a compatibility symlink to `legacy_bots/DrussGT` for in-flight jobs.
## Running a battle
+3 -2
View File
@@ -20,8 +20,9 @@ jar) are vendored and tracked under `tools/robocode_shim/vendor/`.
* **28 legacy champions are usable right now** and live in `legacy_bots/`
(26 validated as effective + `PatternRobot` and `KurtWaveSurfer`, which play
but are flagged weak). `DrussGT` itself is the reference bot and lives in
`tr_bots/DrussGT`.
but are flagged weak). `DrussGT` itself is the reference bot and now lives in
`legacy_bots/DrussGT` alongside them (its jar is also vendored, with decompiled
sources, at `tools/robocode_shim/vendor/drussgt/`).
* **6 were dropped** after measurement: `Nene`, `Seraphim` (inert, 0 shots —
see the missing-API note below), and `Aurora`, `FloodMini`, `LightningBug`,
`Aristocles` (fire but never move, 0 hits). Their jars and wrapper dirs were
+5 -4
View File
@@ -9,15 +9,16 @@
{
"name": "DrussGT",
"main_class": "jk.mega.DrussGT",
"jar": "tools/robocode_shim/vendor/drussgt/DrussGT.jar",
"jar": "legacy_bots/DrussGT/DrussGT.jar",
"version": "3.1.4159",
"style": "dynamic-clustering gun + wave-surfing movement (Voidious-style mega)",
"status": "REFERENCE",
"obtained": "pre-existing (spike asset)",
"source_url": "",
"license": "not stated in jar",
"botdir": "tr_bots/DrussGT",
"evidence": "run_bridge_battle.sh default path, 2 rounds vs SpinBot: fired 141, hits 17; won 2/2"
"botdir": "legacy_bots/DrussGT",
"evidence": "run_bridge_battle.sh default path, 2 rounds vs SpinBot: fired 141, hits 17; won 2/2",
"sha256": "5dfc05957f911349db77a9994629687bbe68686ff1b760c5857144d040e58e59"
},
{
"name": "Diamond",
@@ -417,6 +418,6 @@
"WORKS": "fires and moves in a real battle",
"WORKS_WEAK": "launches and fires but barely moves or lands no hits",
"NOT_USEFUL": "launches but is inert or does not move - measured, then DELETED from legacy_bots/, from tr_bots/_salvage/ and from this file (Nene, Seraphim, Aurora, FloodMini, LightningBug, Aristocles)",
"REFERENCE": "DrussGT, the reference bot; lives in tr_bots/DrussGT"
"REFERENCE": "DrussGT, the reference bot; lives in legacy_bots/DrussGT"
}
}
+1
View File
@@ -0,0 +1 @@
../legacy_bots/DrussGT
+1 -1
View File
@@ -12,7 +12,7 @@ the Downloads tree is never modified.
The official booter (`tools/booter/robocode-tankroyale-booter-0.35.5-all.jar`) runs
`<dir>/<Name>.sh` with cwd = the bot directory and injects `BOT_*` / `SERVER_*`
from the sibling `<Name>.json`. Each wrapper follows the existing
`tr_bots/DrussGT/` pattern: `cd "$(dirname "$0")"` then `exec <abs-path-to-binary>`.
`legacy_bots/DrussGT/` pattern: `cd "$(dirname "$0")"` then `exec <abs-path-to-binary>`.
Directly via the raw recorder: