Cockpit project
#1
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.
Reply
#2
I wish EdwRom was still around to be a resource; he made some awesome cockpits - lightbar for RPM and flag indications, closed cockpit /fenders for GTP, etc. - but I've lost all that stuff that I had.
Reply
#3
I think it's possible to make gearshift stick moving like in ICR1 without any addition tools. You just need to replace in cockpit rol pictures of gear numbers with shifter stick in appropriative positions. It should work.
Reply
#4
(10-26-2023, 04:17 AM)Pavel 69 Wrote: I think it's possible to make gearshift stick moving like in ICR1 without any addition tools. You just need to replace in cockpit rol pictures of gear numbers with shifter stick in appropriative positions. It should work.

I've seen some pretty cool cockpits but I don't believe I've seen someone try to make a gear shifter, so I was assuming there was some limitation. Also, I found the classic cockpit that has an analog tachometer with not so smooth movement, and most other things are still digital.
Reply
#5
I like the idea of having an icr1 style cockpit in icr2.

Actually, now that I think of it at the top of my list (and I know you will think this is weird) I wish icr2 had the little colored cars next to the standings list when you are driving just like icr1 had. When I was a kid I used to think this was so cool (I had no clue then it just took the colors from the 3do's)
Reply
#6
(10-26-2023, 12:54 AM)CowtownBob Wrote: I wish EdwRom was still around to be a resource; he made some awesome cockpits - lightbar for RPM and flag indications, closed cockpit /fenders for GTP, etc. - but I've lost all that stuff that I had.

I haven't had the time to collect and post my ICR2 files burned to DVDs to send to Tjerk, but I did find my trove of cockpit files. Many are from the M4Driving forum days of the community.
Attached are some that I found.

And a couple more.


Attached Files
.zip   Cockpits1.zip (Size: 1.84 MB / Downloads: 146)
.zip   cockpits2.zip (Size: 1.83 MB / Downloads: 128)
Reply
#7
An update!

Reply
#8
very cool - I like the idea of having a stock style cluster like the late 80s early 90s where they started using LCDs, but with a h-pattern shifter that moves.
Reply
#9
Wow, looks very nice Smiley
Reply
#10
(11-04-2023, 05:41 AM)checkpoint10 Wrote: An update!

Wonderful,Quick,More
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)