GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - atrinik/client: Clean-room MIT-licensed Atrinik game client implemented in Rust with SDL3.

BranchesTags
Open more actions menu

Latest commit

 

History

46 Commits
46 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
crates
crates
 
 
decisions
decisions
 
 
docs
docs
 
 
fixtures
fixtures
 
 
migration
migration
 
 
policy
policy
 
 
provenance
provenance
 
 
scripts/release
scripts/release
 
 
tools
tools
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.releaserc.json
.releaserc.json
 
 
AGENTS.md
AGENTS.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
PROVENANCE.md
PROVENANCE.md
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
THIRD_PARTY_NOTICES.md
THIRD_PARTY_NOTICES.md
 
 
deny.toml
deny.toml
 
 
rust-toolchain.toml
rust-toolchain.toml
 
 

Repository files navigation

Atrinik client

The fresh MIT Atrinik client is a Rust 2024/SDL3 application independent of atrinik/classic, classic libatrinik, the editor, and write-capable content tooling. The replacement roadmap and provenance policy record that independent implementation history and govern any later, evidence-gated historical source reuse.

Development model

This client is part of Atrinik's agentic next-generation reimplementation and improvement of the human-developed Classic experience. It is fresh MIT-licensed Rust/SDL3 code—not a mechanical C translation or source port—and is developed primarily through Codex-driven workflows under maintainer direction, review, provenance controls, tests, and repository validation. “Agentic” describes the project's primary current software-development workflow; it does not mean that every line or commit is agent-written. Direct human-written code contributions are welcome under the same controls.

The game content and media presented by the client are external inputs, not part of the client's MIT-licensed code. Atrinik's pixel art, maps, stories, music, and sound effects keep their exact authors, upstream credit, licenses, and notices in their source repositories. See the canonical project authorship statement and the replacement roadmap for the project-wide identity and implementation direction.

M1 architecture

released Game Protocol 1 -> protocol adapter -> revisioned domain events
             |                                    |
static directory -> directory adapter/cache       |
semantic input -> semantic actions -> pure session reducer -> immutable view
       ^                                          |                |
       |                                          v                v
 SDL3 platform                               UI model       scene adapter
                                                               |
                                                     released renderer

The session/action/UI-model core has no SDL3, GPU, network, filesystem, raw Protobuf, or renderer dependency. The SDL3 crate owns native window, input, clipboard, clock, and audio-device lifecycle. The scene adapter emits immutable frame input only; GPU ownership stays in atrinik/renderer. The released, exactly pinned atrinik-protocol crate terminates inside the protocol adapter. The renderer is not yet published to crates.io, so its narrow adapter remains a placeholder without sibling path/Git dependencies.

The default launch performs one bounded conditional read of exactly https://meta.atrinik.org/index.json. Canonical Game Protocol 1 directory data is filtered against complete build-time installed-content coordinates before it reaches display models. If those coordinates are not packaged yet, the client reports listed servers as incompatible rather than guessing. Discovery has a dedicated transactional public-data cache and does not affect explicitly configured direct connections. See the directory contract.

Build and test

Rust 1.97.1 is pinned. SDL 3.4.18 is acquired reproducibly from the checksummed sdl3-src crate and linked statically; no ambient system SDL is selected. Linux builders need the desktop, audio, input, and GPU development headers listed in tools/install-linux-native-deps.sh; CI installs them from the Ubuntu 24.04 runner repositories before compiling the locked SDL source.

cargo build --locked --workspace
cargo test --locked --workspace --all-targets
cargo run --locked --package atrinik-client -- version
cargo run --locked --package atrinik-client -- directory
cargo run --locked --package atrinik-client -- headless
SDL_VIDEODRIVER=dummy cargo run --locked --package atrinik-client -- window

Run tools/validate.sh for formatting, Clippy-as-errors, tests, architecture, provenance/parity, dependency/license/advisory, native-library, release, SBOM, and reproducibility gates. On pull requests, ADVISORY_BASE_REVISION limits the advisory gate to advisories the change introduces; ones already on main are warnings there and fail the daily Dependency advisories workflow instead.

Semantic-release creates an immutable version tag from main without exposing a partial GitHub release. A completion-triggered workflow resolves that exact tag and commit, builds Linux and Windows independently, and creates the release only after both packages pass. Manual dispatch can idempotently repair an existing tagged release without rebuilding from another revision.

Supported M1 platform matrix

Target SDL3 Window validation Renderer backend
Linux x86-64 3.4.18 static source build headless dummy plus optional desktop window Vulkan contract recorded; exercised when released renderer lands
Windows x86-64 MSVC 3.4.18 static source build compile/tests in CI; interactive smoke on release host D3D12 contract recorded; exercised when released renderer lands

Logical UI coordinates are integer-independent from physical pixels; SDL display scale is represented as bounded thousandths. Focus, suspend, full-screen, controller/audio hotplug and loss become explicit state transitions. Device loss never silently selects product behavior. Keyboard and controller navigation produce the same semantic inputs; text/IME remains distinct from keybindings.

No renderer backend is silently tested by the M1 placeholder. Vulkan/D3D12 runtime gates activate with the versioned renderer integration rather than claiming GPU coverage from an SDL-only window.

See ADR 0001, platform policy, and the machine-readable behavior matrix.

Released dependency updates run hourly and on manual dispatch through .github/workflows/released-dependencies.yml. Only the consumed protocol registry dependency is eligible; renderer updates become eligible when a real renderer adapter consumes its released crates. The updater verifies immutable upstream source-release manifests and crates.io API, index and archive checksums, then generates the exact registry pin and lockfile without executing dependency code. A second credential-free worker independently regenerates and compares the lockfile from the trusted manifest. Candidate files are sealed before a separate credential-free pinned CPU worker tests a read-only source snapshot; that worker cannot modify the sealed PR artifact. External consumer checks and application validation also use separate containers and physical Cargo caches. Public GitHub release metadata is collected on the host with a read-only token, sealed, and mounted read-only into those containers. Build stages receive the metadata file without credentials. A separate job uses the selected-repository atrinik-crate-dependency-update GitHub App to open or update its owned dependency PR. It never merges PRs or rewrites a contributor's branch, and waits when a human PR already requests the same registry versions.

Configure repository variable CRATE_DEPENDENCY_UPDATE_APP_ID and secret CRATE_DEPENDENCY_UPDATE_APP_PRIVATE_KEY only for the publishing job. The App needs contents and pull-request write plus metadata read on client and editor. The readiness gate reports missing exact registry packages before compilation; the reviewed protocol 0.1.0 and 0.2.0 historical checksums remain supported. Client validation passes the workflow's read-only token to its readiness step but to no later step, and its checkouts do not persist Git credentials. The Linux job writes the sanitized metadata documents (create-only) for tools/validate.sh, whose own readiness check then makes no GitHub API calls. It still downloads release assets and checks crates.io. Client's ten internal crates have publish = false; application GitHub releases continue through their existing workflows.

About

Clean-room MIT-licensed Atrinik game client implemented in Rust with SDL3.

Topics

atrinikgame-clientmmorpgquicrustsdl3

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.