Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work in CS2 #40

Open
clankill3r opened this issue Jan 22, 2024 · 3 comments
Open

Does not work in CS2 #40

clankill3r opened this issue Jan 22, 2024 · 3 comments

Comments

@clankill3r
Copy link

When using csgo-demoinfo on demos created in cs2 an error will occur:

CDemoFile::Open: crc_test.dem has invalid demo header ID.

@mtms39
Copy link

mtms39 commented May 23, 2024

When using csgo-demoinfo on demos created in cs2 an error will occur:

CDemoFile::Open: crc_test.dem has invalid demo header ID.

Well it happened to me as well. I checked the hexdump of the demo and found out that there were filled many lines before the header line ID, which should be the first seven bytes of the file (as I can see from my file). Check it out and tell us. For some reason your file is malformed

@mtms39
Copy link

mtms39 commented May 23, 2024

When using csgo-demoinfo on demos created in cs2 an error will occur:

CDemoFile::Open: crc_test.dem has invalid demo header ID.

Well it happened to me as well. I checked the hexdump of the demo and found out that there were filled many lines before the header line ID, which should be the first seven bytes of the file (as I can see from my file). Check it out and tell us. For some reason your file is malformed

In my case I was extracting 3 files from a .rar. I realized that only the first file was being correctly extracted, I mean, without the filling 0s. So I extract each file at a time and worked just fine.

@clankill3r
Copy link
Author

I move to https://github.com/markus-wa/demoinfocs-golang
It seems to be a lot faster and getting way more love then this repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants