Please take care of yourself, sharangad. Those lingering illnesses are so very frustrating, but the important thing is letting yourself heal.
@sharangad Hope you are getting plenty of rest and feel better soon
(11-15-2025, 06:48 AM)checkpoint10 Wrote: [ -> ]@sharangad Hope you are getting plenty of rest and feel better soon
Thanks guys! Feeling a bit better now.
Ok got the offsets for sprites and cars, but the player's wheels (but not the actual position of the car for collision and physics) and the sky still need correcting:
https://youtu.be/JaVuKsKqxkc
I ran a test yesterday to grab an execution trace. Took all day and ran out of disk space at many many hundreds of gigs. Trawling through assembler is painful. Unfortunately it's hard to find these things in ghidra. By passing know values for the aspect ratio in the projection matrix and tracing them, it's possible to find the rendering pipeline. Unfortunately I can't capture this for an actual practice session, to get the player car, because with core=simple and debug logging it takes forever and produces a massive amount of logs.
I made a video and forgot to post it:
https://youtu.be/FmWek6hoy6c
Got the sky to work, but the player car is where the wheels are. Also in the replays, car cams show the car passing through other cars. I actually know which bits of code to patch to get everything going, or at least I think I do. I've found the locations in the execution trace and Ghidra (the listed addresses are different because of relocation). I can't find the code in a hex editor, probably because it's another address. By using address indepedent code blocks I've found locations where the surrounding code matches for every instance, but the binary seems to have different addresses for the variables. It's pretty weird. If the code was relocated, the address should be the same everywhere, but it's not.
Still chugging along with widescreen. Progress is a bit slow. The player car can be moved to *almost* match the camera. This mirroring of position will have to be matched exactly:
https://youtu.be/_wn1jfKtNhI
Just saying Sharangad - We appreciate you here.
(12-14-2025, 09:32 AM)samsepi0l Wrote: [ -> ]Just saying Sharangad - We appreciate you here.
Thanks sempi0l! I appreciate being here and it feels great to be appreciated!
I might have discovered the level of detail controls, possibly. Once I get the widescreen stuff working, that and the accelerator (native CPU offload+speedup) functions will be next,