After hundreds of hours debugging, a bad GTA clone has made Dolphin better

0
63

True Crime: Streets of LA is a typically well-liked open-world game of the post-GTA 3 period. Eventually, the collection developed into the superb 2012 game Sleeping Dogs. But in between these two factors lies True Crime: New York City, an overambitious mess of a game with a legendary choice of bugs and glitches. Now, not less than, it’s given GameCube emulator devs a method to make Dolphin better.

“Over the course of seven years, developers spent hundreds of hours debugging” a specific crash in True Crime: New York City, because the Dolphin devs clarify. Any time you’d contact a physics object, the game would crash. The authentic model on GameCube had bugs, positive, however the game didn’t simply crash like that.

The builders ultimately realized that TC:NYC was dividing by zero each time one of these physics collisions would occur. You can get a extra technical breakdown within the devs’ personal phrases – I’m out of my depth on summary math – however sometimes, you don’t need computer systems dividing by zero. Initially, the devs thought this was a bug with Dolphin itself. In the tip, they found that this was really how the game was meant to work.

TC:NYC was initially developed for PlayStation 2, which handles floating level math a lot in a different way than the GameCube – in that it handles it in any respect. The devs who ported the game to GameCube apparently didn’t have the time or price range to rewrite the physics engine in a means Nintendo’s machine may really perceive, in order that they translated numbers that the GameCube would perceive as errors into easier varieties.

“This left us in the awkward position of needing to implement support for Floating Point Exception Handling,” the Dolphin devs clarify, one thing that the emulator creators “never expected to need”.

They labored with the PlayStation 2 emulator of us engaged on PCSX2 to even perceive the problem within the first place, and now there are two options to the issue within the newest Dolphin builds. One of them precisely emulates the behaviour of the unique {hardware}, however is “incredibly slow” – the opposite is basically a hack, but it surely lets the game run with affordable efficiency.

YouTube Thumbnail

The humorous factor is that, even with all this effort put into making TC:NYC work on Dolphin, the devs nonetheless don’t suggest that you just play it. “We at the Dolphin team highly recommend that casual users do not play True Crime: New York City in Dolphin or on GameCube/Wii at all. Period. The GameCube version has tons of serious problems, including reports that it could outright corrupt your memory card and cause you to lose all of your save data.”

The world of previous video games is a wondrous, terrifying place.