Announcement

Collapse

Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.



In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.



All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

Introducing... Dota 2 Replay Analyzer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Introducing... Dota 2 Replay Analyzer

    With the recent availability of demoinfo2.exe and source code, I started work on a "replay analyzer". I'm attaching an initial release.

    I started out with demoinfo2 source code. Some pieces I removed, some pieces I re-wrote, so I can have a better understanding about what's going on in there. The code looks messy right now, because I was in a hurry to make something that "just works". I want to further re-write and refactor so it's much easier to work with in the near future.

    The project consists of two separate parts:
    - d2ra.dll, which does all the work. It exposes a pure C interface, so it's easy to create bindings for just about any language.
    - d2ra-gui.exe, which is just a GUI. It just calls functions from d2ra.dll, and creates a nifty GUI. Also, I suck at UI design, so the window looks like crap.

    What it can do right now:
    - load a .dem replay.
    - parse it in a different thread, reporting the progress.
    - get "general information" from the replay (match id, winner, ...)
    - show it all in a window

    What it will can do:
    - get "general information" (this still needs fixes and additions)
    - show a table with the same information as in the ending scoreboard
    - generate experience/gold graphs, comparing players/teams
    - export replay information in different formats (for example, a forum post or blog entry)
    - anything else I might think of

    Screenshots (reduced 50%):
    1.png2.png

    You can grab the source code here: http://code.google.com/p/dota2-repla...ource/checkout (you need a Subversion client)
    You can grab a release build here: d2 replay analyzer.zip

    Inside the zip, you'll find the binaries, include files, an import library, and the GUI layout (I'm using a HTML rendering engine).

    Limitations of this release:
    - the window cannot be moved.
    - no Linux/*NIX builds, as of yet, sorry. I'm using quite a few Windows-specific stuff (threads, open file dialog, window functions).
    - all the "omg it's pre-alpha" stuff.

    I'd be more than happy to take your criticism/suggestions.

    P.S. I welcome anyone who would like to contribute to this project. I think it's a good start for something great.

    EDIT. Here's a more descriptive screenshot:
    Last edited by Lamza; 05-05-2012, 04:46 PM.
    CPU: Intel i7 2630QM
    GPU: nVidia GeForce GT 525M ( 1GB )
    RAM: 6 GB DDR3 @ 1333 MHz
    OS: Windows 7 Professional 64-bit

  • #2
    ppasarel.Romanian ?

    Comment


    • #3
      Hmm. Cool, I like the way you dynamically parse the user messages. google.ro seems a bit unrelated though, I must admit. :P

      Comment


      • #4
        This doesn't work for me..

        Comment


        • #5
          Doesn't work for me either.

          Six text items on the first page (General info) appears, but not the Dire and Radiant list. Character thumbnails and player names missing.

          All other tabs don't work.

          The main box will read "Section #X selected" and that's it.

          Cheers!

          Comment


          • #6
            Originally posted by silencer666 View Post
            Doesn't work for me either.

            Six text items on the first page (General info) appears, but not the Dire and Radiant list. Character thumbnails and player names missing.

            All other tabs don't work.

            The main box will read "Section #X selected" and that's it.

            Cheers!
            You have to load a replay file. I couldn't figure out how to load one with the d2ra-gui-csharp version. If you fire up the d2ra-gui.exe it should prompt you immediately for a replay file. Only the first tab is filled in with info though.

            On a different note, my firewal reports that this is trying to make an http request at the start to 208.43.96.59-static.reverse.softlayer.com (which I denied). I couldn't find the location in the code, so I don't know if its malicious or not.

            Comment


            • #7
              Originally posted by thefreeman View Post
              You have to load a replay file. I couldn't figure out how to load one with the d2ra-gui-csharp version. If you fire up the d2ra-gui.exe it should prompt you immediately for a replay file. Only the first tab is filled in with info though.

              On a different note, my firewal reports that this is trying to make an http request at the start to 208.43.96.59-static.reverse.softlayer.com (which I denied). I couldn't find the location in the code, so I don't know if its malicious or not.
              It's probably dotabuff.com

              If you do a traceroute to dotabuff.com or stats.dota2.be, it'll point to softlayer.com.

              See line 43.

              Comment

              Working...
              X