Skip to content

Quake 3 Engine demo pattern & test file #402

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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

TomArrow
Copy link

Pretty basic format. The data in the messages themselves probably is too complex (not sure). It's huffman-data with a fixed dictionary, but it can contain individual bits too, so to my knowledge data must be read in the correct order based on complex logic that can vary between games. But at least with this individual messages and their lengths can be seen.

@TomArrow
Copy link
Author

Figured out how to at least detect the type of the message. Might be possible to do a bit more for gamestates (read server hostname and such), but that would only be practical if I could pass the data array to some function to loop through strings.

@TomArrow
Copy link
Author

Can now also read serverTime of messages of snapshot type.

@TomArrow
Copy link
Author

Okay added a bunch more features after I figured out how to use functions. However it's gotten quite slow compared to the original version, to the point where processing a 20 MB file takes a few minutes. Would it be prudent to create a lighter version as a variant? Or what's the usual approach with such things?

@TomArrow
Copy link
Author

Probably not gonna do anything more to this as it seems to work fine, unless someone finds some problems.

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

Successfully merging this pull request may close these issues.

1 participant