Author Topic: Caterham Super Seven JPE  (Read 1033 times)

Cas

  • Straight Specialist
  • ***
  • Posts: 1186
  • Think different. That's OK... as long as you think
    • View Profile
    • Dimioca Labs
Re: Caterham Super Seven JPE
« Reply #30 on: October 22, 2021, 08:38:21 AM »
Yeah!  I had posted there before. I'll make another post in that thread to push it up and to add some insight
Earth is my country. Science is my religion.

Zapper

  • Stunts Expert
  • *
  • Posts: 103
    • View Profile
Re: Caterham Super Seven JPE
« Reply #31 on: November 04, 2021, 02:13:40 AM »
Cas, with the recent "great" news from the "Color changing of the needle" post I could finally get a black colored needles, maintaining the "original" lime yellow backgroud color!

So I edit the Caterham's RES file parameter 0D4h (one of the stated "Unknown parameter" in Stunts wiki page) from value "10h" to "00h" and using Stunts 1.1 mod 1.0

Here are the results:


I've also attached a preliminary release of the of "Caterham Super Seven JPE v1.1m" specifically for this mod.

« Last Edit: November 04, 2021, 02:23:22 AM by Zapper »

Daniel3D

  • Corkscrew Cad
  • ***
  • Posts: 1008
    • View Profile
Re: Caterham Super Seven JPE
« Reply #32 on: November 04, 2021, 06:06:44 AM »
The beauty of CAS solution is that for the old version of the game it doesn't change. So you don't have to make a special edition for the mod. Only an update.
It was Ryoma his post that made me look at the code and find the variable. It was CAS that saw the modification potential then.
But it was the Super 7 that made us look for ways to actually do it. CAS did all the programming and I could compile and test, and we just planned a moment to both be awake to do this together.
CAS started at around 8PM (my time zone) I posted our first partial success at 10PM. It was done at midnight. 14 loops of changing, compiling, testing and analysing.  8)

« Last Edit: November 04, 2021, 01:48:57 PM by Daniel3D »
Ever tried, ever failed. Try again, fail better.

Currently running 19 separate instances of Stunts or 4D Sports Driving.
---------
Stunts resources.
https://mega.nz/folder/JM8HQI5a#mH5ZBNwXC0eEBmockWo50A

Cas

  • Straight Specialist
  • ***
  • Posts: 1186
  • Think different. That's OK... as long as you think
    • View Profile
    • Dimioca Labs
Re: Caterham Super Seven JPE
« Reply #33 on: November 05, 2021, 01:52:08 AM »
Yes!  I'm glad it worked well and it's great to see it in action on custom cars :D

After we achieved this with Daniel3D, I started trying a few options to make the needles separately configurable, but when I passed those to Daniƫl, it didn't seem to work well. I now have made a another, less intrusive version of that and we have to test it. Hopefully, it'll work well. If it does, it'll be compatible with the previous version of the patch, so no need to change the cars a second time.
Earth is my country. Science is my religion.

Zapper

  • Stunts Expert
  • *
  • Posts: 103
    • View Profile
Re: Caterham Super Seven JPE
« Reply #34 on: November 05, 2021, 04:07:15 PM »
The solution implemented by you, Cas and Daniel3D (and everyone involved) on this update "mod 1.0" seams to be simple and have low risk (or no risk at all), like all the best solutions! ;)
Congratulations for your excellent work!
 
Regarding the possibility to get a different needle color I think that it is a bit unusual in real cars, making this possible for me is not so useful as make a possibility to use a digital tachometer like it is actually possible on the speedometer. (sorry for another mod suggestion ;) it would be great to have it on KITT dashboard  ;D)

Daniel3D

  • Corkscrew Cad
  • ***
  • Posts: 1008
    • View Profile
Re: Caterham Super Seven JPE
« Reply #35 on: November 05, 2021, 05:15:15 PM »
Some cars have a red tachometer and a white speedometer. And the solution is almost as noninvasive as the first.
It uses bites that are standard 16(White) and 00(black) for speed and tacho respectively.
Basically, if the second byte is 00, then both needles are the colour of the first byte. If the second byte is non-zero, then the speed-o-meter is the colour of the first byte and the tach-o-meter is the colour of the second byte.
What it means is that colour 00(black) is only available for the tach-o-meter if the speed-o-meter colour is also zero. All other colours can be configured separately.
Ever tried, ever failed. Try again, fail better.

Currently running 19 separate instances of Stunts or 4D Sports Driving.
---------
Stunts resources.
https://mega.nz/folder/JM8HQI5a#mH5ZBNwXC0eEBmockWo50A

Daniel3D

  • Corkscrew Cad
  • ***
  • Posts: 1008
    • View Profile
Re: Caterham Super Seven JPE
« Reply #36 on: November 05, 2021, 05:17:28 PM »
Making a digital tachometer is more intrusive. But should be possible.
Ever tried, ever failed. Try again, fail better.

Currently running 19 separate instances of Stunts or 4D Sports Driving.
---------
Stunts resources.
https://mega.nz/folder/JM8HQI5a#mH5ZBNwXC0eEBmockWo50A

Cas

  • Straight Specialist
  • ***
  • Posts: 1186
  • Think different. That's OK... as long as you think
    • View Profile
    • Dimioca Labs
Re: Caterham Super Seven JPE
« Reply #37 on: November 06, 2021, 02:34:06 AM »
Well, yes, now it works! :)  If we didn't do it, the high byte of Red #5 was not used for anything, so this kind of had to be done  ;D

About the digital tach-o-meter, yes, like Daniel3D says, that's more complex and more likely to destabilise the code, but I have thought of it and had mentioned it before. I think that, with some practice, it can be done. Because the code is already there and the information necessary uses the same fields, there's no reason to make it impossible.
Earth is my country. Science is my religion.