Skip to content

A modern MMO client as an experimental research project for fun

Notifications You must be signed in to change notification settings

MeFisto94/Sargerust

Repository files navigation

Sargerust

Sargerust is an attempt at writing a modern, rust-based client for an MMORPG.

For me, the biggest two goals thereby are:

  • learning/getting more acquainted with everything involved: Rust, WebGPU, modern rendering techniques, older file formats, multithreading and networking
  • experimenting to see how far one can get when writing a client from scratch and trying not to mirror the original very closely. This especially has the rendering in mind, one can use much more recent rendering tricks (triplanar mapping, VXGI), potentially some upscaling, to make the game look much more recent while keeping the gameplay and appeal the same.

Goals beyond that, as well as completion, are unlikely, because it's a gigantic pile of work to achieve and because the original client really doesn't leave much to be desired (it even runs well under wine!).

Now due to the learning nature of the project, feel free to hit me up with suggestions about design, reviewing my code to suggest more idiomatic rust approaches as well as filling the gaps (I leave a lot of // TODO: comments everywhere I have an idea while coding).

Roadmap

Things that still need to be implemented (loosely sorted by priority):

  • Rendering of the terrain material (create a dedicated shader)
  • Physics: Cleaning up, debug rendering (because I think the shapes are mis-rotated or placed), debugging crashes once the above is accomplished.
  • Third Person Camera Controller (and sending MOVE_FACING packets)
  • Entity Component System (hecs?) to keep track of all the gameobjects (moving geometry), especially NPCs
    • Rendering thereof
  • Reading of DBC files, especially in preparation for:
  • Game Logic. Casting spells and showing stats (mana, health) mainly.
  • Portals, Water, and other less important render objects
  • Audio System, potentially leveraging HRTF and precise reflection and absorption (e.g. SteamAudio)
  • UI/Addon System: This will most likely be using mlua and if possible port the entirety of "FrameXML", so that the original UI code can be run, but for that a lot of API surface and especially the related event handling and layout management needs to be handled from scratch.
  • Advanced game "logic" (e.g. chat, friend list, guilds, trading, auction house)
  • Advanced rendering techniques (triplanar for the dedicated terrain shader), AO, TAA, VXGI?

About

A modern MMO client as an experimental research project for fun

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages