In Brutal Diablo, one key takes you back to 1996: H switches between the original graphics and the new ones. Try it:
That switch follows the rule everything in Brutal Diablo follows: it may change what you see, and nothing about what happens. The hard part is that the game depends on three things nobody would call rules: the dice it rolls, the clock it keeps and the size of every picture.
The dice
Almost every random thing in Diablo comes from one number. Each time the game needs a roll, it multiplies that number by 22,695,477, adds one and reads the result: the same formula Borland's C compiler used for its random numbers in the nineties. Whether your sword hits, how hard, which way a monster turns: one roll after another, from that one stream of numbers. Even the loot. Each monster is handed a starting number of its own from the stream when its level is made, and its drop is rolled from that when it dies.
So it matters what else draws from it. Draw one number more anywhere, and every roll after it moves one place.
The catch is that things you'd swear are cosmetic roll too. When you swing a sword, the game picks which of its two swing sounds to play by rolling. So does a monster's cry. So does the colour palette a dungeon level gets when you enter it. The original game even makes the sound's roll when sound is switched off, so the stream stays the same. Try it with Diablo's own generator:
So nothing we add may roll. A new sound, an extra spark or a different picture for a death has to get its randomness somewhere else.
The butterfly effect
One roll sounds harmless. We keep a recording of a real game: a Warrior on the first level, every click and key, tick by tick. Here it plays twice from the same save. In the second copy, at the moment marked +1, the game plays one more sword-swing sound. Nobody would hear it, but the game rolls for it.
A blow lands differently, and the clicks recorded for that fight send the hero somewhere else.
The blood brings its own dice
Our blood is the clearest case. Every drop a kill sprays needs a direction and a size. If those came from the game's stream, every kill would be a butterfly. So the blood rolls on a generator of its own, and a stain on a wall takes its shape from the spot where it lands.
It's never sent between players, either. Two players see a different spatter for the same kill, and it costs nothing, because the game never reads the blood. The loot is the same for everyone.
The world's clock
Diablo's world moves in ticks, 20 a second, whatever your frame rate. Each tick, every monster takes its next step and every swing shows its next picture. So the pictures keep the time. A Skeleton Captain's attack is twelve pictures, and the blow lands on the eighth. A death's last picture is when the body is laid on the floor, where a Scavenger can find it.
That's why we can't simply add frames. A swing with a few pictures more would land the blow later, and the fight would change. So every new picture in Brutal Diablo replaces one of the original's, one for one, with the same count and the same timing.
New frames aren't ruled out, as long as the game never counts them. In-between pictures, shown between two ticks, could make an animation smoother while the clock still counts the original twelve.
Brutal Diablo has clocks of its own: the torches' flicker, the town's day and night, the crows, the streams. They read the game's time and never move it.
Sizes are rules too
The new pictures are four times larger than the old ones, and the engine reads sizes too. In DevilutionX, the open-source port of the original that Brutal Diablo is built on, an item takes as many inventory squares as its picture is big, and your click is tested against a monster's own pixels. Swap in the big pictures and both would change.
So the small 1996 pictures are still there, loaded underneath, and the game keeps reading them. The new ones are only ever drawn on top.
We checked every point of the screen you could click, 225,280 of them, with the new pictures drawn and without. Not one picks anything different.
How we know
The recording from the butterfly is our test: a Warrior's five kills on the first level and the stairs to the second, 805 ticks. We play it on plain DevilutionX and on Brutal Diablo, save at the end, and compare the two saves field by field. They have to match exactly.
It has caught us. While we were trying out new deaths for the monsters (they never shipped), one of their sounds skipped the single roll the original's death sound makes. One roll the other way. The two saves differed in 8,423 places, and the hero ended on level 1 with four kills instead of on level 2 with five.
The end of the recording isn't enough on its own. A difference can appear and fade again before the end, and a game saved in between would keep it. So we also stop the replay at each of the five moments a body lands, and compare there. That's how we caught deaths of the wrong length: for a few ticks around each, a body lay on the floor too early or too late.
A second that changes nothing
Which brings us back to H. The transition had to pass the same checks as everything else:
- The dice. It's silent, and it never asks the game for a roll. Its grain, its glints and the torches' guttering are worked out for each pixel from its place on the screen and the time, never from the game's generator.
- The clock. For the second the switch lasts, the game draws every frame twice, once in each graphics, and blends the two. Nothing waits and nothing freezes: both sides are the live game, ticking on. The blood counts the frames it's drawn in, so only one of the two drawings counts.
- The sizes. A click in the middle of the switch is still tested against the 1996 pictures.
A second of light, and the save file never knows it happened.
Seen something in Brutal Diablo that plays differently from the original? That's a bug, and we want to know. Tell us on our Discord. Brutal Diablo is free and coming early 2027.
Thanks
To Blizzard North, who made a game worth keeping exactly as it is. To the DevilutionX folks, whose port keeps every one of the original's rolls and whose engine Brutal Diablo is built on. To our supporters on Ko-fi, and to everyone leaving a heart or a kind comment under our posts.
Donate
Brutal Diablo will be free once released. Throw a coin and it goes into dev time, GPU hours and coffee.
This mod is a love letter to the original game, so nothing here is for sale. But every donation really helps us keep the development going. Thank you.