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

Dota 2 Demo File Format

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #61
    Did you make sure to put the files into the folder, and not the entire folder inside the folder already given?

    IE, I should be \snappy-1.0.5\snappy.cc, not \snappy-1.0.5\snappy-1.0.5\snappy.cc

    Comment


    • #62
      yea i have it as demoinfo2\snappy.1.0.5\snappy-1.0.5.tar

      Comment


      • #63
        Download it from here and extract it into the snappy-1.0.5 folder.

        Comment


        • #64
          I did, does 7-Zip not work for this type of file?

          Comment


          • #65
            Tar is another compression format. If you extract a .tar.gz with 7 zip, you will first get a .tar file, and inside that is the actual files.

            Comment


            • #66
              Thank you very much

              Comment


              • #67
                Zoid: Any ETA on when the entitydata format will be made available? Specifically I am interested in tracking: gold, xp, kills made by minions and effects that are not listed inthe combatlog.

                Comment


                • #68
                  Hey guys got abit of a problem with the guide for "Dota 2 Demo Format". Ive followed the guide all the way, but got stucked on this point

                  To parse a demo, just download one in Dota 2. They will be in C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\dota\replays\*.dem. To dump a demo, just run "demoinfo2 xxx.dem" and it will print out all the messages in the demo.

                  I have no idea about what "demoninfo2 xxx.dem" is, I tried search for it on the computer, but I cant find anything. Hope any of u can help out. Thx in advance! =)

                  Comment


                  • #69
                    Originally posted by HawaiiOo View Post
                    Hey guys got abit of a problem with the guide for "Dota 2 Demo Format". Ive followed the guide all the way, but got stucked on this point

                    To parse a demo, just download one in Dota 2. They will be in C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\dota\replays\*.dem. To dump a demo, just run "demoinfo2 xxx.dem" and it will print out all the messages in the demo.

                    I have no idea about what "demoninfo2 xxx.dem" is, I tried search for it on the computer, but I cant find anything. Hope any of u can help out. Thx in advance! =)
                    demoinfo2 is the name of the program that you've compiled following the steps up to this point which is located in demoinfo2/Release. xxx.dem is the name of the replay file you want to pass in as an argument to the parser.

                    So you will want to open up Command Prompt navigate to your demoinfo2/Release folder. I would suggest opening up your replay folder in a separate window so you can drag the replay into command prompt to get the file path. Type in "demoinfo2 " and drag the replay into the command prompt window and will look something like this:

                    demoinfo2 "C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\dota\replays\12345678.dem"

                    Hit enter and the program will begin parsing the replay.

                    Id suggest outputting it to a text file as suggested earlier. "demoinfo2 xxx.dem > output.txt"

                    Comment


                    • #70
                      Would love it if we could get access to the item purchase information, and some way to download replays out of game.

                      Comment


                      • #71
                        @DstyCube Thx, mate helped me out alot. The only problem I got now is that when i enter demoinfo2 "C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\dota\replays\12345678.dem" in the command prompt, it just goes crazy and spitting out random numbers.. Any1 knows what the problem might be? I've navigated to the Release Directory and pathed it to there too..

                        Comment


                        • #72
                          You need to redirect demoinfo stdout to file, not console:

                          demoinfo2 "C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\dota\replays\12345678.dem" > C:\dump.txt

                          Comment


                          • #73
                            Hm, tried it out, and it said that it doesnt recognize demoinfo as a intern or extern command, nor a batchfile or a program.. Any help? =) Sry bout this lack of knowledge but on deep water here..

                            Comment


                            • #74
                              Hi
                              i install all of it and it's work,i use it on a *.dem and get txt file with size ~120 mb, but what i can do with this information?can u give some video example or smth.

                              Comment


                              • #75
                                Is there any kind of documentation of how the data is organized in the dump? I'd like the know where are the heroes (x,y,z) position at a given time, looks like the "entity_data:" holds these values somehow, but I did not manage to understand how I could obtain such kind of info.

                                Comment

                                Working...
                                X