by InsanityBringer » Tue Jan 29, 2019 1:33 pm
okay but literally none of that is relevant to gzdoom? (vanilla does version demos, anyways, at least since
1.2)
in any case, GZDoom does version demos, it needs to in order to determine if a demo can be played back. You'll need some sort of file viewer or hex editor to look at it though. you'll find a "ZDHD" marker in the file, followed by 4 bytes for the size, and then the next two bytes should be the version. A hex editor like xvi32 (and probably a million better ones, but frustratingly enough not hxd) will usually have an option to automatically convert that number into a readable base 10 number. The only trouble is that I don't fully know how demo versions map into game versions, all I can say at the moment is that
the current demo version is 0x221 (545 decimal)
okay but literally none of that is relevant to gzdoom? (vanilla does version demos, anyways, at least since [url=https://doomwiki.org/wiki/Demo]1.2[/url])
in any case, GZDoom does version demos, it needs to in order to determine if a demo can be played back. You'll need some sort of file viewer or hex editor to look at it though. you'll find a "ZDHD" marker in the file, followed by 4 bytes for the size, and then the next two bytes should be the version. A hex editor like xvi32 (and probably a million better ones, but frustratingly enough not hxd) will usually have an option to automatically convert that number into a readable base 10 number. The only trouble is that I don't fully know how demo versions map into game versions, all I can say at the moment is that [url=https://github.com/coelckers/gzdoom/blob/86551e53df40be2e850e6f1024a1e49a1794378c/src/version.h#L76]the current demo version is 0x221 (545 decimal)[/url]