Monday, February 3, 2014

v1.2.1

Bugs fixed
  • Arena results will now saved correctly (well... at least until 7 wins, as that is as far as I went since the release of the new scan engine)
  • Fixed an issue where HT sometimes produces duplicate match results due to residue short term memory not being flushed in the correct order.
  • Creating new match records with lose as the result will now save correctly as lose.
  • Current Log Level is now being displayed correctly in the UI.
Improvements/Changes
  • Now able show Hero vs Hero stats at the overview table.
  • Now able to combine coin/no coin & heroes filter for arena mode ( 7+ wins % will be excluded though)  at the overview table.
  • Since HearthTracker no longer requires to scan game languages specified regions of the game. It is no longer reads from game language specified XML file, now reads from gameLangs/default.xml instead.

Thursday, January 30, 2014

The New Scan Engine Arrived!

Update v1.2.0: fixed arena saving bug.

HearthTracker v1.1.9 changelogs 

Version v1.1.9 is primarily focused on creating and implementing the new engine and refactoring the code. I have spent like 2 weeks to get it done. However, I've added a couple of small touchups as well.  It is not your typical update. It is an awesome update!

There are a few changes/features
  • Native (exe) launcher added  for Windows users.
  • Implemented more stats filters that actually make sense - coin/no coin, against classes and show stats for recent N matches/arena runs. Filters are combinable to show the stats you're interested.
  • The scan engine has been re-written from scratch completely. It is really, really fast. 
  • Now able to identify additional game result, draw! which will still considered as defeat stats wise. 
  • Russian language for the user interface (credits to Vanches who created the translation) 
  • Now logs exceptions and events to "logs" folder, not everything yet, but should help in identifying bugs.
  • Tools/Diagnostic tab is now removed.
  • Memory and CPU usage is now reduced significantly. 
  • Startup should be faster now.
  • Some other minor bug fixes/changes

The new scan engine
  • It can now scan Hearthstone window even it is in the background (requires Aero mode enabled).
  • It is really, really fast (wait did i mention it already?) It takes only about 2 milliseconds per scan cycle (excluding screen grabbing). It is about 20ish milliseconds with screen grabbing.
  • Multi-monitors setup should (really) work now (please remember to remove the offsets override)
  • Scan engine now sees into the past much like a short term memory to really identify what happened and happening instead of making decisions frame-by-frame. This come with a small price though, some delayed must be enforced for the recognitions to take place but it will never be skipped as long as the key frames are captured. For example, it can identify the animated arena keys transitions from one to another and still understand that it is the new key should take precedent instead of showing notifications for both new and old key.
  • With the new highly advanced hybrid image recognition technique, detection should be very accurate now which including the deck slot detection. 
All being said, the new engine is not fully tested, especially for arena keys detections. 

Please consider donating a few bucks if you find HearthTracker useful.

Thanks!

Thursday, January 23, 2014

The New Scan Engine!

Screencap of the scanner log!
Hey guys! Been some time since I last posted. I understood the frustrations with the current scan engine. It is not working as well as i've intended it to be.  I have been working on the new scan engine since the last update.  Also, If you think HearthTracker is useful. I spent a lot of time developing this, and it is still on-going!  Please consider donating a few bucks! HearthTacker seeks your help.

Here is some of the improved areas of the new scanner:
  • The new scanner has massive speed  (like 100 times?) improvement. It is blazing fast, each image recognition (and we have about 60ish images to scan) cycle only takes an average of 5~10 ms on a modern CPU with a single thread. Even when we take into account of the whole cycle including the screen capture, HearthTracker still able process about 30~ frames per second. All that done without using any IF-ELSE conditions to filter images. Actual implementation will be even faster because we can reduce the images needed to be scanned by filtering them with IF-ELSE conditions.
  • Much lower CPU and memory footprint. it takes only about 1~5% CPU usage on maximum scanning speed and about 80ish MB of maximum memory usage. Actual usage might be even lower for the same reason above.
  • Improved on screen capture speed - it is like 10 times faster now.
  • It works on multi-monitor setup without using any workaround!
What all of that means? It means HearthTracker will be able to scan faster than our human eyes can see the images. It means HearthTracker will hardly miss anything. It means HearthTracker will track A LOT more things. For starters, it will be able to track Arena Draft soon which is one of the reason that motivated me to design the scan engine.

Stay tuned for the new and improved scan engine!

Thursday, January 16, 2014

Update v1.1.8! Multilingual User Interface!

HearthTracker in Traditional Chinese!
I just did a "small" (but time consuming) update which consists of some internal changes and refactored a bunch of code which I consider doing as the project goes on.

The most notable new feature is the multilingual module for the user interface and finished translating the UI into both Simplified 简体 and Traditional 繁體 Chinese. Perhaps, it is one of the most requested feature of all time, I am glad that I've finally completed it!

If you wish to help others who can't understand English, you can offer your help by translating HearthTracker into language(s) you're familiar with.

To start translating, you can refer the guide, how to create translation for HearthTracker.

How to create translations for HearthTracker


In order to create translations for HearthTracker, you will need a proper text editor, I'd suggest you go with Sublime Text 2 (it is free for evaluation), or you can use Notepad++ which is free and open source.

Step 1.
First open up uiLangs.xml located inside the configs folder with a text editor,

You will see a bunch of code, don't worry it is very simple. Say you want to create a French translation, you will need to create an entry group, just like the screenshot. The first line wrapped by the string tag is the name of the language, the second line is the filename for the translation file. In this example, we used le français and french as the filename. After you finish editing the file, save and close it.

Tuesday, January 14, 2014

v1.1.7 Improved Deck Management

A small update which improved a few things
  • The Deck Manager now includes a button to remove empty slots, mimicking how the Hearthstone client sorts the decks.
  • You can now edit the deck field for your matches.
  • The Matches tab now displays up to 1000 matches.
  • The Arena tab now displays up to 50 arena results.
  • tweaked the UI elements for Perferences tab

If you think HearthTracker helped you in any way and wanted to give back to the project, you can consider to donate a few bucks.

You can read about the I am going to use the donations for at HearthTracker seeks your help!

Thanks! 

Friday, January 10, 2014

Stats overlay for stream

Did you know you can overlay your stats on top of your stream by adding the text files to your text plugin of your broadcast software?

To do so, just go to the output folder of HearthTracker, from there you can add text files as an overlay for your stream.

Please refer to your broadcast software official guide on how to overlay text files if you're not sure.

Finally, HearthTracker seeks your help!