Mario 64's Hidden Timer Bugs

Share

Summary

This video explores the timer-related bugs in Super Mario 64, including painting glitches, sound effect anomalies, and a soft lock in the star select screen, all caused by integer overflows.

Highlights

Introduction to Timer Bugs
00:00:00

Games rely on timers, but computers can't handle infinity, leading to unexpected behaviors. The video explores timer bugs in Mario 64 and other games.

Floating Point Numbers and the Painting Glitch
00:01:58

Floating-point numbers are used for values with unlimited growth, but they have limitations. In Mario 64, the paintings use floats to accumulate time and break after 6 and 1/2 days due to timer overflow.

Virtual Console Rounding Errors
00:05:00

On Wii Virtual Console, a floating-point rounding error causes a moving platform in Mozan the Fire Sea to rise, potentially allowing the game to be beaten without jumping.

Integer-Based Timers
00:06:50

Most timers in Mario 64 use integer-based timers, which increment with perfect precision but can still overflow after about 4 and 1/2 years. Mario 64 programmers tried to avoid issue with the time trigger.

Sushi the Shark and Rainbow Ride Ship Bugs
00:10:10

The video highlights specific bugs: Sushi the shark stops playing his sound effect after 14 months and the ship in Rainbow Ride in the Japanese version stops flapping its wings after 14 months.

Star Select Screen Soft Lock
00:12:09

The star select screen has an uncapped signed integer timer that overflows after roughly 2 and 1/4 years of continuous waiting, soft-locking the player.

Conclusion
00:14:20

Despite these bugs, Mario 64 handles time gracefully. The creator admits to removing timer limits in their own work. They encourage viewers to share timer bug examples in other games.

Squarespace Advertisement
00:15:27

The video includes a segment promoting Squarespace, highlighting its website building tools, domain services, SEO tools, and video hosting/monetization features.

Patreon Shoutouts and N64 Game Development
00:16:06

The video ends with a thank you to Patreons for their support, and an announcement about the creator's N64 game development.

Recently Summarized Articles

Loading...