I decided to use my character from classic and ive spent a long time playing as. so i know that the ingame year is shown in dfunity but in classic it doesn't show but when i looked at my unity save it says 3E 407. I know the game starts in 3E 405 so how did it know how much time passed in my classic save?
I know this is possibly a weird question but im just curious
How does DfUnity know what ingame year it is from a Classic Save?
- The Holy Knight
- Posts: 47
- Joined: Wed Jun 26, 2019 11:51 pm
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: How does DfUnity know what ingame year it is from a Classic Save?
Classic counts the number of minutes from an epoch date and saves this in savetree.dat. DFU reads this in and converts with its datetime functions.
https://en.m.uesp.net/wiki/Daggerfall:S ... t#DateTime
https://en.m.uesp.net/wiki/Daggerfall:S ... t#DateTime
- The Holy Knight
- Posts: 47
- Joined: Wed Jun 26, 2019 11:51 pm
Re: How does DfUnity know what ingame year it is from a Classic Save?
Ok so classic did keep track of time? why did the year never show up in classic?
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: How does DfUnity know what ingame year it is from a Classic Save?
Yep, classic tracks game minutes since epoch. No idea why the developers chose not to display this in-game. Possibly wasn't important or they felt it distracted from the game. I honestly have no way of knowing.
- The Holy Knight
- Posts: 47
- Joined: Wed Jun 26, 2019 11:51 pm
Re: How does DfUnity know what ingame year it is from a Classic Save?
I wonder if that's why my first character corrupted. I played that same character for so long did the epoch maybe run out of memory?
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: How does DfUnity know what ingame year it is from a Classic Save?
No, it's just a number counting minutes that have passed. I linked to the savetree.dat format spec earlier.
You can read a bit about how epoch time works in general below. I don't really have anything further to add.
https://en.wikipedia.org/wiki/Unix_time
You can read a bit about how epoch time works in general below. I don't really have anything further to add.
https://en.wikipedia.org/wiki/Unix_time
- The Holy Knight
- Posts: 47
- Joined: Wed Jun 26, 2019 11:51 pm
Re: How does DfUnity know what ingame year it is from a Classic Save?
Oh okay I see how It works. Thank you