Arena helper mac os

Arena helper mac os

Arena Tracker is a deck Tracker for Hearthstone with arena in focus. It has a free and a premium version that you can unlock by becoming a patron (3$/month). Learn the difference between the two here.

Join our community at the Arena Tracker subreddit.

  • Tested on Windows 7/8/10
  • Tested on Mac OS X 10.11
  • Tested on Ubuntu/Linux Mint
    • You can downloading Arena.Tracker.X.Linux.zip or ArenaTracker.Linux.AppImage.
    • For Arch Linux users there’s a package in AUR maintained by Strit.
    • If you’re having problems running HS with AT on linux, HS dont accept mouse clicks, try Windowed (virtual desktop) option and it will work perfectly. You can do it easily with lutris.

Extract the zip wherever you want and double click the executable, no installation required. (If you want to run it from a terminal don’t use sudo.)

Data used by Arena Tracker will be stored in USER/Arena Tracker (Windows/Mac) or USER/.local/share/Arena Tracker (Linux) with this structure

Arena Tracker will need to download all Hearthstone card images onto Hearthstone Cards dir. This is done in the background while you use it. You don’t need to wait, start your draft or your next game, AT will know what to do.

On Windows and Mac: Arena Tracker setup is done automatically unless you didn’t install Hearthstone in its default dir. In that case the first time you run Arena Tracker you will be asked for several dir/files. Check this.

On Linux: Arena Tracker will try to find Hearthstone dir automatically using the command find (Only your HOME dir will be searched). This process can take several minutes, I suggest you to empty your trash bin before, to make it short. If it doesn’t success it will ask you to find some dir/files, check this.

If AT doesn’t react to what you do in HS, you can try to manually configure HS log like this.

If you have problems installing it or using it I’m happy to help you on reddit.

Build from source (Windows/Linux/Mac) (Only advanced users)

  • (Only Mac) Download & install XCode
    • https://developer.apple.com/downloads/?name=Xcode
  • Download & install QT Community.
    • http://www.qt.io/download-open-source/
  • Download, compile & install Opencv v2.4.11 (NOT 3.0) (This step can be tricky)
    • http://opencv.org/downloads.html
    • On Ubuntu I followed this guide: (changing the version of ovencv to v2.4.11) http://rodrigoberriel.com/2014/10/installing-opencv-3-0-0-on-ubuntu-14-04/
    • On Mac I followed this guide: https://www.learnopencv.com/configuring-qt-for-opencv-on-osx/
  • Download or clone Arena Tracker source code.
    • https://github.com/supertriodo/Arena-Tracker/archive/master.zip
  • Open Qt Creator and open Arena Tracker project.
    • Open File or project. Look for ArenaTracker.pro
  • In the botton left set the build to Release and Run.

If you build on Mac check:

Is Blizzard okay with this?

The evolution of AT

  • https://hsreplay.net
  • http://hearthstonejson.com
  • http://www.heartharena.com
  • https://github.com/probonopd/linuxdeployqt
  • Arena Tracker is a HearthSim project. Join us on Discord.

Thanks to all these projects ArenaTracker is possible.

About

Arena Tracker is a deck tracker that gives you a lot of extra info while playing Hearthstone.

Источник

Arena helper mac os

Copy raw contents

Arena Helper is a plugin for Hearthstone Deck Tracker that helps drafting Hearthstone arena decks by showing an overlay with card values from a tier list. The plugin tries to detect the arena heroes and card choices. Detected cards are displayed alongside the value of the card, that is specified in The Lightforge: Hearthstone Arena Tier List. The created deck can be saved to Hearthstone Deck Tracker. Check out the How To Install guide below to download and install the plugin.

Читайте также:  Close all terminal linux

Arena Helper uses HearthMirror to extract the hero and card data from Hearthstone. Older versions of the plugin used perceptual hashing to detect the Hearthstone arena heroes and cards. The technique is based on the article Looks Like It. Implementation details of a similar project can be found here: Hearthstone Image Recognition.

