Skip to content

Releases

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

Pre-release

Choose a tag to compare

@mrdon mrdon released this 30 Nov 07:42

Second preview of TWX Proxy DB, a port of TWX Proxy 2.7.00a to Free Pascal/Lazarus for Linux, Windows and macOS. It replaces 0.1, which had a defect in the Linux GUI's Load Script dialog.

This is a preview for play testing. Known issues are listed in docs/known-issues.md.

Fixed since 0.1

  • Linux GUI, Load Script: a script picked through the tray menu's file dialog now loads under its proper name. Before, a script with "bot" in its file name failed to load, and others showed their full path in script lists, error messages and the Stop Script menu. The same fix covers Quick Load, Play Capture, .twx export and import and the auto-run picker.
  • Linux GUI: settings are saved when the program is ended by a signal, for example at desktop logout.
  • GUI: a program folder or data folder that cannot be written to gives one clear message instead of a silent exit.
  • GUI: the License window opens at the end of the text, as the original does; the Load Script dialog pre-fills script.ts and shows its file type text properly on Qt.

Downloads

File What it is
twxproxy-db_2.7.00a+db0.1.1_amd64.deb Linux GUI (Qt6), twxpd and twxc for Debian/Ubuntu. Start with twxproxy-db.
twxproxy-db-2.7.00a-db.0.1.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.1-linux-x86_64.tar.gz Headless only: static twxpd and twxc, no dependencies.
twxproxy-db-2.7.00a-db.0.1.1-win64.zip Windows 64-bit: twxp.exe (native GUI), twxpd.exe, twxc.exe.

On Linux the GUI keeps its data in ~/.local/share/twxproxy. On Windows it uses its own folder, as the original does.

What has and has not been tested

  • Unit tests, byte-for-byte file comparisons and 46 recorded game sessions replayed against the original 2.7.00a pass on Linux and on the Windows build under Wine.
  • Live sessions against a game server pass through twxpd and through the Linux GUI under a virtual display. The live script suite was not completed on this exact build.
  • The GUI's independent verification pass failed 0.1 on the Load Script defect. It has not been repeated on this build.
  • The Windows GUI has not been used on a real Windows machine, and the Linux GUI has not been tried on a real desktop.
  • macOS builds and passes unit tests in CI. No package in this release.

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.

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

Pre-release

Choose a tag to compare

@mrdon mrdon released this 30 Nov 05:54

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.