SteonMod
Rust rewriteSource only

benilla

A complete World of Warcraft 1.12.1 client, written from scratch in Rust and Bevy.

A complete World of Warcraft 1.12.1 client, written from scratch in Rust and Bevy See the README below for details.

benilla

A complete World of Warcraft 1.12.1 client, written from scratch in Rust and Bevy

Discord YouTube devlog License

benilla plays the whole game: character creation, questing and professions, dungeons and raids, battlegrounds and honor, groups, guilds, trade, mail and the auction house, on the stock 1.12 interface and with your addons. It connects to a 1.12.1 server over the original protocol and reads the game's data from your own 1.12.1 install. Every file format, the network protocol and the interface engine are written from scratch, with no original client code, no third-party WoW crates and no bundled game assets.

What's inside

  • Formats: readers for the whole asset stack (the MPQ patch chain, BLP, DBC, ADT, WDT, WDL, M2

    and WMO), wired into Bevy as an asset source.

  • World: terrain streamed out to the horizon, portal-culled buildings with interior lighting,

    doodads and ground clutter, swimmable water, sky and weather, and the client's own day/night lighting, fog and gamma.

  • Models: GPU-skinned M2s with the full animation controller, particles, ribbons and the spell

    visuals, and characters end to end: customization, the armor composite, weapons with their enchant glows, forms, stealth and mounts.

  • Movement: networked movement in both directions, the server-granted modes from slow fall to

    roots, a follow camera with collision, boats, zeppelins and taxi flights.

  • Networking: SRP6 auth through world-session crypto and the object mirror into the ECS,

    covering the game from movement and chat through combat, spells, groups and raids, quests, trade, mail, the auction house and battlegrounds.

  • Interface: a FrameXML and Lua engine that runs the stock 1.12 interface off your install's

    patch chain, and third-party 1.12 addons: Questie, pfUI, Bagnon, Bartender2 and most others run. By choice, the options window and the ESC menu follow the Classic Era client's rather than 1.12's.

  • Audio: music, ambience and effects under the client's own selection and crossfade rules,

    with interior and underwater transitions and zone reverb.

The format readers and the UI engine core are plain Rust with no Bevy in them, and the world renderer runs with no game attached. docs/MAP.md maps every crate and subsystem, generated from the code.

Status

Complete and fully playable. What is left:

  • The long tail of small features that separates a working client from a finished one, tracked

    as issues.

  • Addons, options and performance, ongoing.

benilla is a faithful 1.12.1 client and the foundation people build on. There are no prebuilt downloads: a packaged build, a particular server's changes or anything 1.12.1 never had belongs in a fork, and forks are welcome. GitHub lists every public fork.

Not planned: other expansions or client versions, Warden (anticheat).

Running it

benilla builds and runs on macOS, Linux and Windows. You need:

  • An English 1.12.1 client (build 5875) for the game data. benilla only reads it.
  • A 1.12.1 server with Warden off. vmangos is what

    development runs against, and it ships with Warden off; cMaNGOS and the other 1.12.1 cores speak the same protocol.

  • Stable Rust and a C compiler, because the client's Lua is built from source: on macOS the

    Xcode command line tools, on Linux the ALSA and udev development packages and pkg-config, on Windows the MSVC build tools that the Rust installer sets up.

WOW_DATA=/path/to/WoW/Data cargo run --release -p benilla

On Windows, in PowerShell:

$env:WOW_DATA="C:\path\to\WoW\Data"; cargo run --release -p benilla

Each release is a tag on the Releases page: git checkout first runs that release, and main is the development tip.

WOW_DATA names the install's Data folder; a link to the install named WoW at the repo root does the same (ln -s /path/to/WoW WoW, or on Windows a junction, which needs no admin rights: New-Item -ItemType Junction -Path WoW -Target C:\path\to\WoW). The server defaults to localhost:3724, the stock auth port. Point WOW_HOST at another (WOW_HOST=play.example.com, or play.example.com:5000 for a remapped port), or set it from the Realmlist button on the login screen, which remembers it. Credentials go in at the login screen, or set WOW_USER and WOW_PASS to skip it.

Settings, screenshots and addons live in benilla-config/ at the repo root: a 1.12 addon goes in benilla-config/AddOns/. docs/CONTRIBUTING.md has the rest, from the player build to the tests.

Contributing

Issues and pull requests are open. docs/CONTRIBUTING.md says where to start, what gets in, how a change is judged and what happens to a pull request once it is open. Bugs, questions and ideas are welcome on the Discord too.


Early inspiration and file format guidance came from the wowemulation-dev community, and warcraft-rs in particular.

