Any way to know which version was used to record a demo?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.

Any way to know which version was used to record a demo?

Postby Charlotte Wunkinwock » Tue Jan 29, 2019 12:24 am

Well, that. Is there any way to know which version of GZDoom was used to record a demo? I found some that I recorded a couple years ago and I don't remember which version I used to record them. It seems a bit time consuming to go around downloading every single version and trying to play the demos with it. I figure the demo has that information somewhere, as it has to know somehow what version to expect to not show the desync warning message. Maybe a hex string?

Any help would be welcome, thanks!
Charlotte Wunkinwock
 

Re: Any way to know which version was used to record a demo?

Postby Kappes Buur » Tue Jan 29, 2019 2:18 pm

In general, I do not believe that versioning was included in demo recordings.
So, that would be a bust.

However, the demo demo3.lmp of Ancient Aliens has this string at the end



How that got embedded, I do not know. I never used PrBoom.

Other than that, the only thing I can suggest is to look at the timestamp of the demo and try to correlate with the GZDoom timestamp. But, I guess, you already tried that.
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia Canada

Re: Any way to know which version was used to record a demo?

Postby InsanityBringer » Tue Jan 29, 2019 2: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)
User avatar
InsanityBringer
 
Joined: 05 Jul 2007
Location: opening the forbidden box
Discord: InsanityBringer#9908

Re: Any way to know which version was used to record a demo?

Postby Kappes Buur » Wed Jan 30, 2019 1:12 am

InsanityBringer wrote:... all I can say at the moment is that the current demo version is 0x221 (545 decimal)

That is all well and good and interesting, but kind of useless if there is no correlation to the GZDoom version used to record the demo.
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia Canada


Return to General

Who is online

Users browsing this forum: Ichor and 3 guests