
Strncpy_terminate(dest, src, size) appears to be a custom string copy function, which copies up to size characters from src to dest, and then overwrites the last character in dest with \0.
#STREET LEGAL RACING REDLINE V2.3.1 MODS CODE#
Turns out, there are a lot of places in the code which do things like:ĭest = ( char * ) allocateMem ( size + 1 ) this -> text = dest strncpy_terminate ( dest, src, size + 1 ) this -> text = '\0' Crashing function was very suspicious, but I quickly identified it as memmove. With memory debugging tools enabled, I couldn’t even get to the game. Several hours of debugging, poking the game with different tools and disassembly analysis resulted in several findings: Off-by-one memory copies There is a noticeable amount of random crashes, which seem hard to reproduce – documented issues may be one of several reasons behind those. Please think twice before calling somebody out on “how buggy the game is”.įor the record, none of the found issues are normally fully reproducible, so it’s not like the game crashes for everybody all the time. Bear in mind that this is a code inherited from another developers, so most/all found issues trace back to the original game and not Raxat’s take on it. Of found issues, it may get very technical.ĭISCLAIMER: Although I am pointing out bugs in the game, its developer should not be blamed for them. Thankfully Raxat, main developer, is active online, so a much better way to help is to relay found issues directly! Therefore, since this post is meant to work as a documentation Of course! A new SilentPatch is out of question however – the game is still being maintained, so SilentPatching it could potentially turn into a non-hostile game of cat-and-mouse.

However, it appears like game got just a bit less buggy than it used to be years ago… There is no better way to reunite with a game after years than to buy its digital re-release, and so I did! (like forementioned v2.2.1 MWM and v2.3.0).

This was made obvious by the amount of official patches the game received, as well as numerous modifications overhauling the game and fixing some of its long standing issues However, this game has one major problem – it’s absolutely riddled with bugs!
#STREET LEGAL RACING REDLINE V2.3.1 MODS MOD#
Concept of this game is pretty great, and I have pretty fond memories of playing v2.2.1 Miran Wichur Mod (yet another unofficial patch/expansion to the game, made by fellow Poles) around 2006.
