Scripts & Tools

Besides XASECO and XASECO2, I have also written or contributed to a fair number of scripts and tools that may be useful to TrackMania programming and server maintenance. Most scripts are written in PHP. Here is an annotated list of them, including some by other community members:
  • RPC Utilities (2013-04-19)
    An essential collection for interacting with the dedicated, these scripts allow you to send almost any method to the server, as well as monitor callbacks from it. Also allows listing all methods and provides a sample script to show a lot of server details (forum [@archive.org]).

  • GbxRemote modules (2011-12-04)
    This module provides the XML-RPC interface between PHP scripts and the dedicated server, available in LittleEndian (e.g. Intel PC) and BigEndian variants (forum [@archive.org]).

  • Repair nations
    A maintenance script to repair truncation issues with the Nation field in the XASECO players table.

  • Repair records / Repair records 2
    Maintenance scripts to repair XASECO / XASECO2 record table inconsistencies using the rs_times table.

  • Prune records
    A maintenance script to prune old records/rs_times entries from players that have been offline for a long time.

  • Update panels
    A maintenance script to update a panel setting for all players in a XASECO[2] database.

  • GBX Data Fetcher module (v2.12)
    Three PHP classes that scripts can invoke to fetch all relevant data from Challenge/Map.Gbx, Replay.Gbx and .Pack.Gbx/.pak files or in-memory data (forum [@archive.org]).

  • Extract GBX data (v2.3)
    A command-line script to extract and show all relevant data from the files that the GBX Data Fetcher module can process (forum [@archive.org]).

  • Tally GBX versions w/ sample challenges & maps (2019-11-19)
    A script to extract all version info from a Challenge/Map.Gbx file, along with a collection of samples in all known versions (text list).

  • GBXChallInfo class (v1.2)
    A PHP class to invoke the TMF GetCurrentChallengeInfo method on a track file and return all its info (forum [@archive.org]).

  • Gbx File Dumper
    A Windows tool by Electron to show the contents of the file header of .Gbx (GameBox) files, such as Challenges/Maps, Replays, Packs and more (forum, wiki).

  • MX Info Fetcher class (v2.0)
    A PHP class to fetch info and records for any map from any section of Mania Exchange (forum [@archive.org]).

  • MX Info Searcher class (v2.0)
    A PHP class to search any section of Mania Exchange for maps matching map names, authors and/or environments (forum [@archive.org]).

  • TMN Data Fetcher class (v1.8)
    A PHP class to obtain all available ladder/nation/server stats for a login from the classic TMN ESWC master server (forum [@archive.org]).

  • TMU Data Fetcher class (v1.2)
    A PHP class to obtain all available ladder/zones stats for a login from the classic TM United master server (obsolete; forum [@archive.org]).

  • TMX Info Fetcher class (v2.0)
    A PHP class to fetch info and records for any track from any section of TrackMania eXchange (forum [@archive.org]).

  • TMX Info Searcher class (v2.0)
    A PHP class to search any section of TrackMania eXchange for tracks matching track names, authors and/or environments (forum [@archive.org], forum [@archive.org]).

  • TMN Color Parser class [@archive.org]
    A PHP class by f*ckfish to convert classic TMN ESWC strings (such as player nicknames) to HTML and images.

  • TMF Color Parser class [@archive.org]
    A PHP class by f*ckfish to convert TM Forever strings (such as player nicknames) to HTML and images (mirror).

  • TMF Data Fetcher class [@archive.org]
    A PHP class by f*ckfish to obtain and cache all available ladder stats for a login from the TM Forever stats server (mirror).

  • AsecoTMU plugin /statsall
    This plugin adds the /statsall chat command to AsecoTMU for displaying a player's ladder/zones statistics (obsolete; forum [@archive.org]).

  • Nouse Web Tool bundle [@archive.org]
    A collection of web-based tools by nouseforname for server and XASECO maintenance. See also nouseforname's Linux and Web tools.

  • Website Stats for TMF [@archive.org]
    A collection of web-based tools by XXX-Ant, w1lla, Cypher80, sn3p and others to provide server and player statistics for XASECO (mirror).

  • Website Stats for TM² [@archive.org]
    A collection of web-based tools by w1lla, Cypher80, sn3p and others to provide server and player statistics for XASECO2.
Last updated: 2023-07-06