Skip to content

v1.7

Choose a tag to compare

@github-actions github-actions released this 29 Oct 18:22
· 16 commits to main since this release

v1.7, or: I wanted scanlines and ended up building a television

This one is mostly about how the game looks on your screen. OpenGL is out, a whole CRT filter setup is in, widescreen learned to fill a few more rooms, and three bugs that had been quietly waiting for the right person to find them got fixed, two of them thanks to people who reported them. Your saves, settings, rumble and MSU pack are all where you left them.

CRTs, on the GPU

The new CRT Filter setting has seven looks: Scanlines, Arcade, Soft, Consumer TV, Composite, LCD, and Off for purists of a different kind.

  • With SDL's GPU renderer (Metal on Mac, Vulkan on Windows and Linux) they run as real shaders: beams that fatten on bright colors and thin out in the dark, masks mixed in linear light, and red and blue beams sitting a hair off the green, like a set that's been moved one too many times.
  • Composite builds an actual NTSC signal out of every line and then takes it apart again like a cheap TV would. Rainbows on dithered patterns, dot crawl, color bleeding into next week, sharpening halos, a ghost from the cable, a little noise. It used to look too clean. It doesn't now.
  • Afterglow trails, halation, finer masks on 4K screens, CRT Curvature, and a TV Bezel whose plastic catches the light from the screen.
  • Sliders for scanlines, mask, glow and afterglow. Picking a filter loads its own defaults, and Reset CRT Settings puts them back when you've tuned yourself into a corner.
  • HDR, for displays that have it, so the mask's dark stripes stop dimming the picture. I don't own an HDR display, so this is built, guarded, and untested on the one thing it exists for. Reports welcome.
  • Randomizer seeds get the filters too, on the game only. The tracker stays crisp, because nobody wants scanlines on a dungeon checklist.

No GPU renderer, or running SDL-Software? Each look drops back to a simpler version of itself, and the log says which one you got.

Pixel Scaling

Linear Filtering has been replaced by Pixel Scaling:

  • Sharp, the new default: even, square pixels at any window size, with soft edges.
  • Nearest: the crispest, but at most sizes some rows come out bigger than others.
  • Smooth, for the blur.
  • xBR, which rounds off the staircases without smearing everything into soup.

Goodbye, OpenGL

The OpenGL and OpenGL ES renderers and the GLSL shader loader are gone, along with the bits of code that only existed to hold them up. If your ini still says OpenGL, you get SDL instead, and a leftover Shader line is quietly ignored instead of yelled at. If you were loading your own .glsl or .glslp shaders, sorry, that door is closed. The new filters are trying very hard to make up for it.

Widescreen keeps getting wider

  • Caves and Agahnim's sky fill the margins now. A room exactly one screen wide used to get black bars, which is fine for a dungeon and silly for a fairy cave sitting in a sea of flat dirt, or Agahnim floating in a sky that just stopped. If a room's edge is one solid color all the way down, that color carries out to the sides. Patterned rooms keep their black bars. The fill also fades along with the room, so the warp after Agahnim doesn't light up the margins a second before the middle.
  • King Zora's splash stopped playing a chunk of itself way off to the left over the grass. His body was always fine. Only the splash was confused.

Two more achievements

That makes 49. Both are for being weird to the people of Kakariko, and I'm not telling you which people or how. Okay, one hint: the Bottle Merchant has opinions about seafood.

Fixes

  • Pushing the stick all the way to the top-left no longer crashes the game. (-32768)² + (-32768)² is exactly one more than a 32-bit number can hold, and a recalibrated pad on Linux Mint found out. The deadzone math runs in 64 bits now, so the stick also keeps its full range instead of getting clamped. Closes #4.
  • Link slides around the left corner of bushes again. Walking up or down into the left corner of a bush should nudge him around it. Instead he planted his feet and pushed like it owed him money, while the right corner worked fine, which made it extra rude. One wrong letter, wrong since the Zig port began. Thanks to the reporter for drawing little Xs on the screenshot. Closes #5.

Getting it running

  1. Download the game for your system, and the tools if you want them.
  2. macOS (Apple Silicon, macOS 11+): unzip and drag ALTTP-DX.app to Applications, then run xattr -dr com.apple.quarantine /Applications/ALTTP-DX.app (and the same for zelda3-tools.app) once. Still not notarized. Still haven't paid Apple $99.
  3. Linux (x86_64, glibc 2.35+): chmod +x the AppImage and run it. If it complains about FUSE, install libfuse2 or fuse3, or add --appimage-extract-and-run.
  4. Windows (x86_64): unzip anywhere and run zelda3.exe or zelda3-tools.exe. SmartScreen will still clutch its pearls: "More info", then "Run anyway".
  5. Give the game your US ROM and press Play. For randomizer seeds, generate one on alttpr.com from the Japanese 1.0 ROM (MD5 03a63945398191337e896e5771f77173) and drop it on the Randomizer page. No game data is included, as ever.