Giter Club home page Giter Club logo

dddaex's Introduction

DDDAEx

A mod project for Capcom's game - Dragon's Dogma: Dark Arisen

Roadmap

Targets for this project, followed by todo's.

Injecting

Status: In progress (Low priority)
Tasks

  • Use CreateProcess with Suspended to load CLR ASAP.
  • Error/sanity checking.
    • CLR not installed.
    • Not enough access rights to inject.
  • Resolve memory-leaks while injecting.

Current injection method

  • CreateProcess (this starts Steam to prepare the process).
  • Wait for Steam process to exit.
  • Capture game process and suspend it with OpenProcess.
  • Write infinite loop into memory where main thread is to wait for DLLs to load.
  • Restore code and call LoadLibrary to load the CLR.
  • Wait for process to initialize a bit.
  • CreateRemoteThread on ExecuteCLR function in injected DLL.

Hooking

Status: In progress (High priority)
Tasks

  • Inject DirectX's interface and bind it to the SharpDX framework (take a look at EasyHook).
    • Hooking EndDraw scene.

Keep in mind to allow other mods to easily extend it.

Extensibility

Status: In progress
Tasks

  • Implement MEF2 so mods can be easily made with hot-reload in mind
    • Init and Dispose methods for mods to fill in.
  • Add a data-storage location for mods to easily read from (less error-prone this way).

Current process idea
Allow .NET dlls to export classes through MEF 2.
Classes for: Drawing hooks and Logic hooks.

Networking

Status: Todo
Tasks

  • Create a protobuf serialized message system over async server->clients topology.
  • Use minimal data per message (auto increment message id per registered message).
  • Force mods to use type-based equality checking for packets (never on IDs!).
  • Allow mods to register their own packets through MEF 2.
  • Allow mods to bind logic for packets.
    • (Example) OnIncomming: Write changes to memory locations.
    • (Example) OnOutgoing: Read changes to memory and send to server/client.

dddaex's People

Contributors

measurity avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.