More technical information about how the plugin used image recognition and how it calculated the perceptual hashes can be found in my article Arena Helper.

The Lightforge Arena Tier List which is used in Arena Helper was shut down by the creators, as a result there will be no more updates.

Thanks for your support! 👍

Plugins For Arena Helper

Arena Helper has support for plugins within the plugin. Plugins allow you to use the card detection system while drafting a Hearthstone arena deck for your own purposes. It also allows you to override the tier list values and can present an advice to the player. Check out my article How To Write Plugins For Arena Helper to read a tutorial on how to create such a plugin. If you want to see how it works immediately, you can find a TestPlugin project in the latest source code. If you have made a plugin and want to be featured on this page, contact me.

  1. Click here to download the latest ArenaHelper.vX.Y.Z.zip from the releases page.
  2. Unblock the zip file before unzipping, by right-clicking it and choosing properties:
  3. Make sure you remove any old versions of the ArenaHelper directory in the plugins directory of Hearthstone Deck Tracker completely, before upgrading versions.
  4. Unzip the archive to %AppData%/HearthstoneDeckTracker/Plugins To find this directory, you can click the following button in the Hearthstone Deck Tracker options menu: Options -> Tracker -> Plugins -> Plugins Folder
  5. If you’ve done it correctly, the ArenaHelper directory should be inside the Plugins directory. Inside the ArenaHelper directory, there should be a bunch of files, including a file called ArenaHelper.dll.
  6. If the plugin is missing MSVCP120.dll, install the following Redistributable Package (Select vcredist_x86.exe):
    Visual C++ Redistributable Packages for Visual Studio 2013
  7. Launch Hearthstone Deck Tracker. Enable the plugin in Options -> Tracker -> Plugins .
  8. If it is not working you can enable a debug mode in the options window
  9. If all else fails, copy the dlls from the x86 directory to the C:/windows/SysWOW64 directory.

When you start a new arena run, open up the Arena Helper window from the plugins menu. Arena Helper will try to detect the arena window and the heroes that can be chosen.

The plugin has detected the heroes. Select a hero.

When you see that a detected hero becomes bigger in the Arena Helper window, you can confirm your selection.

If hero detection doesn’t work, you can use the manual hero selection override by clicking on the top-left portrait rectangle.

Wait for the plugin to finish detecting the cards.

Arena Helper has detected the cards and displays the value from The Lightforge: Hearthstone Arena Tier List in the window and the overlay.

Читайте также:  Индексация outlook mac os

All cards are picked. The deck can be saved to Hearthstone Deck Tracker, without needing to use the Import function. The Arena Helper window can be closed. Make sure to check the deck for errors, because sometimes detection is not flawless.

All arena decks are saved in the AppData directory: HearthstoneDeckTracker\ArenaHelper\Decks If the plugin made a mistake, you can override or reset the cards and card picks manually by editing the .json files in the decks directory. The position of the Arena Helper window is saved automatically in a config file.

Источник

Hearthstone Arena Helper

Arena Helper is a plugin for Hearthstone Deck Tracker that helps drafting Hearthstone arena decks. Hearthstone is a popular free-to-play card game by Blizzard Entertainment. The game has a game mode called Arena. In the Arena mode, the player has to create a deck consisting of 30 cards. The cards are picked one at a time, so there are 30 choices the player has to make. Every choice consists of selecting one card out of three randomly selected cards. Not every card that is presented, is equally good as the others. New players, but even experienced players, don’t always know which card has the most value. This plugin helps the player to make a choice, by showing what other expert players think of the value of the presented cards. The plugin tries to visually detect the arena heroes and card choices. Detected cards are displayed alongside the value of the card, that is specified in ADWCTA’s Arena Tier List. The created deck can be saved to Hearthstone Deck Tracker.

