Assist MuvLuv
Demo
Install AutoIt, download this project,
unzip it and run Game_MuvLuv.au3.
The game client will be automatically resized to 1280x720. This demo show the auto farming sample in
“メイズ探索” (Maze Exploration). Notice the “Enable Maze Farming” button is
checked on the GUI of this script at the beginning of this demo video.
The Game
マブラヴ ガールズガーデン (MuvLuv GirlsGarden)
Assume the game is/are played on the dmm games player.
When playing this game and farming the “メイズ探索”, my phone heats and the
battery drains, which is the reason why the script was/were written as I was
using Klick’r
to automate gacha games on Android, but later I do not play them too much
since I have sensed it’s the media art appearance of them that makes
distractions to me rather than their game system and forms interesting me.
In game system, they are just leisures and well organized presentations where
the same operations and decision-making forms inside. Maybe the repeating
is the game itself in most cases such as life but if so where the reincarnation
happens? Wired.
The Script
The script can be directly ran by
AutoIt, an automation software on
Windows. And there are some OpenCV-related files with
thanks to the implementation of
AutoIt-OpenCV-COM.
The algorithm of finding template in OpenCV is based on the covariance of two
images by default so if the original image is averagely changed like changing
lightness it would be still matched as the covariance is not changed too much.
The complexity of it is the multiply of the pixels of the two images
respectively. The implementation of it works on CPU.
I initially tried to use AutoHotkey, but the
function “ImageSearch” in its library is too simple to search image. After
getting my hands dirty for days, I got this solution. Because the farming has
been finished, this repository will not be updated anymore.
But there may be some more decent softwares that implement the behaviors in
the script, and may have interface to capture image, edit image, set logic,
set operations, etc. Like
Klick’r on Android.
However, the script has/have been written anyway. Who cares.
The Assist
Mainly the assist aims to do the repeating operations in some scenarios.
There aren’t much detailed words to describe this assist.
SmartSystemMenu may influence some 3D games performance. For example, the
refresh rate will be unexpectedly low while moving mouse to change direction.
So it is not recommended to keep it running in the background all the time.
Repeating operations scenarios:
-
Consecutive 5 battles in story or event (not the event of new story
episode) (メインストーリー/イベント). Repeat clicking
“quest enter”, “battle enter”, “skip” and “next”.
The assist running will be stopped when entering to an adv scene.
-
Battle Simulation (バトルシミュレーション). Repeat clicking
“room enter”, “battle enter”, “skip” and “next”.
The assist running will be stopped when a battle fails and it is as-is in other
scenarios.
-
Maze exploration (メイズ探索). Repeat clicking
“maze enter”, “team makeup done”, “skip”, “route select”, “select helper”,
“leave (mid-shop)”, “done (when final shop costs all stones)”.
If there are no errors to happen this scenario will be repeated endlessly if
the daily things buying limit is reached.
When the maze farming is checked, the assist will auto buying other things at
the end of a maze exploration loop.
-
Tactical Exercise (戦術演習). It has the same button as battle simulation.
Basically, the script just implement clicking a image, so the scenarios
above are ideal situations.
Notes
I use ShareX to capture the game client and use
ImageGlass to crop the image and get the rect of
area for template images.
The images in the directory “Res/MuvLuv” are captured from the game. Their relative
area rectangle infos are hard coded in the script.
The directory “Libs” has OpenCV4120 lib
and the corresponding
AutoIt-OpenCV-COM libs.
The “Patak.jpg” in the directory “Res” is a wallpaper from KDE plasma. It can
be found in
plasma workspaces wallpapers.
The script “Test_OpenCV.au3” is a modified example from one of samples in
AutoIt-OpenCV-COM.
评论