Skip to content
This repository was archived by the owner on Sep 22, 2021. It is now read-only.
This repository was archived by the owner on Sep 22, 2021. It is now read-only.

Invalid File-Type - expecting HL2DEMO #170

Open
@shark25361

Description

@shark25361

I'm trying to parse the .dems from https://www.hltv.org/matches/2350388/vitality-vs-natus-vincere-esl-pro-league-season-14 using a build from DemoInfo with signed assemblies disabled. However, the following code:
DemoParser parser = new DemoParser(File.OpenRead(args[0]));
parser.ParseHeader();
causes the following error:
Unhandled Exception: System.IO.InvalidDataException: Invalid File-Type - expecting HL2DEMO
at DemoInfo.DemoParser.ParseHeader()
at csgo_highlights.Program.getKills(DemoParser parser)
at csgo_highlights.Program.Main(String[] args)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions