Skip to content

Falcon 1.4.0

Choose a tag to compare

@itarqos5 itarqos5 released this 25 Nov 19:13
· 88 commits to main since this release

Falcon 1.4.0

The big thing in this release is multiplayer with real servers: the client now reads the world a server sends the way the game does, down to the light. Alongside it: the video settings that were listed but did nothing, the first mod support, and a first build for macOS.

Multiplayer

  • The server's biomes tint its chunks. The biome grid that comes with every chunk was decoded and thrown away, and the biome registry the server sends during configuration was skipped, so grass, leaves and water came out grey. Both are read now and mapped onto Falcon's own biomes. (net: a chunk keeps the biomes the server sends with it)
  • The server's light is used instead of a relight. A chunk's light — the sky's and every torch and lava pool the server knows about — is taken with the chunk, and the separate light update packet (id 49) replaces it for the sections a block changed in. The client no longer lights a server's world with its own engine, which is what made other players' builds look wrong. (net: the light of a chunk from a server is the server's own, net: a light update keeps the server's light after a block is placed)
  • Movement and looking are read as 26.3 writes them. A relative move begins with a varint of the ticks it covers and can carry one tick's delta or a step per tick; a position sync carries one point or a path of points, then float angles. The client was misreading both (the varint as a delta), which is what pushed other players into the ground. (net: the moves of 26.3, and a position sync that carries a path)
  • The chunk packet's block entities are read exactly as the game writes them, so the light after them is reached without guessing. (net: a light update keeps the server's light after a block is placed)

Video and rendering

  • The settings nobody honoured now do something: clouds, rain, particles, the vignette and the rest; the chunk fade keeps its fast path; the shadow under a mob is a blob the shader draws. (video: ..., render: ...)
  • A new pass for clouds, for rain and for the bits a broken block throws. (render: a pass for clouds, for rain and for the bits a broken block throws)
  • Video Settings gained a Developer page with frame times and a Highest FPS test, and a page for the sky. (video: add a Developer page with the frame times and a Highest FPS test, video: a page for the sky ...)
  • LODs build each tile with every core at once, which is what made the long views arrive quickly.

Mods (new)

A small Java VM runs a mod's start-up bytecode so what it registers is read instead of loaded, with Fabric's API surface (events, commands, Brigadier, JOML, a reflective Gson, files, streams, regular expressions) answered by the client:

  • the Mods screen (Mod Menu's layout), the mods folder, icons, metadata and links;
  • blocks, items and creative entries from mods in the game's own tables, their assets and translations mounted under the player's packs;
  • key mappings on the Key Binds screen, HUDs drawn every frame, buttons on the screens a mod names, and what a mod draws (lines, quads, triangles) put through the world renderer;
  • optimisation mods are marked incompatible, on the Mods tab and in the search.

Launcher

Sign-in is reused instead of renewed on every launch, the account is checked once a day rather than every start, and the client's signature is verified before it runs (and after the launcher build, with --verify-signature).

macOS (first build)

The client now builds for macOS: GLFW gives it the Cocoa window and the OpenGL context, and the platform layer has Apple versions of everything around it — data in ~/Library/Application Support/Falcon, memory and process start from the kernel, chip and system version from sysctl, alerts through osascript, folders and links through open, OpenSSL from Homebrew, sound through CoreAudio, no Vulkan. Built and tested by the macOS workflow (Intel runner).

There is no Mac launcher yet (the launcher's window is WebView2 on Windows and WebKitGTK on Linux), so the Mac download is the client on its own: it is attached by the workflow as Falcon-macos-x86_64 when it finishes. It has been compiled and its test suites have passed on the runner, but nobody has played it on a Mac yet — treat it as a first cut and say what breaks. Apple silicon runs the Intel binary under Rosetta.

Verifying a download

SHA256SUMS.txt carries the Windows files' hashes; the Mac build brings its own .sha256 beside it.