The Worst Possible Day to Play Nethack

As we’re reminded by abadidea on Mastodon, that day is today, October 13, 2023.

Nethack uses the system time-of-day clock to affect the game in modest ways. It figures out the phase of the moon, and if it’s a full moon the player’s “base luck,” the number at which it starts and tends to trend towards, is +1. Luck affects the game in many minor ways, most notably affecting the to-hit chances of striking monsters. Full moons also affect werecreatures and the chances to tame dogs, but those effects are highly situational.

Playing on a new moon has one effect, but it’s a big one. If you’re fighting a cockatrice and you hear its hissing, and are not carrying a lizard corpse, then you always begin turning to stone, instead of there only being a one-in-ten chance. This is what is called a “delayed instadeath”: you don’t die immediately, but if you don’t take immediate action it’ll happen in the next few turns. That’s the next few turns from the game’s perspective: various events may conspire to prevent you from getting that action at all. (The Nethack Wiki’s page on petrification is instructive.)

If you do get the turn, one of the things you can do is eat a lizard corpse, or that of another acidic monster. (Eating dead monsters raw is something you just end up doing often in Nethack.) If those aren’t at hand, what usually works is prayer, provided that you haven’t prayed too recently, your patron god is not angry with you and you’re not in Gehennom. Ordinarily, if you haven’t been playing badly, your god isn’t mad at you. If you’re in Gehennom you’re in the late game anyway, and probably have had ample opportunity to obtain one of the several ways of halting impending calcification.

Prayer is nearly a universal panacea, if it’s available. But there is one other thing that can block prayer: if your luck is negative. Even if it’s by just one point, prayer will never work.

That’s where the only other date effect in Nethack comes into play: on Friday the 13th, your luck defaults to -1, the opposite of the full moon effect. So, unless you’ve increased your luck by one of a number of means, prayer will never work on Friday the 13th. And today is both a new moon night and Friday the 13th. Other uses for prayer won’t work either: if you’re weak from hunger? Too bad. Low on hit points? Sorry. Punished with a ball and chain? Not going to work. Wearing cursed levitation boots? LOL.

Days that both have a new moon and are a Friday the 13th are rare. The last one was in July of 2018, before that November of 2015, and the one before that was in 1999. So, um, if you’ve been thinking about trying out this weird old roguelike game you’ve heard about, you might want to wait a bit. Until tomorrow, anyway.

Romhack Thursday: Snooplax Explains the History of Mario 64 Hacks

On Romhack Thursdays, we bring you interesting finds from the world of game modifications.

It’s another video! And it’s Nintendo related! I bet you’re just thrilled!

This is one, however, is far from something the Big N would approve of. Snooplax goes into great detail in explaining the history of hacking Super Mario 64, the first 3D game to really have a substantial hacking scene–I don’t count things like DOOM, since to a degree it was made to be extensible. Nintendo never dreamed that people would do the things to the Mario 64 engine that they have, which has included optimizing it to the extent that it can run at 60 fps on original hardware!

Seeing all these hacks together in one video is rather inspiring. There’s been not one, but at least three, major Super Mario 64 level editors, with different degrees of flexibility and detail. What enthusiasts have done with the engine over the years is surprising, and there’s no end in sight, so please enjoy this look back at this prolific scene.

History of SM64 Rom Hacks (Youtube, 37 minutes)

Retro Game Mechanics Explains Mario 3’s Minigames

Let’s get the video embed out of the way first. Pow!

Super Mario Bros. 3 has two significant minigames (outside of two-player mode), and the inner workings of both are explained in this video.

In most worlds there are “Space Panels,” which provide a slot machine minigame for extra lives. If you’ve ever tried them, you might have noticed that it’s extremely difficult to win anything at it. Well, the video explains why that is: there’s a significant random element to stopping the wheels. In particular, the last wheel has so much randomness in when it actually stops that it’s actually completely random what it’ll stop on! So much for timing!

