AsyncAO github wiki page WIP

Aperta
#132 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
documentation

Direzione di ricerca

Start with docs/ARCHITECTURE.md and the listed project areas, especially cmd/asyncao, internal/render, and internal/assets, to verify the build steps and architecture details. The issue asks for an easy-to-understand GitHub wiki page covering building, the render and asset-thread models, efficiency, and the listed project parts; done means new contributors can use the page to understand those topics.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

documentation good first issue help wanted not before 3.0

Project Overview
Asyncao is a client for Ace Attorney Online (AO2). It reimplements the AO2 wire protocol in a clean-room fashion and provides a native rendering, audio, and networking stack.

Make an easy to understand github wiki page that explains the project to new potential contributers sections such

building

All of the dependencies and build guide.

The render loop and the Asset thread model and how efficient it is.

Zero allocation render loop under a 256 MiB budget; a static courtroom renders nothing (real frame limiter, not vsync).

AsyncAO runs everything through one render thread, and only three packages are allowed to touch SDL. Slow work like image decoding and asset fetching is pushed onto small worker goroutines that hand results back over bounded channels, while assets load through four tiers (GPU textures, raw bytes, disk, then network) with exactly one probe per asset that learns the server's format. The render loop is zero-allocation under a 256 MiB budget and driven by a real frame limiter, so a quiet server renders nothing at all and is efficient in the background to save memory cpu usage.

Key Parts of the Project

cmd/asyncao entry point, wiring, quit logic.

internal/render SDL, viewport, audio (SDL Mixer X), the decode-pool consumer.

internal/ui screens, settings, hotkeys, the render-loop UI.

internal/courtroom AO2 scene logic: emotes, pairing, SFX, message flow.

internal/assets the asset pipeline (manager, resolver, manifest, decoder, types).

internal/config preferences

internal/network WebSocket + HTTP client.

internal/protocol the AO2 wire protocol

internal/theme theme parsing.

internal/voice Opus voice chat.

internal/presence Discord (pure Go, optional).

internal/update the auto updater

internal/archive / internal/videoenc recording / export.

Conventions

  • Comments explain why; protocol behavior cites the AO2-Client source line.
  • Every Prefetch call site carries an // AssetType: X comment.
  • Cache keys are full URLs (host included) per-server separation is structural.
  • New dependencies need a written justification in docs/ARCHITECTURE.md.
  • Tests pin behavior and performance (testing.AllocsPerRun).

extensions.json = the server's format manifest (webAO convention); .webp.static/.webp.animated normalize to .webp. and also the new things for sfxs.

Just some potential layout for the project

Lingua principale
Go
Stelle
4
Fork
3
Merge medio
6g 21h
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SyntaxNyah/AsyncAO

Tutte le issue di SyntaxNyah/AsyncAO

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.