ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Demo editor date and time

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests
View previous topic :: View next topic  
Author Message
fx02
Dominating!


Joined: 04 Jan 2004

PostPosted: Fri May 18, 2012 9:26 am    Post subject: Demo editor date and time Reply with quote

Quote:
ps. also it would be nice to preserve original date of creation

1.09 does it; 1.08 cannot possibly do it since it records in the ZDO format which does not support metadata.

No, I was refering to date and time of actual zdo file. Now if you have zdo dated 15.05.2012. and edit it today it will become zdd with date 18.05.2012. Can you preserve original date & time of demo file?

For example when loading zdo read date and time (15.05.2012. 23:35), and when saving it, you would save it as 15.05.2012. 23:35.
Back to top
View user's profile Send private message Visit poster's website
EarthQuake
Spamming!


Joined: 02 Apr 2004
Location: Athens, Ohio. Dieblieber gonna getcha!

PostPosted: Fri May 18, 2012 10:50 pm    Post subject: Reply with quote

The ZDD format was designed to store this sort of information internally, to address problems such as this. Think of this metadata as tags in an MP3 file, where you can store the title, author, album, track number, etc. The ZDD format is kind of like that.

The old ZDO format doesn't store that sort of info as far as I know, and of course modifying the file will result in altered time/dates. Just by the way, if you're unsure of the original date to a file that hasn't been altered, look at the "last modified" date, that will show you the time of creation. Ignore the "created" date because everytime you copy the file, that time gets updated.
Back to top
View user's profile Send private message Send e-mail
Kilgore
Air Cavalry


Joined: 17 Jun 2003
Location: Up the river

PostPosted: Sat May 19, 2012 12:32 am    Post subject: Reply with quote

EQ is right there, but it's possible to fix the date of the zdd file too. I'll see what I can do fx02.
Back to top
View user's profile Send private message Visit poster's website
fx02
Dominating!


Joined: 04 Jan 2004

PostPosted: Sat May 19, 2012 1:06 pm    Post subject: Reply with quote

Earthquake, yes I was hoping that last modified would do the trick, but if you edit it twice it's gone :/



Anyway I understand zdd format/header that stores information.
I suggest that demo editor should read zdo creation date and put it into zdd. I think that would be OK?
Back to top
View user's profile Send private message Visit poster's website
Kilgore
Air Cavalry


Joined: 17 Jun 2003
Location: Up the river

PostPosted: Mon May 21, 2012 11:38 pm    Post subject: Reply with quote

I tell you what we can do:
  • The demo tool can auto-insert the zdo date into the recording date field.
  • It can also set the zdd timestamp equal to the zdo timestamp, but ONLY when converting from zdo to zdd. Further zdd edits will affect the file timestamp as they should.
Soon enough, you will not really need the second of those fx02 Smile
Back to top
View user's profile Send private message Visit poster's website
phenex2
Spamming!


Joined: 10 Jan 2008

PostPosted: Thu Jul 12, 2012 6:59 pm    Post subject: Reply with quote

things from kilgores last post were implemented in b28
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group