I have a theory (which I explain in a comment on that video) that the slot machine game was made so random because of the quality of the reward (it’s possible to earn up to five extra lives at it), and because they had played around with life-granting minigames before. Doki Doki Panic, which got reskinned for overseas markets at Super Mario Bros. 2, has a slot machine game, “Bonus Chance,” that appears after every level. With good timing and practice Bonus Chance can be mastered, earning up to five extra lives for every coin plucked in the level. I have managed to abuse that game to earn so many extra lives that the game ran out of numbers for the tens’ digit of the life counter, sending it into letters of the alphabet. There’s certainly no danger of that in Super Mario Bros. 3.

The second minigame has the player match cards from a grid of 24. Each pair of cards found earns a modest prize, from as little as 10 coins up to a single extra life. Most of the awards are powerups for the player’s inventory. The player gets two tries, but if they don’t clear the board it’ll carry over to the next time they play. Attempts at the card matching board appear every 80,000 points the player earns, making it the only Super Mario game to actually reward scoring lots of points.

The card matching game is one of the most interesting minigames in all of the Mario series. There’s only eight layouts for the cards, the second and fifth cards of the middle row are frequently both the 1UP card, and the last three cards on the bottom row are always Mushroom, Flower and Star, in that order. This means the minigame can be mastered, and even if you don’t memorize all eight layouts to deduce where the prizes are, knowing the three cards that never change usually means it won’t take more than two or three attempts to clear the board, netting lots of powerups.

Retro Game Mechanics Explained looks into why the card matching game works the way it does, and discovered some interesting things. There’s actually code in the game to do a much more thorough randomization of the cards, but it goes unutilized. The full details are in the video, but in summary:

  • The board always begins in the same state,
  • the last three cards on the bottom row are left unchanged, probably on purpose,
  • the first way the other cards are scrambled shifts them one space in sequence, and is only done one or three times, three times in total,
  • and the other method of scrambling them, which involves swapping around three specific cards, is done exactly once between each shift.

The only variation in the steps is from the choice of whether to shift once or thrice, each of those three times. Thus, there are only 23 possible layouts, that is, 8. There is a loop in there to potentially vary the number of times the cards are swapped (the second way to scramble the cards), but the way it’s written the loop is never used, and the cards are swapped only once each time.

All of the layouts for Maro 3’s card matching minigame, from the Nintendo Power guide. “The key is concentration” alludes to the traditional card game “Concentration,” which is played in a similar manner.

What I also find interesting is, this isn’t the only Nintendo to use a minigame that involves mixing up hidden prizes. Kid Icarus’ Treasure Rooms also have a limited number of layouts, which vary for each of the game’s three worlds. The player can open pots in the room to collect minor items, but if they open the wrong pot early, before opening all the others, they find the God of Poverty, and lose everything they’ve found. If they can save that pot for last, though, the final pot will instead contain a pretty good prize, which can even be a Credit Card item that cannot be obtained otherwise.

The way they’re designed, both Mario 3’s card-matching game and Kid Icarus’s Treasure Rooms have tells, specific spots that can be revealed to identify which of the limited number of boards that version of the game is using, and that the player can use to get all the prizes. Also, there are Nintendo-published guides that reveal all the layouts, in Nintendo Power for Kid Icarus (recounted on this charmingly old-school webpage), and the Nintendo Power guide for Super Mario Bros. 3 (on page 10), so Nintendo had to have been aware of the limited nature of the board layouts, and may have actually intended them to be defeated with a good strategy.

SMB3 Roulette & Card Matching Games Explained (Youtube, 20 minutes)

Basement Brothers Xanatalks About Xanadu

Falcom is possibly the greatest Japanese game publisher that’s barely known in the US. Recently Ys sequels have changed this a bit, but their earlier titles are still a hole in the knowledge of even some Western RPG fanatics. At least, I never had much of a chance to learn about them, other than through Hardcore Gaming 101’s as-usual excellent descriptions of the Dragon Slayer series.

