• MTS alternativ

    From Sascha Zapf@21:1/5 to All on Tue Mar 1 07:26:28 2022
    Is there a MTS alternativ out there? I can't comlie it and the binaries won't work at my PC

    Sascha

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Metcalf@21:1/5 to Sascha Zapf on Tue Mar 1 18:37:36 2022
    On Tue, 01 Mar 2022 07:26:28 -0800, Sascha Zapf wrote:

    Is there a MTS alternativ out there? I can't comlie it and the binaries
    won't work at my PC

    Sascha

    Hi Sascha,

    I have an MTS binary which works on Windows 10 if you need it?

    John

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Metcalf@21:1/5 to All on Tue Mar 1 19:42:22 2022
    On Tue, 01 Mar 2022 07:26:28 -0800, Sascha Zapf wrote:

    Is there a MTS alternativ out there? I can't comlie it and the binaries
    won't work at my PC

    Here's the Windows binary - I think this was compiled with Fabrice
    Bellard's Tiny C Compiler:

    * https://corewar.co.uk/mtswin.zip

    I use three batch files to test multiple warriors against a benchmark. Benchmark warriors should have the extension .red and warriors to test
    should have no extension.


    ---- TEST.BAT ----
    @rem ** THIS FILE CALLS TESTXXXX FOR EVERY FILE WITHOUT AN EXTENSION **
    @for %%f in (%1*.) do call testxxxx %%f
    @scores



    ---- TESTXXXX.BAT ----
    @rem ** THIS BATCHFILE CALLS MTS TO BENCHMARK THE WARRIOR **
    @rem ** YOU CAN CHANGE THE PMARS PARAMETERS HERE (LINE 6) **
    @echo off
    echo f >xxxxxxxx.xxx
    echo n >>xxxxxxxx.xxx
    echo pmars -b -F 5555 -r 1000 -s 8000 -p 8000 -c 80000 -l 100
    xxxxxxxx.xxx
    echo y >>xxxxxxxx.xxx
    echo %1.res >>xxxxxxxx.xxx
    echo xxxxxxxx.xxx >>xxxxxxxx.xxx
    echo %1 >>xxxxxxxx.xxx
    for %%f in (*.red) do echo %%f >>xxxxxxxx.xxx
    mts <xxxxxxxx.xxx
    ren %1 %1.rc
    erase xxxxxxxx.xxx
    erase *.mts



    ---- SCORES.BAT ----
    @echo off
    copy %1*.res xxxxxxxx.yyy >nul
    echo Name Author W L
    T Score >results.txt
    echo --------------------------------------------------------------------------- >>results.txt
    find " 1 " xxxxxxxx.yyy |sort /+70 /r >>results.txt
    erase xxxxxxxx.yyy
    type results.txt |more

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sascha Zapf@21:1/5 to John Metcalf on Wed Mar 2 01:16:15 2022
    John Metcalf schrieb am Dienstag, 1. März 2022 um 20:42:24 UTC+1:
    On Tue, 01 Mar 2022 07:26:28 -0800, Sascha Zapf wrote:

    Is there a MTS alternativ out there? I can't comlie it and the binaries >> won't work at my PC
    Here's the Windows binary - I think this was compiled with Fabrice
    Bellard's Tiny C Compiler:

    * https://corewar.co.uk/mtswin.zip

    I use three batch files to test multiple warriors against a benchmark. Benchmark warriors should have the extension .red and warriors to test should have no extension.


    Thx, it runs fine.

    I use it just to start my own scheduler.

    Sascha

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)