04-16-2022, 06:16 AM
During GPLaps' livestream today there was a conversation about hacking force feedback into icr2 and it occurred to me that it should be possible to do it without touching the game exe through the use of an outside utility. But it's beyond my skillset though and I'm old as dirt and can't be arsed to learn machine programming, but for any of you young'uns who might like a side project, here's the theory:
As you drive your car the game takes your control inputs, track description data and AI definitions, processes them through the intellectual property that is the physics engine, and calculates your car's position for a particular moment in time. The results of that calculation will be stored, however briefly, in certain registers within the program's working memory, being replaced by updated values in subsequent timesteps.
If those memory registers can be identified a utility could be developed to read the changing values and translate them into a force feedback signal.
Theoretically.
(Original poster takes no responsibility for any injuries sustained by anyone attempting this feat of Dark Art.)
As you drive your car the game takes your control inputs, track description data and AI definitions, processes them through the intellectual property that is the physics engine, and calculates your car's position for a particular moment in time. The results of that calculation will be stored, however briefly, in certain registers within the program's working memory, being replaced by updated values in subsequent timesteps.
If those memory registers can be identified a utility could be developed to read the changing values and translate them into a force feedback signal.
Theoretically.
(Original poster takes no responsibility for any injuries sustained by anyone attempting this feat of Dark Art.)