Xanadu is a Dragon Slayer game. It’s actually Dragon Slayer II, but it plays nothing like the original. Dragon Slayer IV: Drasle Family, is one of the very few Dragon Slayer titles to get a release over the geographic and cultural divide, as Legacy of the Wizard on NES. It doesn’t play like the other games either. It was a tradition to make every Dragon Slayer game play very unlike the others. The way I see it, the series was as much about coming up with a new system to explore and master as it was about having new scenarios and locations.

Xanadu is also a ridiculously obtuse game, which is in keeping with the original. Lots of the Dragon Slayer line expected you to do obtuse things, things not explained to you, to proceed. I’ve played through Legacy of the Wizard, and can verify that it was hard, but compared to Xanadu it seems like a model of straightforward play. In Xanadu, right near the start, there is a place where you fall down a hole, walk left five steps, then double-back right to scroll a secret shop onto the screen, the only place in the entire game where you can buy and sell magic items. Its inventory system doesn’t use words, it’s just a sequence of numbers, indicating quantities, and you’re just supposed to know the order of the items they represent.

Xanadu, like some other prominent RPGs, is secretly about resource management. Each monster you find on the world map screens (which are side-view!) can only be defeated and looted a limited number of times. If you run them out, and are left without the items needed to finish the game, you’re just stuck. You can also get stuck in some areas if you just move the wrong direction. You can save and load the game, but doing so carries costs in gold pieces! The only way to escape this temporal-economic trap is to make a backup of your game disk, and restore your copy from it. I like this idea, I’ve always found the grind-until-you-win nature of many present-day RPGs a bit unappealing. I kind of wish more games now would take inspiration from some of these early efforts, where each game could have a radically different play style, and require the player apply some real strategy to win, but maybe without being quite so user-hostile.

Youtube channel Basement Brothers made a nice retrospective of Xanadu, and managed to complete the whole game, although by following a video walkthrough. It’s an essential window into a whole universe of RPGs we were denied at the time.

Xanadu (PC-88 Paradise) Falcom’s original classic, and Japan’s must-have 8-bit action RPG of 1985 (Youtube, 39 minutes)

Romhack Thursday: Doom on a Commodore 64, kinda-sorta

On Romhack Thursdays, we bring you interesting finds from the world of game modifications.

Look at that title and marvel a bit. Doom on a C64! What an idea. How could it even be possible? What an age we live in. It is a time of wonders. Children are our future.

Of course there’s more to it than that. There is a whole class of “retro” game that amounts to implementing the actual game on separate hardware, and using the supposed host platform as a glorified display and input device. That’s what’s going on in this case. Doom is really being run on a Raspberry Pi in a plug-in cartridge on a processor that’s underpowered by modern standards but far outpaces that of even Doom’s base configuration, and is thousands of times more powerful than the Commodore 64 to which it pipes its output.

But there’s still some technical interest in the means. The device that runs it is a “RAD Expansion Unit,” a DIY device that emulates a C64 RAM expansion, and apparently can even take over from the 6510 CPU and drive the system’s hardware directly. It works by writing to the VIC-II video and SID sound chips itself.

There was still a lot of coding work required to make this possible. A C64 has somewhat decent sound hardware, but the VIC-II chip has severe limitations on what it can display. The Raspberry Pi has to take the game’s display and port it, in real-time, to a graphics chip that can only display up to four colors (out of only 16) in each character cell, and that’s by sacrificing half of its horizontal resolution. Doing that on the fly itself is a noteworthy hack.

Could it be possible to run DOOM on a C64 without such assistance? At native resolution, ha ha ha: no. The memory limitations are too grievous, so at the very least you’ll need a RAM expansion.

I’ve mused at times on whether it might be possible if one uses the character screen as a kind of super-low-resolution graphics mode, each 8×8 character block representing either a 2×2 pixel grid (so, a resolution of 80×50) or a single pixel (40×25). Even at such a resolution 60 fps is probably out of the question, for it takes a lot of cycles to change every tile every frame, but maybe at 30 or 20? 15, 12, 10? (60 is divisible by a lot of numbers.) I will leave that question to people who are more current with C64 assembly coding.

Here is a demonstration video:

Doom on C64 – A playable tech demo for the RAD Expansion Unit for Commodore 64/128 (Youtube, 19 minutes) – Github repository

