Skip to content

[DISCONTINUED] Simple framework designed to ease use of Telemetry API in SCS Software's truck games and to provide some other usefull tools. Also includes translated API headers and pascal reimplementation of examples distributed with the SDK.

License

Unknown, MPL-2.0 licenses found

Licenses found

Unknown
license.txt
MPL-2.0
mpl_license.txt
Notifications You must be signed in to change notification settings

TheLazyTomcat/TelemetryLibrary

Repository files navigation

--------------------------------------------------------------------------------
                               Telemetry Library
--------------------------------------------------------------------------------

Description
----------------------------------------
Telemetry library is a rather simple framework that is intended to ease use of
telemetry API provided by some SCS Software games.
It started only as simple translation of SDK header files into pascal, but has
grown significantly since then. It contains set of functions and classes which
encapsulates calls to the API and many more. You should refer to source files
and documentation for details about individual functions and classes and their
use.
It is developed primarily in Delphi 7 Personal, so it can be compiled in it and
possibly in newer versions of Delphi as well. Compilation in FPC/Lazarus is
supported and some parts of the library are written in Lazarus, so you can
compile them without a need for conversion. It is also possible to compile the
library in 64bit mode, but please note that it was not thoroughly tested.



Content
----------------------------------------
This section describes nature of content of individual folders in this project.

./

  Root folder of the project, contains licenses and readme file.

./API Headers

  Translated API headers and other stuff around Telemetry SDK.

  ./API Headers/Original source

    Original source files (headers and examples) of the SDK provided by
    SCS Software. They can also be downloaded from this page
    http://www.eurotrucksimulator2.com/mod_tools.php. They are provided
    alongside this project as a reference for translations and debugging.

  ./API Headers/Headers

    Header files (originally *.h files) translated to pascal.

  ./API Headers/Headers Tester

    Simple application used for basic check of translated headers (syntax
    checks, basic debugging, ...).

  ./API Headers/Condensed Headers

    Contains file that is created by merging all translated header files into
    one conglomerate. This file is there to simplify units dependency - you can
    use only one unit in uses clause instead of several individual units.

  ./API Headers/Condenser

    Application used to merge translated header files into one file.

  ./API Headers/Condensed Headers Tester

    Simple program used for basic control of condensed (merged) headers.

./Libs

  Libraries used throughout the project. Currently only contains two versions of
  FastMM, one adapted for use in libraries (DLLs) and one in programs.

./Documents

  Project-wide documents.

./Scripts

  Scripts for batch compilation and clearing of the library.

./Telemetry Library/Source

  All source files for Telemetry Library. All files directly in this folder are
  considered as "core" units of the Telemetry Library, but there are also
  several subdirectories containing individual specialized parts of the library,
  namely:

  ./Telemetry Library/Source/Libs
      Other libraries that are used inside the Telemetry Library, for example
      CRC32 calculations.

  ./Telemetry Library/Source/Log
      Units containing classes used for logging of telemetry and API actions
      (textual and binary loggers).

  ./Telemetry Library/Source/SCS
      Examples provided by SCS Software along the SDK translated into pascal.
      They are not exact translations, rather pascal reimplementation designed
      to imitate behavior of the originals.

./Telemetry Library/Tester

  Application used for testing and debugging of Telemetry Library. Actual code
  of this app changes very often, according to what part of the library needs
  testing or is under development.

./Telemetry Library/Examples

  Example programs and plugins showing how to use Telemetry Library and its
  parts. Currently, following examples are included:

  ./Telemetry Library/Examples/TextLogger
      Plugin implementing text logger (output is plaintext file).

  ./Telemetry Library/Examples/BinaryLogger
      Plugin implementing binary logger (output is binary file of special
      format - you can find complete specification of this format in
      documentation).

  ./Telemetry Library/Examples/LogConverter
      Small program implementing binary log to text log converter. You can use
      this program to convert binary logs to human-readable form.

./Telemetry Library/SCS Examples

  Plugins implementing translated examples provided with the SDK. Folders with
  individual plugins are named the same as folders with corresponding examples
  in SDK.
  There is also a simple program that is not part of the SDK (located in
  subdirectory telemetry_mem_reader) - it shows a possible way how to utilize
  telemetry_mem example. It should work both with translated and original
  telemetry_mem example plugin.

./Telemetry Library/AutoDocumentation

  Contains utilities (or link where you can get them) and other materials used
  for automatic generation of documentation.

./Telemetry Library/Documentation

  Automatically generated (using PasDoc) documentation of Telemetry Library in
  form of HTML pages. Note that this documentation is far from complete, but
  should cover important parts.



Symbols/Defines
----------------------------------------
Following are symbols that can/must be defined project-wide when compiling the
library. There is number of other symbols used internally (defined
automatically), for these, refer to appropriate source file for details.

Debug

  Define for debugging builds. Release is inferred when not defined.

PurePascal

  ASM code will NOT be used where possible when this symbol is defined.



Licensing
----------------------------------------
Everything (source codes, executables/binaries, configurations, etc.), with few
exceptions mentioned below, is licensed under Mozilla Public License Version
2.0. You can find full text of this license in file mpl_license.txt or on web
page https://www.mozilla.org/MPL/2.0/.
Exception being following folders and their entire content:

./Documents

  Contains library documents. Everything in this folder is licensed under the
  terms of Creative Commons Attribution-ShareAlike 4.0 (CC BY-SA 4.0) license.
  You can find full legal code in file CC_BY-SA_4.0.txt or on web page
  http://creativecommons.org/licenses/by-sa/4.0/legalcode. Short wersion is
  available on web page http://creativecommons.org/licenses/by-sa/4.0/

./API Headers/Original source

  This folder contains original SDK sources which have their own license. See
  individual archives for information about actual license.

./Telemetry Library/Documentation

  Contains documentations for Telemetry Library in form of HTML pages.
  Everything in this folder is licensed under the terms of Creative Commons
  Attribution-ShareAlike 4.0 (CC BY-SA 4.0) license (see above for details).

./Telemetry Library/AutoDocumentation/Docs

  Contains documents and data (images, texts, ...) used in creation of
  documentation. Content of this folder is licensed under Creative Commons
  Attribution-ShareAlike 4.0 (CC BY-SA 4.0) license (see above for details).

./Libs/FastMM

  Some parts of this project are using FastMM as memory manager. For information
  about FastMM license, please refer to its source files located in this folder.



Repositories
----------------------------------------
You can get actual copies of Telemetry Library on these git repositories:

https://bitbucket.org/ncs-sniper/telemetrylibrary
https://github.com/ncs-sniper/TelemetryLibrary



Authors, contacts
----------------------------------------
František Milt, frantisek.milt@gmail.com



Copyright
----------------------------------------
©2013-2016 František Milt, all rights reserved

About

[DISCONTINUED] Simple framework designed to ease use of Telemetry API in SCS Software's truck games and to provide some other usefull tools. Also includes translated API headers and pascal reimplementation of examples distributed with the SDK.

Topics

Resources

License

Unknown, MPL-2.0 licenses found

Licenses found

Unknown
license.txt
MPL-2.0
mpl_license.txt

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages