GithubHelp home page GithubHelp logo

b1d1zyaka / mff_auto Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tmarenko/mff_auto

0.0 0.0 0.0 3.12 MB

Game bot for Marvel Future Fight game.

License: Apache License 2.0

Python 100.00%

mff_auto's Introduction

mff_auto

Game bot for Marvel Future Fight game. Compatible with 7.5.1 version.

FAQ

Q: What this bot can do?

A: mff_auto can play almost all game modes: World Bosses, Alliance Battle, Co-op missions, Dimension missions, Timeline battles, Legendary battles, World Boss Invasions, Epic Quests, Danger Room, Giant Boss Raid, Shadowland.

Also it can enable Autoplay++ feature anywhere and do your daily routines.

Q: Which Android emulators are supported?

A: NoxPlayer (up to 7.0.1.0) and BlueStacks.

Q: Why are you suggesting to use NoxPlayer?

A: NoxPlayer has shortcut to force close applications (requires to reset game's state). Shifter's biometric farming is available only using NoxPlayer!

Video example

Video footage of all game modes running by mff_auto: https://youtu.be/QcgZcAwBL-I

Installation

  • Install NoxPlayer (or BlueStacks) and then install and run Marvel Future Fight.

  • Set NoxPlayer (or BlueStacks) screen resolution at least 1280x720. If you encounter problems then try 1920x1080.

  • Set in Marvel Future Fight setting GRAPHICS to at least Medium. Lesser settings will lead to blurried text.

    In the same setting's menu turn off this notifications: Mission Navigation Auto Popup and Future Pass Point Acquired.

  • Download last release: Link to releases

  • Run start.bat

Usage

Setup window

On first start you will see Setup window. Follow the instructions in the window:

  • You need to select one of opened emulators. Name of the emulator will be stored in settings/gui/game.json.

    You can change it manually after or delete settings/gui/game.json if you want to run Setup again.

  • (Only for NoxPlayer) Then you will be asked questions. Read instructions and select Yes or No.

    At the end you will be asked to click at MFF app in the window. Position of app icon will be stored in settings/gui/game.json.

    You need to restart NoxPlayer and mff_auto to apply changes.

    This will allow mff_auto to close and start the game.

Main window

main_window

  • Game screen shows you game's image at 6-7 fps.

  • Missions Queue allows you to add, edit or remove available missions in mff_auto.

    Run button will run all checked missions from top to bottom.

  • Setting allows you to edit available settings.

  • Quick Start allows you to quick run a few modes without adding them to mission queue.

  • Autoplay++ enables casting skills in the battles (also skips cutscenes).

  • Debug Log at bottom shows you messages about current running code.

    You can also check it in logs\debug.log file.

Development

At current state Marvel Future Fight bot is at beta stage.

  • Timeline battle do not check if your team is available for battle. Please setup team manually.
  • Alliance and World Boss battles do not check if your characters can do these modes. Make sure that you have strong characters.
  • Shadowland requires a big roaster of powerful heroes. Make sure that you have at least 60 to 90 T2 characters and uniforms for them.

Contribution

Feel free to contribute. Don't forget about license.

Running from source code

  • Install Python 3.6.5
  • Install Tesseract OCR 3.05.02 and add path to Tesseract to your PATH environment.
  • Download source code and install all requirements: pip install -r requirements.txt
  • Copy tessdata folder to your Tesseract folder.
  • Add lib folder to your PYTHONPATH or mark it as lib source.

Check example.py for examples of running any modes.

Capture video for debugging

from lib.emulators.nox_player import NoxPlayer
from lib.game.game import Game
from lib.video_capture import EmulatorCapture

nox = NoxPlayer("NoxPlayer")
game = Game(nox)
with EmulatorCapture(nox) as recorder:
    # video file is in `logs` folder
    # ... do your stuff here ...
    recorder.pause()
       # pause recording
    recorder.resume()

Building release package from source code

  • Run build.py

mff_auto's People

Contributors

tmarenko avatar dependabot[bot] 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.