Super Play Magazine’s Top 100 SNES Games

Lists of the best games for various platforms has been a fixture on the internet since it was opened up to the general public. Every big gaming site, those still with us and those gone (R.I.P. Joystiq) feel the urge to make them periodically. After all, they combine several popular article themes: they’re listicles, they’re about video games, and they make definite-seeming yet inherently subjective statements about things that geeks have over-strong opinions about. They’re the ideal hit-getters for pop culture sites really, whether they focus on games or not.

Even in print, these lists weren’t rare things. Super Play Magazine, from the UK, did such a list in April of 1996, which was reproduced in HTML text by the site RVGFanatic in 2010.

Why would such a list interest us now? Well, most of these lists have a strongly US-focused vibe, and the UK had a somewhat different scene than we (me being American) did. So there are a number of very interesting games on the list that generally don’t appear in other places, including a few Japanese ones. And they included SNES Rampart, so I’m automatically kindly disposed to it.

Of particular note, besides Rampart: three Parodius entries, two Micro Machines games, Pop’n Twinbee, Cool Spot, Samurai Spirits, Hebereke’s Popoitto, Spike McFang, SNES Side Pocket, Xandra’s Big Adventure, Pugsley’s Scavanger Hunt, NFL Quarterback, World League Basketball (made by HAL!), The Chaos Engine, Street Racer, Super Smash T.V., Lemmings II: The Tribes (but not Sunsoft’s excellent SNES port of original Lemmings?!), Sensible Soccer, R-Type III, U.N. Squadron, SNES Civilization, Out To Lunch (I hadn’t even heard of this before!), Mickey’s Magical Quest, Cannon Fodder, Plok (the Pickford Bros. rule) and Equinox (also Pickford-made, and also highly underrated).

Super Play Magazine’s Top 100 SNES Video Games (RVGFanantic)

Gamebase 64 is in Trouble

According to this forum post, classic Commodore 64 database and information archive site Gamebase 64 has been stricken by the death of their webmaster Steven Feurer, and unless they can find someone to replace him soon, and likely provide alternate hosting too, their site will follow him into the Great Beyond.

As time passes, these kinds of events will happen more and more often, so please, if you maintain a website, of any kind sure but our remit is games so let’s say game-related site, please take measures to ensure its continuity in the unfortunate event of your passing. And if you can help Gamebase64 out, please consider it?

Bye, bye, Gamebase64?

The Lost Sound Code of Sinistar

Sinistar was a game that had quite an impressive sound design. It borrowed a bunch of its sound effects from earlier Williams games, with which it shared common hardware that was originally design for pinball machines. A cockpit version of Sinistar, of which only around 200 units were made, was the first arcade game to have stereo sound. And of course all versions of the game have the Sinistar’s famous digitized threats and taunts.

While Sinistar’s main program source code was found and made available on Github, the source of the code that drove its sound hardware has long been lost. Youtube user SynaMax has done the best he could at recreating that code, and has made a video talking about the process, the sound design of Sinistar and other early Williams games, and even found unused sounds in the code.

Contained within the code is the revelation that the sound chip that drove the rear speakers in the cockpit version ran slightly different code than contained within the main sound ROM. The data from that version of the game was only dumped this year, meaning that the game running in MAME was somewhat incorrect.

Now that the right version of the chip has been dumped, the cockpit version of Sinistar now sounds properly in MAME. Although this does mean that users running up-to-date MAME have to refresh their romset for this version of the game. Such are the tradeoffs of MAME emulation.

Another revelation of the video was that the parametric sound generators used by Williams arcade games from that time often produced interesting noises if it was fed with random data. Sound programmers sought out different sets of numbers to give them, including by asking passers-by for numbers off the top of their heads and garbage values found in RAM when dev systems were powered up, in order to produce strange sound effects.

Devs using more recent parametric generators like bfxr, LabChrip, ChipTone, sfxia, rFXGen, wafxr and jfxr can produce noises by similar means using those programs’ Mutate or Randomize buttons!

