From Launcher to World Shard: How the Gypsum 3D Client Connects, Patches, and Hands Off Your Session
3D Client & Engine Dispatch

From Launcher to World Shard: How the Gypsum 3D Client Connects, Patches, and Hands Off Your Session

A look at how our two-phase 1280×720 launcher protects your display settings, patches game files in 64 KiB chunks, and launches you straight into a world shard with a single-use token.

• GypsumSoft

Every PC player has run into the same frustrating problem at least once: you change a fullscreen or resolution setting, restart the game, and are greeted by a black screen—with no way to see or click the Settings button to fix it.

As we connected the Gypsum 3D Client to our live Gypsum Server cluster for Sovran Gate, we wanted the journey from clicking the game icon to stepping into a world shard to feel fast, informative, and completely immune to display lockups.

Here is how we designed our new two-phase startup flow—and how the client authenticates, updates itself, and launches your 3D session behind the scenes.


How the Three-Step Startup Flow Works

Even though Gypsum Client ships as a single self-contained executable on Linux, macOS, and Windows, it now runs in two distinct phases: Launcher Mode first, followed by Game Session Mode when you click Play.

GYPSUM 3D CLIENT — FROM LAUNCHER TO WORLD SHARDSafe 1280×720 Windowed Launcher → Live Patching & Shard Selection → Fullscreen 3D Game SessionSTEP 1 • SIGN INLogin ScreenLocked 1280×720 Windowed ModeClean 16:9 Widescreen Layout• Upper-Left Sovran Gate Emblem• Centered Lower-Half Login Box• Encrypted TLS Gateway LoginSTEP 2 • UPDATE & CHOOSE SHARDPatcher HubLocked 1280×720 Windowed ModeShard ListPick World Shard(e.g. Avalon)News FeedScrollable LivePatch Notes[ Play ] [ Settings ] [ Exit ]Full-Width 64 KiB Patch Progress BarSTEP 3 • ENTER THE WORLD3D Game SessionApplies Your Fullscreen / Custom ResolutionOne-Time Token Handoff• Redeems Single-Use Token• No Password Re-Entry Needed• Enters Selected Shard DirectlyUNDER THE HOOD: LOCK-FREE GO GATEWAY SDK & TWO-CALL-PER-FRAME C++20 RENDERINGZero-Allocation FlatBuffers Messaging • Fast-Path Group Checksums • Credential-Redacting Diagnostic Logger
Figure 1: The launcher stays safely windowed at 1280×720 while you sign in, update files, and pick a shard, then hands off a single-use token to start your full 3D session.

Step 1: A Safe, Windowed 1280×720 Login Screen

When you start Gypsum Client, it opens in Launcher Mode at a fixed 1280×720 (16:9 widescreen) window. Even if you pass fullscreen or custom resolution options on the command line, the launcher holds onto those preferences for later and keeps the Login and Patcher screens strictly windowed.

We also refreshed the 1280×720 Login screen layout to let the background artwork breathe:

  • The Sovran Gate emblem sits cleanly in the upper-left corner.
  • The login box is centered in the lower half of the screen.
  • When you click Login, the client connects to the Gypsum Server Gateway over TLS 1.2+ and verifies your credentials without freezing the UI.

Step 2: Fast 64 KiB Patching & The Interactive Patcher Hub

As soon as you sign in, the window transitions to the Patcher Hub and checks your local game files against the server’s active manifest:

  1. Instant Skip for Unchanged Folders: Instead of checking thousands of files one by one over the network, the client computes a combined SHA-256 fingerprint for each asset group. If a group hasn’t changed since your last session, it is skipped in a single check.
  2. Streaming Only What Changed: When an update is available, the patcher downloads only the modified 64 KiB chunks, verifies every chunk against its cryptographic hash, and swaps the updated files into place atomically.
  3. Read the News & Pick Your Shard: Rather than closing the moment patching finishes, the Patcher Hub stays open:
    • Left Side — World Shard List: Choose which game world shard (such as Avalon) you want to enter.
    • Right Side — Scrollable News Feed: Read the latest patch notes and studio dispatches, loaded directly from patched Markdown files and rendered inside a scrollable, bright-blue bordered panel.
    • Bottom Bar — Controls & Progress: A full-width progress bar tracks downloads along the bottom edge, sitting just below the Play, Settings, and Exit buttons.

To render the shard list, progress bar, and scrollable Markdown news panel smoothly, we added native list-view, progress-bar, and scrollable sub-window primitives to both our Go scene graph and our C++20 GPU renderer—still crossing the Go/C++20 boundary only twice per frame.


Step 3: Clicking “Play” and the One-Time Token Handoff

Once your files are up to date and you have picked a world shard, clicking Play triggers a seamless handoff from the launcher into the 3D game:

  1. Minting a Single-Use Token: The launcher asks the Gateway for a cryptographic One-Time Token tied to your active login session.
  2. Launching the 3D Game Session: The launcher starts a new Gypsum Client process in Game Session Mode, passes it the One-Time Token and your chosen shard name, and closes the launcher window.
  3. Entering the Shard in Your Chosen Display Mode: The new Game Session process applies your fullscreen, borderless, or custom resolution settings, redeems the single-use token over TLS (so you never have to type your password twice), and takes you straight to your shard’s character screen.

Built-In Diagnostics Without Compromising Security

To make live testing against our local and 15-container LXC clusters effortless, we also added two quality-of-life improvements for developers and testers:

  • One-Flag Cluster Targeting: You can point the client at a local development cluster, a LAN load balancer, or a public server simply by passing the cluster’s IP address or hostname.
  • Real-Time Redacted Trace Logs: Passing the debug flag writes a live, tail-able log file tracing every UI click, view change, TLS handshake, and patch download—while automatically masking passwords and One-Time Tokens so sensitive credentials never touch disk.

Like Conduit, Gypsum Server, and this website, every piece of the Gypsum 3D Client’s launcher and gateway integration was designed, built, and verified end-to-end with Agentic AI.


← Back to News & Devblog