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

Demofiles from CPH 2014 can't be read, while demoinfogo can process them #19

Closed
moritzuehling opened this issue Dec 10, 2014 · 1 comment
Assignees
Labels

Comments

@moritzuehling
Copy link
Contributor

There is an exception during the parsing of the packet-entites. (sigh)

An example of a non-working demo is in the hltv demo archive (tested with the demo of de_inferno).

Example outout of demoinfogo by Valve: https://gist.github.com/moritzuehling/a89a9587ab19d7953547

If anybody finds my mistakes, I'd be thankful. I'll look into the parsing-code myself.

Thanks to /u/Pigophone for reporting this bug!

@moritzuehling
Copy link
Contributor Author

I think identified the issue. Some type of the 11 types of the special floats does not seem to be read correctly.

The first call to return a wrong value is this one.

The original parser outputs

Field: 5, m_vecVelocity[1] = 31.697927
Field: 7, m_vecOrigin = 5.000000, 770.375000

The value I read for field 5 is okay, but field 7 is read as 0, 0.75

So let's dig into that! But not this night.

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

No branches or pull requests

1 participant