tools/raw_recorder + tr_bots/_salvage: recorder source and the legacy port
tools/raw_recorder/RawRecord.java + shadow/GameRecorder.java the observer
that writes the .battle.gz corpora in data/ (gitignored, regenerable)
tools/raw_recorder/query.py, sample_outline.md query helpers
and the shape of a capture
tr_bots/_salvage/ the port audit:
portaudit/{methods,static}.py, shim/, and the tr_wrappers/*.json + *.sh
for 29 rescued legacy bots, with legacy_bots/MANIFEST.sha256
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# Shim / bridge source — NOT duplicated here
|
||||
|
||||
The legacy-Robocode → Tank-Royale bridge (shim) source is **already durable in the repo** and was
|
||||
deliberately not copied here:
|
||||
|
||||
- Live copy: `tools/robocode_shim/` (`src/robocode_shim/LegacyBotBridge.java`,
|
||||
`TankRoyaleBridge.java`, `ClassicPeer.java`, `TrBattleCapture.java`, `ThreadManagerFix.java`,
|
||||
`build.sh`, `make_botdir.sh`, `robots.json`, `LEGACY_BOTS.md`, `run_smoke.sh`,
|
||||
`run_bridge_battle.sh`, `analyze_closed_loop.py`).
|
||||
|
||||
That tree is owned by another active job, so this salvage pass left it untouched.
|
||||
|
||||
## Related /tmp sources that were NOT salvaged, and why
|
||||
|
||||
| /tmp path | What it is | Why skipped |
|
||||
|---|---|---|
|
||||
| `/tmp/rb-bridge/` (8 MB, has `.git`) | Clone of the **public** upstream `https://github.com/robocode-dev/robocode-api-bridge.git`, branch `main` at `6a4fea7`, **no local commits and no uncommitted changes** | Fully reproducible with `git clone`. Verified clean — nothing to rescue. |
|
||||
| `/tmp/inspect/rbjar/` | Class files extracted from `robocode.jar` | Derivable from `tools/robocode_shim/vendor/robocode.jar`, already in repo. |
|
||||
| `/tmp/robocode/install/` | Robocode 1.9.5.5 install tree + `libs/robocode.jar` | Public installer download; `vendor/robocode.jar` already in repo. |
|
||||
| `/tmp/drussgt/`, `/tmp/portaudit/src/jk`, `/tmp/shim_out/jk`, `/tmp/dbg_src/jk`, `/tmp/dbg_out/jk`, `/tmp/DrussGT_extracted/` | Decompiled DrussGT Java source (5 near-identical copies, verified byte-identical) | **Out of scope** — another active job owns DrussGT. See "Still at risk" in the parent README. |
|
||||
|
||||
## portaudit tooling
|
||||
|
||||
`../portaudit/{methods.py,static.py}` were salvaged because they are unique analysis scripts that
|
||||
walk a decompiled Java tree to inventory method signatures and stub coverage. Note they hardcode
|
||||
`root = "/tmp/portaudit/src"` — repoint if reusing.
|
||||
Reference in New Issue
Block a user