News:

Herr Otto Partz says you're all nothing but pipsqueaks!

Main Menu

Recent posts

#21
Stunts Reverse Engineering / Re: Distorted explosion sprite...
Last post by HerrNove - January 17, 2026, 09:44:30 PM
We are making good progress, guys! Now the explosion is round again, albeit still off-center.

Screenshot_20260117_214206.png
#22
Stunts Reverse Engineering / Re: Distorted explosion sprite...
Last post by HerrNove - January 17, 2026, 09:09:16 PM
Quote from: Foxpup on January 17, 2026, 07:53:50 PM
Quote from: HerrNove on January 17, 2026, 01:05:27 PMIf you tell me where did you get a Restunts version showing the explosion bug, I can try to trace at which point the bug was removed.
I didn't. I'm just a big dummy and got the executables mixed up during testing, because as far as I can tell the bug is not in Restunts, only in SuperSight and the original DOS executable.

Oh, but it was an extremely useful observation, that the bug does not appear in Restunts. The good news is that I was able to identify on my first try the function where the conversion to C accidentally fixed the bug; the bad news is that the function is transformed_shape_op, which I have elsewhere described as "a behemoth spanning over 1574 assembly lines". The function contains comments like "denne fucker opppppp litt inni", which I can understand even if don't know much about Norwegian.

At lines 2137–2293 there is a block dealing specifically with spheres, but good luck finding where the C conversion has introduced the discrepancy.
#23
Stunts Reverse Engineering / Re: Distorted explosion sprite...
Last post by Foxpup - January 17, 2026, 07:53:50 PM
Quote from: HerrNove on January 17, 2026, 01:05:27 PMIf you tell me where did you get a Restunts version showing the explosion bug, I can try to trace at which point the bug was removed.
I didn't. I'm just a big dummy and got the executables mixed up during testing, because as far as I can tell the bug is not in Restunts, only in SuperSight and the original DOS executable.
#24
Stunts Reverse Engineering / Re: Removing limits on Stunts ...
Last post by Foxpup - January 17, 2026, 07:48:32 PM
Nevermind, I'm just dumb. It turns out the bug is not present in Restunts, and I don't know why I thought it was. I must have somehow gotten the executables mixed up during testing at some point. The bug is only in SuperSight and the original DOS executable.
#25
Stunts Reverse Engineering / Re: Distorted explosion sprite...
Last post by HerrNove - January 17, 2026, 01:05:27 PM
Quote from: Duplode on January 17, 2026, 04:45:14 AMJust passing by to mention that the 2026 ZakStunts car pack includes a novel sphere-bearing car, and sure enough it explodes rectangularly. (Great finding!) 

It's the Williams F1. The lack of this detail led to the destruction of several million of dollars worth of cars for experimental purposes. Feel guilty!

@Foxpup the current Restunts (commit b24de7d, in attachment) is bug-free, see image. If you tell me where did you get a Restunts version showing the explosion bug, I can try to trace at which point the bug was removed.
#26
Stunts Reverse Engineering / Re: Removing limits on Stunts ...
Last post by HerrNove - January 17, 2026, 11:05:33 AM
Quote from: Foxpup on January 17, 2026, 02:30:02 AM
Quote from: HerrNove on January 17, 2026, 01:51:02 AMUnfortunately this is not my merit/fault. This mod is based on Restunts, a project that aims to rewrite Stunts in C. The fact that some bugs of the original game are missing means that the conversion is imperfect, which is a good thing for players but the Restunts project participants won't be happy to know (the project is not very active however, so this shouldn't ruin their weekend too much).
No, that bug is faithfully replicated in Restunts and all mods derived from it, including SuperSight. It is definitely something you changed in this mod that fixed it.

It's good news because there are not many commits between Restunts and my mod. I'll try to see if I can get to the decisive change.
#27
Stunts Reverse Engineering / Re: Distorted explosion sprite...
Last post by Duplode - January 17, 2026, 04:45:14 AM
Just passing by to mention that the 2026 ZakStunts car pack includes a novel sphere-bearing car, and sure enough it explodes rectangularly. (Great finding!) 
#28
Stunts Reverse Engineering / Re: Removing limits on Stunts ...
Last post by Foxpup - January 17, 2026, 02:30:02 AM
Quote from: HerrNove on January 17, 2026, 01:51:02 AMUnfortunately this is not my merit/fault. This mod is based on Restunts, a project that aims to rewrite Stunts in C. The fact that some bugs of the original game are missing means that the conversion is imperfect, which is a good thing for players but the Restunts project participants won't be happy to know (the project is not very active however, so this shouldn't ruin their weekend too much).
No, that bug is faithfully replicated in Restunts and all mods derived from it, including SuperSight. It is definitely something you changed in this mod that fixed it. EDIT: I'm wrong.
#29
Stunts Reverse Engineering / Re: Removing limits on Stunts ...
Last post by HerrNove - January 17, 2026, 01:51:02 AM
Quote from: Foxpup on January 16, 2026, 10:56:08 PMAmazing, you actually fixed the sphere explosion bug! Did you actually figure out the underlying cause or just exclude sphere primitives from the bounding box calculation?

Unfortunately this is not my merit/fault. This mod is based on Restunts, a project that aims to rewrite Stunts in C. The fact that some bugs of the original game are missing means that the conversion is imperfect, which is a good thing for players but the Restunts project participants won't be happy to know (the project is not very active however, so this shouldn't ruin their weekend too much).

Quote from: Foxpup on January 16, 2026, 10:56:08 PMAlso, some custom cars (eg the Silverado monster truck) will crash with an out-of-memory error while attempting to load dashboard graphics. This seems to mainly affect cars with a large dast/dasm covering most or all of the screen.
Unfortunately Restunts replaced the original memory allocator with a custom-written one, which seems less efficient. This is one of the reasons why SuperSight put back a lot of the original code. And in fact SuperSight can load the truck, despite being also based on Restunts,

Quote from: Foxpup on January 16, 2026, 10:56:08 PMBut other than those issues, the mod seems to work fine. At least, I didn't encounter any other weird surprises.
And why should you encounter them, it's an absolutely innocent mod  8)
#30
Stunts Reverse Engineering / Re: Removing limits on Stunts ...
Last post by Foxpup - January 16, 2026, 10:56:08 PM
Quote from: HerrNove on January 16, 2026, 03:58:39 PMHere is a freebie for those taking part in the survey. A mystery mod. Better you fasten your seatbelt before you try this one!  8)
Amazing, you actually fixed the sphere explosion bug! Did you actually figure out the underlying cause or just exclude sphere primitives from the bounding box calculation? EDIT: I was wrong.

As for the camera mod itself, it is somewhat limiting that the camera cannot be rotated at all while set to 90 degrees. It won't even follow the car's orientation. Gimbal lock bug? Also, some custom cars (eg the Silverado monster truck) will crash with an out-of-memory error while attempting to load dashboard graphics. This seems to mainly affect cars with a large dast/dasm covering most or all of the screen.

But other than those issues, the mod seems to work fine. At least, I didn't encounter any other weird surprises.