How we fit an NES game into 40 Kilobytes

Morphcat Games6 HN recommenders · 2019–2026
3.7M views · talk · evergreen · Uploaded 2018-09-05

Morphcat Games explains how they fit Micro Mages, a full-featured NES game, into 40 kilobytes. It covers compression of sprites and level layouts and other space-saving tricks.

HN points to it whenever discussion turns to how old games were so small, as a clear tour of 8-bit optimization and creative work under hardware limits.

Watch on YouTube

10 comments from Hacker News

@MrFoof2019 · in “Super Mario Bros. game was just 31 Kilobytes. How's that possible?”

Very much agree with the parent. If you want a better idea on how you can cram everything into 40KB — using every trick in the book, including ones not considered 30+ years ago — take a look at a how a recently released NES game (Micro Mages) managed it. Their primary design constrain was that they restricted themselves to 40KB, despite wanting to do far more than the games that were done in 40KB back in the 80s. [VIDEO]

RecommendsView on HN
@alecco2019 · in “Ask HN: Best Talks of 2019?”

ZFS for newbies [LINK] main ideas behind ZFS and why it blows out the competition in many scenarios Making C Less Dangerous in the Linux Kernel [LINK] NUMA optimizations in the FreeBSD stack (Netflix) [LINK] How we fit a NES game in 40KiB [VIDEO]

RecommendsView on HN
@nineteen9992020 · in “Architecture of the Nintendo DS”

I remember seeing this video on that about the clever compression tricks used to cram the sprites and map layouts into 40K. [VIDEO]

@Timpy2020 · in “Top games from the JS13K 2020 competition”

I'm absolutely blown away by some of the games they managed to make in under 13kb. This video "How we fit an NES game into 40 Kilobytes" is an interesting illustration of just how small these games are. [VIDEO]

RecommendsView on HN
@splch2021 · in “Ask HN: How were video games from the 90s so efficient?”

I love this video: [VIDEO] As part of a Kickerstarter campaign, Morphcat Games made this video explaining how they eked out a really incredible game with only 40 Kb (a lot like Super Mario Bros 2). I definitely recommend checking this out as they go over interesting compression methods and more general thought processes.

Strongly recommendsView on HN
@latexr2023 · in “A new line drawing method for the cycle savvy”

Let’s take pixel art on console gaming as an example. In the early days, games used pixel graphics due to technical constraints. Artists were limited in what they could achieve and had to get creative within the limitations to push the software and hardware to its limits in pursuit of a specific vision. Everyone had the same set of restrictions but thanks to creative technical decisions some rose above as exceptional. There is a particular kind of enjoyment in creating a lot with very little. If your digital art can be hundreds of GBs in size, your 3D rendition of the Sistine Chapel will be judged by its faithfulness; but if you’re only allowed a handful of KBs and everyone believes any kind of 3D graphics are impossible at that size, your dinky little rotating cube becomes an impressive technological feat. Context matters. A tractor pulling a plane is not impressive; a man pulling a plane is. Most people could do the former but not the latter. Furthermore, not all limitations are equally interesting. Nostalgia and popularity also play a role. Today, pixel graphics are an aesthetic choice. Developers and artist can go beyond what was possible when they were a necessity and create something entirely new. Yet some still derive enjoyment and pride from following the limitations of yore to the letter: there are games created in the 2000s which work on the NES. [LINK] [VIDEO]

@MrFoof2023 · in “Yoyozo (or, how I made a Playdate game in 39KB)”

A similarly interesting story is regarding the NES homebrew game, Micro Mages. The goal with Micro Mages was to get a full-featured game into the same footprint of the original, "Black Box" NES releases for the North American launch, where a fair number of games fit in 40KB of ROM or less. Video, but it's a good summary: [VIDEO] Morphcat has done other great NES games as well, such as Space Gulls and Bobl.

RecommendsView on HN
@arnaudsm2023 · in “Street Fighter II, subtile accurate animation (2021)”

Here is my favorite video about 8-bit era optimisations. Makes you appreciate games from this era even more. This arcane magic survived in the demoscene to this day. [VIDEO]

Strongly recommendsView on HN
@throwawayk7h2024 · in “Crafting a 13KB Game: The Story of Space Huggers”

Incredible. I love these stories of kb games. For those interested, there's a great video for this 40 kb nes game, micro mages: [VIDEO]

RecommendsView on HN
@hollow-moe2026 · in “Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy”

Love to see new stuff on ancient platforms. Surprised I couldn't find a post about Micro Mages on HN, only comments. [VIDEO] Spoiler, when the time will come you'll never see something like this on the play station 4.