Coder Social home page Coder Social logo

memu3's Introduction

MEMU3 - (M)ouse (EMU)lator, v.3

Discussion

Discussion thread on UC

About

MEMU3 - Software to look for specific color on screen, and emulate mouse actions through mouse driver. Might be used as an aim-assist, for example - in Overwatch.

Runs on Interception mouse filter driver and uses direct-x API for overlay.

Feel free to use in any way you like - but be aware that it's just a POC.

Installation

In order for software itself to work you'd need to install interception mouse driver. Refer to Oblitum's Interception repository for details.

Controls

F2 - Change mode

F3 - Change strength pattern (refer to maps directory)

Num-8 - Use different color settings (For version 1.0 I've included pre-calculated settings for red (enemy) and neon (allies) colors) (it's those obnoxious files 2mb files)

ALT - Toggle On/Off

Num-Del - Change Debug UI mode

Num-0 - Change UI mode

Num-1 - Shutdown

Num-Plus \ Num-Minus - Increase\decrease strength (or mode-specific value)

Num-9 \ Num-3 - Increase\decrease sensitivity (match it with your in-game sensitivity)


Color configs

Target colors are described in .colorset files, those are CSV (comma-separated values) : B,G,R,T where R stands for RED, G stands for GREEN, B stands for BLUE and T stands for TOLERANCE.

Sample contents

241,235,94,16
241,232,85,16
250,243,109,16
219,219,63,16
228,221,56,16

For example, 241,235,94,16 means that software is going to search for color rgb(94,235,241) (neon-ish color) and every color which are 16 points "around" it anchor color.

Threshold math

Target color: 100,100,100,10, scanning pixel (103,100,100):

sqrt((103-100)^2+(100-100)^2+(100-100)^2) = sqrt(9) = 3, which is lower than tolerance 10: color would pass the threshold.

Target color: 100,100,100,3, scanning pixel (104,100,100):

sqrt((104-100)^2+(100-100)^2+(100-100)^2) = sqrt(16) = 4, which is higher than tolerance 3: color would not pass the threshold.


Build

Build it with Cmake, should be straight-forward.

Make sure to verify CMakeLists.txt paths (DirectX SDK, interception headers\binaries), too.

Contribute

Feel free to fork\open PR if there's anything to improve. Cheers o/

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.