Skip to content
CW
Navigation

Language

Navigation

Back to Blog
03 Dec 2026 3 min read 11 Views
Rebuilding King's Valley (1985) From the Cartridge

Rebuilding King's Valley (1985) From the Cartridge

I went back to the 1985 King's Valley and rebuilt it from the cartridge: native extraction, a room viewer and a gameplay lab measured against the code.

Back to 1985

Before the sequel, before the level editor, before any of it, there was a 16 KiB cartridge with 15 pyramids and a very simple promise: collect every gem, find the exit, repeat. King's Valley, Konami, 1985.

I went back to it. Not to play it this time — to rebuild it, byte by byte, from the cartridge itself.

Two editions, two different games

One thing needs to be clear from the start, because it is a trap: the 1985 cartridge and the 1988 disk collection are not the same game with extra stages.

  • The RC727 cartridge has 15 pyramids, no level editor, 16 KiB.
  • The Konami Game Collection Vol. 1 disk has 60 levels, 95 rooms and its own editor — the version many people know as King's Valley Plus.

The project treats them as separate campaigns, with separate extraction and separate validation.

Measuring instead of guessing

This is the part that makes the project different from a fan remake built by feel. Every rule is compared against the cartridge's own routines inside a small MSX core, and the result is recorded as evidence:

  • 88 room backgrounds matched pixel for pixel.
  • 342,000 mummy AI updates compared.
  • 12,960 movement updates across the four cartridge profiles.
  • 68,400 player updates across the expanded disk rooms, plus 72,000 for falling walls.

When something disagrees, the cartridge wins. That is the contract.

What already runs

The room viewer reconstructs terrain, stairs and separate item layers from native bytes, at 256x192 with integer scaling and the ten-pixel letterbox of the original frame.

The player lab goes further: fractional walking, stairs, jumping, gems, knives, pickaxes, all five mummy types, death with reserves, and the linked-pyramid exit sequence — with the native map travel between pyramids.

King's Valley I gameplay in Pyramid 01

Pyramid 01 in the player lab, running on native room data.

The honest part: it is not finished

I am not going to pretend this is a complete remake. It is a research preview.

Extraction, the viewer and most of the gameplay rules work and are measured. The full campaign is not playable end to end, part of the presentation is still missing, and the expanded disk editor is unfinished. The README says all of this up front, and the repository has the evidence behind every claim.

Why publish it now?

Because the interesting part is already here: a pipeline that identifies an image, extracts it, validates the generation and lets you walk around inside the result. And because the measured comparisons are useful to anyone else working on the same hardware.

There are also screenshots and GIFs captured from the real application — no mockups, no emulator frames passed off as something else.

Follow the reconstruction

No ROMs, no extracted graphics, no audio. You supply the cartridge, everything else happens locally.

And the music?

The audio path is shared with MSXScope, the MSX music player and cartridge extractor — which is a very fun rabbit hole on its own.

If you played the original in the 80s, I would love to hear what you remember: the mummy patterns, the tricks, the stages that took you weeks.

Cezar Wagenheimer

Written by

Cezar Wagenheimer

Share this article

Comments

Have a question, or found an issue with the code? Drop a comment below — I read and reply to every one.

Loading comments…

Leave a comment

Keep exploring

Deploy // Reconectando
Reconectando ao Servidor

Uma nova versão do ecossistema está sendo aplicada. A conexão será restabelecida automaticamente em instantes.