I feel like I should warn however, near the end of the video is mention of a bit of drama concerning the MAME developers, in getting code supporting the change integrated into the software. I’m not weighing in on this, not the least reason being I don’t know enough about it. But I feel like you should know it’s coming, ahead of time, before embarking on the 51-minute journey.

Rescuing the Lost Code and Stereo Sound to Sinistar (Youtube, 51 minutes)

Romhack Thursday: Speculative Super Mario Bros. Prototype Recreation

On Romhack Thursdays, we bring you interesting finds from the world of game modifications.

Some months ago there were the “Gigaleaks,” huge troves of internal Nintendo files and documents that revealed a lot about abandoned projects and the development history of popular games.

There was so much information in them that people are still discovering new details. One thing that was surprisingly overlooked was source code for the version of Super Mario Bros. included in the SNES remake within Super Mario All-Stars. The source contained quite a lot of interesting commented-out lines and other data, that seemed to indicate that it may have been a hacked-up version of the source to the original Super Mario Bros.

A lot (but not all!) of this has been covered on the Prerelease page for Super Mario Bros. on The Cutting Room Floor. You can go read about it there. There resides information on scrapped enemies and objects, weird modes and behaviors of existing objects, and lots of other curiosities.

For the 38th anniversary of the release of Super Mario Bros., Nimaginendo Games made a romhack that seeks to recreate many of these abandoned elements, and shows it off in a Youtube video. The hack can be downloaded from a link in the video’s description, but only for a little while! I should emphasize that it’s not a real prototype, but a speculative recreation based on information from the leaked source. It even has an older version of SMB’s title screen.

Extra! Did you know that an early working English title for Super Mario Bros. was Mario’s Adventure? And Nintendo of America even made a promotional flyer with that name! These images come from Flyer Fever:

Super Mario Bros. Beta/Prototype recreated in 2023 (Youtube, 8 minutes, link to rom in the video’s description)

U Can Beat Video Games Tackles Super Metroid

It’s yet another Youtube video post, but the subject is pretty notable, U Can Beat Video Games at last tackling the highlight of the Metroid series, Super Metroid for SNES, in an epic-length episode. Often big games get split up into multiple parts, but this time the whole game is covered at once. These videos can’t be easy to put together, and I appreciate the effort that goes into them!

As usual UCBVG covers the entire game, including all items and known cheats, and alternate endings. If you’ve ever wondered why GDQ players, hosts and audience ever shout “Kill the animals” or “Save the animals,” the ending to this video should fill in the blanks to an acceptable degree.

U Can Beat Video Games: Super Metroid (3 hours 37 minutes)

PatmanQC on Atari’s Escape From the Planet of the Robot Monsters

Escape From the Plant of the Robot Monsters (I’m just going to call it Escape Etc. from here) is a game I’ve always been curious about.

It’s weird to think now about the time frame of Atari arcade games. 1972 saw Pong; 1979 was Asteroids, signalling a new direction for Atari in arcades; 1984 was Marble Madness, their first post-crash hit; then, 1991 was Street Fighter II and the start of the fighting game craze, forcing Atari to change direction yet again. They would have some hits from there (like Primal Rage and Area 51), but nothing with real cultural staying power until the era of Gauntlet Legends and San Francisco Rush.

Escape Etc. I don’t think did badly, but it wasn’t a huge hit. You can kind of get an idea of the popularity of one of Atari’s arcade games by how many ports it got. APB, for example, Dave Theurer’s last game at Atari, only got Lynx and European home computer ports, while Rampart (John Salwitz and Dave Ralston’s last game, if we’re noting such things) got a ton of ports to lots of platforms. Escape Etc. didn’t even get a Lynx port, although one had been planned.

This isn’t an Arcade Mermaid post, just another link to a Youtube video review. It’s done in an old style, without a lot of flash, but there’s good things about that too, and the information is both interesting and thorough.

More information on Escape Etc. can be found in this post from Vintage Arcade Gal. It’s text!

The History of Escape from the Planet of the Robot Monsters – Arcade documentary (Youtube, 27 minutes)