OpenAI suggested a patch for high detail tracks not loading. It claimed the hashing for memory buckets was broken. After the patch, texturing looked like this:
Open AI claims to have found the bits of code which access the MIP maps, or at least generate hashes to access the texture object heap linked linked list. Tracking calls to this block should maybe allow us to control which mip maps are used.
It's proven useful. It's found a reusable block of memory which can be safely expanded (without any benefit currently). It still only sees 800 entry slots.
Textures above look like the car is going through some sort of worm hole - like back to the future, warping through space and time
But your going 68 mph, not 88 mph!
Good work - I know research like this is hard =)
Reminds me a little bit of the pictures of Tonis Kasemets testing one of Dale Coyne's Lolas in the snow about 20 years ago. Gray skies, frosty track.
(09-03-2025, 02:00 AM)CowtownBob Wrote: [ -> ]Reminds me a little bit of the pictures of Tonis Kasemets testing one of Dale Coyne's Lolas in the snow about 20 years ago. Gray skies, frosty track.
And a tiled word. Maybe my speedometer was wrong and I was hitting 88 mph.
The texturing for cars during a race is carried out here: FUN_0002889c() altering this to return (0xC3) immediately produces untextured cars. What's interesting is that the cars are still solid, so maybe the game draws over the solid colour with a texture:
https://youtu.be/qz13x6Lfals
The 3do colors are set in the car file 3do (ind95.3do for player car, ind00.3do for second car etc)
The textures can be toggled on and off by default with the '7' key
(09-23-2025, 10:42 PM)jxeboy Wrote: [ -> ]The 3do colors are set in the car file 3do (ind95.3do for player car, ind00.3do for second car etc)
The textures can be toggled on and off by default with the '7' key
Yes, but this function is in the render path and this disables it permanently. I'll be taking another look at this tonight to see if I can control the aspect ratio. Part of the code from the camera offset you found is called from this (for transformation) I need to trace it back to the model view projection matrix.
On the subject of changing aspect ratio for modern monitor screens: The Project Mgr in me has to ask - are the plans to cut off the top and bottom, losing the upper UI elements and probably a good bit of dash display, or to stretch the image out so it looks like you're driving with anamorphic glasses? Or is there a 3rd alternative I haven't recognized?
And the crotchety old guy from an earlier generation in me has to ask: Is it just about the letterboxing? Are people really that bothered by unutilized screen space?
(09-24-2025, 01:00 AM)CowtownBob Wrote: [ -> ]On the subject of changing aspect ratio for modern monitor screens: The Project Mgr in me has to ask - are the plans to cut off the top and bottom, losing the upper UI elements and probably a good bit of dash display, or to stretch the image out so it looks like you're driving with anamorphic glasses? Or is there a 3rd alternative I haven't recognized?
And the crotchety old guy from an earlier generation in me has to ask: Is it just about the letterboxing? Are people really that bothered by unutilized screen space?
Jxeboy asked for it. I'm planning on changing the projection matrix so that the game renders a wider image with the same height at 640x480. The cockpit will have to be dynamically shrunk down to fit the wider view (i.e so that adjacent cars aren't cropped by it). In other words natively, apart from the cockpit.
Upper hud elements will move to the edges of the screen.
There has been work in progress as well to add widescreen to the Windy version of icr2 available here:
https://grandprix2.racing/file/misc/view...econd-wind
Its not added yet but this would make it possible to race this version atleast in 480 pixel high widescreen
I have created a new cockpit graphic with the sides extended to help support it, but i believe the entire dashboard will need to be recoded. Not sure if it will be completed or not!
This version of the game does not have the increased resolution