TGMutils library published


Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/u28471/devblog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/u28471/devblog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/u28471/devblog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/u28471/devblog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /homepages/u28471/devblog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: Invalid argument supplied for foreach() in /homepages/u28471/devblog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /homepages/u28471/devblog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: Invalid argument supplied for foreach() in /homepages/u28471/devblog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

With rFactor2 comes a new and complicated tire model. While it supports many new features it’s also a lot more complicated than in rFactor1. Together with erale, we had the idea of creating a tool to edit the tire definitions (TGM-files) more easily. We started a prototype, got many new ideas and the proof-of-concept worked, but due to my time constraints I didn’t continue development. However, since this is a topic where smart utilities to help modders can be developed and are welcomed, I decided to give you a head-start by releasing parts of my prototype.

I published the TGMutils to CTDP’s GitHub. This small library is a TGM parser to read the rFactor2 tgm files and store the data in a Java class. This library can be integrated in your software to import TGM files. This only covers TGM import, TGM export is not implemented. The parser is fully tested using jUnit. At this point this library could be interesting for Java-developers, but not users. I licensed it under at MIT License. So you can use it in your projects, fork it, extend it and make something of it. I’d be very happy. 🙂

Published by

(CTDP)Dahie

Textures supervisor, Webdesign, Programming

Leave a Reply

Your email address will not be published. Required fields are marked *