benilla is an independent fan project, not affiliated with or endorsed by Blizzard Entertainment. It ships no Blizzard content: no art, models, sounds, maps, MPQ contents or FrameXML. You provide your own legally obtained 1.12.1 client, and the stock interface runs off its FrameXML at runtime. The few files under crates/benilla-app/assets/ui/ are our own, not copies of it: adapters over stock files, and the settings windows and script error log benilla draws itself.

World of Warcraft is a trademark of Blizzard Entertainment, Inc. Our own code is licensed under MIT or Apache 2.0, at your option. The two vendored components under third_party/, the kira audio engine and a Lua 5.1 patched to the 1.12 client's dialect, keep their own upstream licenses, alongside each.

From the project's repository, fetched . Images load from GitHub.

Releases

Feed
  1. v0.2.0 benilla 0.2.0 Latest
    Release notes

    Since the July launch

    • the interface runs on the stock 1.12 UI files, from the character sheet and talents to the chat window, quest log, world map and auction house
    • 1.12 addons load from benilla-config/AddOns: Questie, pfUI, Bagnon, AtlasLoot, Auctioneer and many more
    • battlegrounds are in: Warsong Gulch, Arathi Basin and Alterac Valley
    • the auction house, mail, trade, the stable master and meeting stones are in
    • the guild window, guild charters and the tabard designer are in
    • the raid tab, master loot, ready checks and the combat log are in
    • hunter and warlock pets get their action bar, frame and spellbook tab
    • macros, rebindable keys and the options window are in, and your settings are kept
    • fishing, rested experience, duels, inspect and quest sharing are in
    • death plays out whole: your corpse, the ghost world, the spirit healer and resurrection
    • a realm list after login, and a Realmlist button on the login screen to change server
    • the intro cinematics play
    • sound is in throughout: combat, footsteps, placed objects and zone music, on macOS, Linux and Windows
    • snow and rain, the underwater view, and water that sits only where the map puts it
    • about a third less CPU per frame, lighter on integrated and weaker GPUs, with borderless fullscreen and a render scale
    • cMaNGOS servers work, with Warden off
    • screenshots go to benilla-config/Screenshots, and a crash leaves a report in benilla-config/Diagnostics

    In this release

    • benilla has releases now: this is 0.2.0, and the build line the client prints at startup names it (#38)
    • what you type in General, Trade and the other numbered channels reaches them (#222)
    • a new account or an empty realm opens on the empty character list, with no character made for you (#343)
    • on a server with realms in several categories, the realm list has a tab for each (#362)
    • targeting an NPC whose faction you are Exalted with no longer throws a script error (#440)
    • Resurrection, Redemption and Rebirth reach a party member who has already released: click their corpse (#450)
    • a friendly spell or a resurrection with no target brings up the targeting cursor, and Auto Self Cast starts off (#445 by @Onixaz)
    • quests print their chat lines: quest accepted, completed, and the experience, money and items you get (#69)
    • floating combat text shows partial resists, blocks and absorbs, on damage over time too (#42, #43, #89, #349)
    • joining or leaving a party or raid prints one line, not one per member (#264, #268, #270)
    • a player joining your group plays the join chime (#269)
    • the glow on whatever is under your mouse follows the time of day and the weather
    • dead or a ghost, your action bar stays grey and you can't attack (#246, #248, #250)
    • the sword cursor stays away while you're mounted, pacified or dead (#251)
    • the loot window closes when you pick another target, and closing it clears a looted corpse from your target (#71, #238)
    • repairs and flight paths cost less at Honored and with a PvP rank (#411, #434)
    • repair mode clicks bags and gear the right way, ends on a right-click in the world or a readied spell, and greys out Repair All once you're done (#378 by @Onixaz, #417, #420, #422)
    • a repair you can't afford says you don't have enough money (#412)
    • a trainer's ability icon shows its tooltip on the first hover (#158 by @Onixaz)
    • /dnd clears your AFK (#186 by @KodYazicam)

    Known issues

    • On cMaNGOS servers with playerbots, a bot can float above the ground where its path crosses a dip (#461).

    Updating

    • Settings, key bindings, macros, addons and their saved settings live in benilla-config/ at the repo root. Git leaves that folder alone, so checking out a release keeps them.
    • Auto Self Cast now starts off. If you never changed it, a heal or buff with no friendly target now brings up the targeting cursor instead of landing on you. It is under Options, Controls.

    Running this release

    benilla runs against an English 1.12.1 client (build 5875) and any…

Works for me

Did it work on your PC? A quick report tells other players which versions are safe to try.

Sign in to add a report

Forks & ports

Built on benilla (1)

Discussion

No posts yet. Ask a question, share your setup or post a clip.

Sign in to post