Skip to content

TWX Proxy DB 2.7.00a-db.0.1 (preview)

Pre-release
Pre-release

Choose a tag to compare

@mrdon mrdon released this 30 Nov 05:54
· 15 commits to main since this release

First preview of TWX Proxy DB, a port of TWX Proxy 2.7.00a from Delphi to Free Pascal/Lazarus. The aim is a drop-in replacement: the same scripts, bots, databases and settings files, on Linux, Windows and macOS, plus a headless daemon (twxpd).

This is a preview for play testing. Expect rough edges and please report what you find.

Downloads

File What it is
twxproxy-db_2.7.00a+db0.1_amd64.deb Linux GUI (Qt6), twxpd and twxc for Debian/Ubuntu. Start with twxproxy-db.
twxproxy-db-2.7.00a-db.0.1-linux-x86_64.run The same Linux GUI as one self-unpacking file. chmod +x and run. Needs the system Qt6 libraries.
twxproxy-db-2.7.00a-db.0.1-linux-x86_64.tar.gz Headless only: static twxpd and twxc, no dependencies.
twxproxy-db-2.7.00a-db.0.1-win64.zip Windows 64-bit: twxp.exe (native GUI), twxpd.exe, twxc.exe. Unzip and run, or copy the exes into an existing TWX Proxy folder.

All packages include the stock scripts of the original 2.7.00a.

On Linux the GUI keeps its data (databases, settings, logs, scripts) in ~/.local/share/twxproxy. On Windows it uses its own folder, as the original does.

What has been tested

  • Headless twxpd on Linux: compared step by step against the original 2.7.00a (run under Wine) on recorded and live Trade Wars sessions, including trading, mapping, colonising, stealing, combat scripts and bots. Checked by an independent verification pass.
  • Linux GUI (Qt6): the same live sessions and script scenarios pass through the GUI under a virtual display. Its independent verification pass found the Load Script defect listed below.
  • Windows build: unit tests and recorded sessions pass under Wine and in CI on Windows. The Windows GUI has not yet been used by a person on a real Windows machine.
  • macOS: builds and unit tests pass in CI. No package in this release.

Known gaps

  • Linux GUI, Load Script dialog: a script picked through the tray menu's Load Script file dialog is handled by its full path. A script whose file name contains "bot" fails to load that way, and others show their full path in script lists and error messages. Workaround until 0.1.1: load from the terminal menu ($ s s), or use Quick Load / Load Bot. Windows is not affected.
  • Linux GUI: settings are not saved if the program is ended by a signal (for example at desktop logout). Exit through the tray menu or $ x.
  • No sounds yet.
  • The update check, the Setup tray-icon picker off Windows and a few other Windows-only extras are not ported (docs/not-ported.md).
  • Script random numbers (getRnd) do not follow the original's sequence (the original's is not reproducible either).
  • Mombot 5 needs TWX 3.0 commands and does not run, as on the original 2.7.

Reporting problems

Start with a trace and add notes where something looks wrong:

  • GUI: TWXP_TRACE=trace.jsonl twxproxy-db, then "Add trace note..." in the tray menu.
  • Headless: twxpd --trace trace.jsonl ..., then Ctrl-T in your terminal.

The trace records everything shown and typed, including passwords typed by hand, so check it before sharing.

Checksums are in SHA256SUMS.