The plugin uses perceptual hashing to detect the Hearthstone arena heroes and cards. The plugin uses OpenCV, or rather Emgu CV, to calculate the perceptual hash. It was written using C#, because Hearthstone Deck Tracker uses it. This article explains how the plugin works and provides code examples to implement your own image recognition algorithms based on perceptual hashing.

Arena Helper For Hearthstone

For the latest news, releases and downloads, visit the Arena Helper project page on GitHub. The rest of this article explains the technical details of the plugin.

How It Works

The plugin takes screenshots of the Hearthstone window and uses this visual information to detect game states, cards and heroes. The plugin doesn’t use memory reading functions and it doesn’t inject data or code into the Hearthstone process.

Lets say we have a hashing function that takes an image and returns a 64-bit number that represents the image. Two different images will result in two different hash numbers. If we have two images that are almost the same, the two hashes will also be almost the same. So we can use the hashing function to compare two images and find out how similar they are. If we know the exact position of the visual elements we want to detect, and we know what the visual hashes of these elements should be, we can try to detect them. This requires us to precompute all of the perceptual hashes that we want to detect.

The image below shows how Arena Helper tries to detect the Hearthstone game state and the heroes. The red rectangles indicate the location of the visual elements we want to detect. These locations are defined in the code of the plugin and the visual hashes of the elements are precomputed and stored in a database. The image in the top rectangle shows us if we are in the arena state. The bottom rectangles represent the position and size of the heroes.

Читайте также:  Как обновить кэш репозиториев linux

The visual hashes of the three heroes are calculated and the hashes are matched against the hashes stored in the database. If the hashes are close enough, we have detected the heroes. Detecting cards is a similar process.

Resolution Independent

We define the exact location and size of the visual elements in the code of Arena Helper. This information is only correct for a specific resolution. If the resolution is changed, we need to convert our stored locations to be compatible with the new resolution.

For example, we can define a rectangle that indicates the location and size of the first hero portrait in the image above. The code examples below will be using C#.

This rectangle is correct for the reference resolution of 1280 x 960. If the game runs in a more standard resolution like 1920 x 1080, we need to convert the location and size of the rectangle. It depends on the game how the visual elements change when the resolution changes, but for Hearthstone, the following conversion functions work most of the time. If the resolution is extremely wide, the conversion function will not work.

To convert the portrait rectangle, we can use the functions as follows.

Now that we have the converted rectangle in the form of pos and size, we can copy the rectangle from a screenshot of the Hearthstone window and calculate the perceptual hash.

Image Recognition With Perceptual Hashing

The perceptual hashing function uses the techniques from Looks Like It. The implementation was done in C#, using the Emgu CV library that is a wrapper for the OpenCV library. The code below is compatible with Emgu version: Emgu.CV-3.0.0-rc1.

The GetImageHash function takes a bitmap and returns a 64 bit perceptual hash.

To calculate the distance between two hashes we create the GetHashDistance function. This function calculates how many bits are different when looking at two hashes.

Now that we have the GetImageHash and GetHashDistance functions, we have all the tools we need to recognize images, visual elements, that are embedded in a screenshot.

Hearthstone Deck Tracker Overlay

Arena Helper integrates with the overlay system of Hearthstone Deck Tracker. It displays the values of the cards under the actual cards in the Hearthstone window, just like how Hearthstone Deck Tracker does it. The image below shows the Arena Helper overlay.

Plugins For Arena Helper

Arena Helper includes a plugin system. The system allows site owners to integrate with Arena Helper and enables retrieving custom values for detected cards. It can also be used to record the arena drafting process. More information about the plugin system can be found at: How To Write Plugins For Arena Helper

Download Arena Helper For Hearthstone

For the latest news and releases, visit the Arena Helper on GitHub project page. The latest release of the plugin is always available for download at the Arena Helper releases page.

Источник

Оцените статью