10-25-2023, 04:53 PM
Just picking up random projects lately and here is one I am working on. I've been thinking about how we could possibly simulate the 1980s IndyCar dashboards with all those analog gauges, as well as actual roll bars and gear shift instead of their digital indicators.
The program works like this: 1) Identify the Dosbox window and take a screenshot of it to memory. 2) Read specific pixels on the dashboard to see if they are lit or unlit. 3) Convert the pattern of lit and unlit pixels to numbers. 4) Display the appropriate graphic on top of the Dosbox window, at the correct location, depending on the numbers read from the dashboard
This is a proof of concept showing that this actually works and there is almost no lag. I am making the program read the gear indicator and then display the correct graphic on the right side. This is all done by reading the dashboard and there is no hacking or cheat engine stuff required.
The program works like this: 1) Identify the Dosbox window and take a screenshot of it to memory. 2) Read specific pixels on the dashboard to see if they are lit or unlit. 3) Convert the pattern of lit and unlit pixels to numbers. 4) Display the appropriate graphic on top of the Dosbox window, at the correct location, depending on the numbers read from the dashboard
This is a proof of concept showing that this actually works and there is almost no lag. I am making the program read the gear indicator and then display the correct graphic on the right side. This is all done by reading the dashboard and there is no hacking or cheat engine stuff required.