🏯 Silkroad Online v1.150 rebuilt end to end: a WebGPU browser client 🎮, a Go game server ⚔️ and the asset pipeline 🧰 that ties them together. Play in your browser.
Silkroad Online v1.150 (Legend III), rebuilt end to end as open-source software for the browser.
OpenSRO is a complete game stack, not just an emulator:
Behaviour is ported from the original game, not guessed: the v1.150 client defines what exists, and server rules follow the original server's instructions. Reverse-engineering evidence (function addresses) sits right next to the code that ports it.
💬 Questions about the code? Join our Discord.
The full walkthrough, with the exact tool versions, is docs/guides/GETTING_STARTED.md. In short:
corepack pnpm install --frozen-lockfile
corepack pnpm assets prepare
corepack pnpm assets build full # about 6 minutes on 16 cores, once
corepack pnpm task build server-game-data
go -C apps/server run ./cmd/operations/sro-nomad dev-agent
go -C apps/server run ./cmd/operations/sro-nomad deploy -build
corepack pnpm dev and open http://127.0.0.1:5180. 🎉Only changing code, not game data? corepack pnpm check source runs the CI gates with no game data at all.
| Folder | What's inside |
|---|---|
🎮 apps/client-next/ | The browser client: TypeScript, WebGPU, Vite |
⚔️ apps/server/ | The Go Agent and GameWorld, Nomad jobs, operator docs |
🧰 scripts/ | Asset pipeline, repository checks and the pnpm task runner |
📚 docs/ | Setup, architecture, asset pipeline and design notes |
🩹 patches/ | Dependency patches applied by pnpm |
Local only and ignored: .generated/ (all generated game data), .state/ (caches and locks), .tools/ (pinned binaries such as Nomad), temp/ (scratch output) and node_modules/.
Retail game media is never committed. The asset build reads your own client's PK2 archives in place, next to the checkout; see docs/architecture/ASSET_PIPELINE.md.
| Command | What it does |
|---|---|
pnpm dev | Client dev server on http://127.0.0.1:5180 |
pnpm assets prepare | Convert your client's music into extracted/Music_mp3 |
pnpm assets doctor | Check the game root and build tools, with a fix for each problem |
pnpm assets build full | Full asset build, outdoor world included (assets build reuses the last outdoor world) |
pnpm check source | The CI gate; needs no game data |
pnpm --filter @sro/client-next check | Every client gate |
pnpm check | Every gate, including the asset-dependent suites |
pnpm task list | Every task with its prerequisites |
New here? Start with CONTRIBUTING.md: setup, the native-first rule, how to put new ideas behind a flag, and what a good pull request looks like. To read the original client or server yourself, no Binary Ninja needed, use revtool: free Rizin plus the maintainers' published function names. Questions, or looking for something to work on? Say hi in #🛠️contributing on Discord.
U20-12: Timed (scroll) buffs: the crash window between cast and save is unclosed
https://github.com/opensro-dev/opensro/issues/5751
Labels: bug, priority: medium
U20-01: No game event logs (characters, items, cash items, fortress, schedules, server)
https://github.com/opensro-dev/opensro/issues/5750
Labels: bug, priority: medium
U18-11: Group letters: the browser client has no guild/union compose (server lane shipped)
https://github.com/opensro-dev/opensro/issues/5749
Labels: bug, priority: medium
U18-10: Exchange ask: stall-visitor, market-window and NPC-window busy arms; re-ask does not cancel
https://github.com/opensro-dev/opensro/issues/5748
Labels: bug, priority: medium
U18-08: Stall corners: opening an empty stall, and the greeting's 64-unit count
https://github.com/opensro-dev/opensro/issues/5747
Labels: bug, priority: medium
U18-05: Account punishments: no trade-sanction writer; chat-blocked stall name not replaced
https://github.com/opensro-dev/opensro/issues/5746
Labels: bug, priority: medium
U17-15: Every gathering mission of a quest rolls its drop on a kill
https://github.com/opensro-dev/opensro/issues/5745
Labels: bug, priority: medium
U17-13: No room for the reward is told at the hand-in, not at the talk's start
https://github.com/opensro-dev/opensro/issues/5743
Labels: bug, priority: medium
Thanks for helping rebuild Silkroad Online! OpenSRO is a full client and server, so there is room for every kind of work: rendering, UI, gameplay rules, networking, tools and docs. This page tells you how to land a change smoothly.
The rules for humans and AI coding agents are the same: AGENTS.md. Read it once before your first pull request.
corepack pnpm check source runs the CI gates with no game data at all./claim on the issue. You are assigned and the issue gets status: claimed, so nobody else (our agents included) starts the same work. An issue that already carries the label is taken: the claim reply says by whom and until when, so ask there or pick another.
/claim again renews it by hand./unclaim if you stop. An idle claim is released on its own once it expires./unclaim one before you claim a third.
An issue your own open pull request already links (Fixes #N) does not count: claim it past the cap, and it takes no slot.priority: critical: players can't get in, get thrown out, or a live event is wrong. It goes in the next release, and an open critical regression holds the release.priority: high: work the team takes before anything else.priority: medium: scheduled backlog, after the highs.priority: low: nice to have, with no player impact waiting.OpenSRO ports the original game's behaviour; it does not reinvent it.
A change that makes the game behave like the original needs no special approval; it needs evidence and tests.
You do not need Binary Ninja to contribute native evidence. revtool gives you the maintainers' function names on top of the free Rizin disassembler, with the Python tutorial as the zero-install fallback; then follow saving labels and research progress so people and AI agents can continue your investigation later.
Ideas that the original game does not have are welcome: quality-of-life features, modern graphics, browser conveniences, beta tuning. They must never change the native default. Every non-native behaviour ships switched off behind a flag, so the original game stays one setting away:
| Where | How |
|---|---|
| 🎮 Client | Add it to the Experimental window (Escape → Experimental), not to the native Options window. Add a key to apps/client-next/src/engine/foundation/ui/experimental-options.ts with a row on the right tab (Video, Chat or Developer). It defaults to off. |
| ⚔️ Server | Read an environment flag named SRO_<FEATURE> where off is native (see SRO_BETA_GROWTH in apps/server/internal/game/progression/growth.go). Mark the code "port-only, not native" in its banner. |
Also:
Init / Shutdown / Frame lifecycles, named constants for every magic number in one block at the top of the file, and at most two levels of nesting in a function (an early return, continue or a helper instead). Details and examples are in AGENTS.md.pnpm exec dprint fmt <path> for JavaScript/TypeScript, gofmt for Go. Files are UTF-8 without a BOM, with LF line endings.rg): find every caller and test of what you change, and reuse an existing helper instead of adding a second one.