Все обсуждения > Форумы Steam > Steam Community > Подробности темы
CS:GO Demo file parser
Hi there,
I'm working on some app to analyze demo data. I saw that there is few libraries for parsing a demo like CSGO-Demos-Manager from akiver and many others, but I'm wondering how I can do it myself with PHP? I want to directly open this file in PHP and get data that I need.
Do anyone have experience with this?
< >
Сообщения 17 из 7
Does PHP even support opening binary data & parsing a byte array? Does PHP even have byte arrays as type?
Well yes, there is unpack method
Well, if there's a way in PHP to deal with binary data, operating in a stream of raw bytes (as opposed to char/string-based data), then you can achieve pretty much anything in PHP, including decoding demo files.
Отредактировано ReBoot; 14 окт. 2020 г. в 4:38
Well I found chr and pack/unpack for PHP, so it is possible. But the problem is how to separate that data
Yup, saw it, tried it and it works as they write it, but still not enough information on valve documentation.
What are you missing?
< >
Сообщения 17 из 7
Показывать на странице: 1530 50

Все обсуждения > Форумы Steam > Steam Community > Подробности темы
Дата создания: 14 окт. 2020 г. в 3:23
Сообщений: 7