GodotInSim version 2 is now
available on GitHub.
I am introducing a few breaking changes (such as InSimPacket.create() for sendable packets instead of forcing initialization in InSimPacket.new()), but also more features to LFSText, more file formats (lyt, set, car_info.bin), and Player/Connection/LFSState classes that keep track of PLID/UCID/IS_STA changes, with GodotInSim automatically sending requests where needed. New helper functions for sending messages were also added to simplify the use of IS_MST, IS_MSX, IS_MSL and IS_MTC packets.
Those changes will make my life easier for the GIS Hub mentioned in my previous post, but also allows me to replace my ad-hoc, partial .set and car_info.bin parsing for the setup validation tool with full parsing of those files.
And since I'm mentioning GIS Hub again, quick update: the plan to use a TCP server to decouple the main InSim connection and the modules is going to the bin, as it brings more pain than is necessary, and actually has little to no benefit (modules crashing still means functionality is lost, so if you need to keep critical functionality, it's easier to just have another instance with different modules enabled). Instead, one GIS Hub instance manages one InSim connection, and all modules in that instance share this connection - same result, except that if you want to separate functionality, you have to launch another instance (and use a second InSim "slot").
Progress on the hub app itself is slow a I've been working on GodotInSim itself, and can now use some of the new features for this. I still need to make a proper module management system, as right now every module found gets loaded, no questions asked.
(Grid Maker was a simple test to place start positions for each of the 32 cars on the grid, and extend that to 40 (in a straight line, although following the PTH nodes should be possible))
(Race Director is a test and doesn't do much yet, but should give a shiny GUI to control lights (main lights, pit exit lights, additional groups of lights by sector), start/end safety car/VSC/red flag, give penalties to drivers, and monitor car contacts, object hits, and HLVC reports)