Giter Club home page Giter Club logo

hdt-plugin-statsconverter's Introduction

Stats Converter

GitHub release Github downloads

A plugin to import and export game statistics from Hearthstone Deck Tracker.


Install

  • Download the latest release (not the source code)
  • Unzip the contents into you Hearthstone Deck Tracker's plugins folder (or drag-and-drop onto the plugin menu)
  • Enable the plugin in HDT's settings
  • Use the plugin settings to customize it's behaviour

Features

Allows exporting and importing game statistics from Hearthstone Deck Tracker. Two formats are currently supported CSV (Comma Separated Values) and Excel. Exporting enables players to analyse their statistics outside of HDT. Importing allows new games to be added and existing games edited, see note about importing below.

Menu

Usage

The plugins menu opens the main converter window. Select one of the import, export or settings buttons as required.

Menu

Settings

The settings page allows you to change how the plugin behaves.

settings

  • Filename prefix, the name to give any exported stats files.
  • Add timestamp, add the date and time to the filename of exported stats.
  • Export to, set the default export directory.
  • No Export Dialog, do not show a file save dialog when exporting, use the directory specified in 'Export to' (Desktop by default).
  • Show Import Warning, shows the warning message on the import page.

Importing

Extra care must be taken when importing statistics, you should always check that the importing process has worked as expected by inspecting the stats in HDT. If you need to revert an import restore the most recent backup found in the HDT options.

Importing is mainly intended for editing existing statistics using data previously exported by this plugin. Creating statistics files manually and importing them, for adding new games for example, should work but care should be taken that the format is correct.

License

The plugin is licensed under the terms of the MIT license. The full license text is available in the LICENSE file.

Attribution

This plugin uses IcoMoon free font icons licensed under CC BY 4.0

hdt-plugin-statsconverter's People

Contributors

andburn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hdt-plugin-statsconverter's Issues

Exporting multiple decks

Hello,
i found this plugin very handful even tho latest release is from 2018 it's still working.
I'm wondering if it's possible to export multiple Deck variants for the same class.
I mean: i main pure pala but there are lot of deck variants so i made 3 of them and now i'd like to export all 3 at once in order to calculate which one is better
Will this be possible?
Also if you have some other good idea, just implement that! Don't let this plugin die as it's a very powerful one!
Cheers

The tag 'EnumDescriptionConverter' does not exist

1>------ Build started: Project: StatsConverter, Configuration: Debug Any CPU ------
1>D:\SourceCode\GitHub\hdt-plugin-statsconverter\StatsConverter\Controls\ImportDialog.xaml(19,14): error MC3074: The tag 'EnumDescriptionConverter' does not exist in XML namespace 'clr-namespace:Hearthstone_Deck_Tracker.Enums;assembly=HearthstoneDeckTracker'. Line 19 Position 14.
1>D:\SourceCode\GitHub\hdt-plugin-statsconverter\StatsConverter\Controls\ExportDialog.xaml(19,14): error MC3074: The tag 'EnumDescriptionConverter' does not exist in XML namespace 'clr-namespace:Hearthstone_Deck_Tracker.Enums;assembly=HearthstoneDeckTracker'. Line 19 Position 14.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

weird NuGet packages location

it's weird that I have two packages under my solution.they are the same .
hdt-plugin-statsconverter\packages
hdt-plugin-statsconverter\StatsConverter\packages

you can check the reference path in
hdt-plugin-statsconverter\StatsConverter\StatsConverter.csproj

packages\CsvHelper.2.13.0.0
..\packages\MahApps.Metro.1.1.2.0
..\packages\Newtonsoft.Json.6.0.8

Request: Configurable Filename

The way I intend to use this is to have a second excel workbook, where i create a link to the csv and import the data.

If I could configure the file name to not have a date, and just be "HDT stats" or whatever, I can safely overwrite the old version, and the other workbook will continue working normally.

I can do this manually of course, but it would be nice if I didn't have to.

Not exporting brawl stats

When you export stats you dont have the option of selecting brawl.

If you select All, it doesn't export all the brawl stats. At a cursory glance, it looks like games with no deck are not being exported.

Import Stats ?

Why can we not import stats from a file that we export ?

Update?

This doesn't seem to work with the latest HDT. Are you planning on updating it?

NullReferenceException in OnLoad at window.Flyout.Items

Hey andburn,

I tried to compile and run the plugin from sources, but got an exception when calling the OnLoad() method:

System.NullReferenceException: Object reference not set to an instance of an object.
   at HDT.Plugins.StatsConverter.StatsConverterPlugin.SetSettingsFlyout() in G:\Source\HDT plugins\hdt-plugin-statsconverter\StatsConverter\StatsConverterPlugin.cs:line 85
   at HDT.Plugins.StatsConverter.StatsConverterPlugin.<OnLoad>d__14.MoveNext() in G:\Source\HDT plugins\hdt-plugin-statsconverter\StatsConverter\StatsConverterPlugin.cs:line 51
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Apparently the Hearthstone_Deck_Tracker.API.Core.MainWindow.Flyouts is null

    private static void SetSettingsFlyout()
    {
        var window = Hearthstone_Deck_Tracker.API.Core.MainWindow;
        var flyouts = window.Flyouts.Items;

Any idea of how to solve this?

Export matches full stats

Hello there, is there a way to export full data from the matches recorded through HDT ?
This plugin "only" (which is already great) exports metadata about matches (duration, turns, result, class, opponent, etc.) but not data about turns themselves (card played, turn duration, hand composition, etc.).

Do you have in mind some way to export such data ?

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.