rF2 Internals Plugin sample #8 by ISI/S397 found at:.RFactor 2 API has some limitations/bugs, and plugin tries to deal with that by deriving some information: basic accumulated damage info, tracking session transitions and optionally reading game memory directly. A lot of work was done to ensure it is as efficient and reliable as possible. For read operations, it can handle any number of clients without slowing down rF2 plugin thread. This plugin is carefully implemented with an intent of becoming a shared component for reading rF2 internals. It also allows keeping CPU time impact in rFactor 2 plugin threads to the minimum. Reading and writing shared memory allows creating external tools running outside of rFactor 2 and written in languages other than C++ (C# sample is included). Plugin also allows some level of input back into the rFactor 2 API. Essentially, this is direct memcpy of rFactor 2 internals (except for extended stuff implemented to workaround API limitations/bugs). This plugin mirrors exposed rFactor 2 internal state into shared memory buffers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |