Hi,
I have a strange behaviour.
I open AGS and load a game. Without any changes i close it and Click "yes" to save the game.
When I run a diff between the last change and the current version of the game.agf it gaves me 126 changes.
(http://img825.imageshack.us/img825/1897/gameagf.png) (http://img825.imageshack.us/i/gameagf.png/)
Why is this?
I get two errors of the first one
-- <ScriptName>aMusic1</ScriptName>
-- <SourceFileName>music\music1.mid</SourceFileName>
++ <SourceFileName>music\music1.mid</SourceFileName>
++ <ScriptName>aMusic1</ScriptName>
and 124 of audio-date changes
-- <FileLastModifiedDate>2008-11-08 18:16:30Z</FileLastModifiedDate>
++ <FileLastModifiedDate>2008-11-08 19:16:30Z</FileLastModifiedDate>
only one seconds or so.
It is annoying when you set your files under source control and want to see the diff, when you add rooms or sprites or something else.
Greetings
Rulaman
I can appreciate that this is annoying if you're using a source control diff. The way that AGS writes the Game.agf file, there is no gaurantee about the order that elements will come out in this sort of situation; so there's no easy way of changing it.
Thanks for your answer.
The first point is not my main problem but now I know about this behaviour.
What about the 124 time changes?
What reason is this?
Edited the wrong line in the second diff in my first post.
-- <FileLastModifiedDate>2008-11-08 18:16:30Z</FileLastModifiedDate>
++ <FileLastModifiedDate>2008-11-08 19:16:30Z</FileLastModifiedDate>
I see it is exact one hour.
That looks like some sort of daylight-savings-offset problem with the times, it probably shouldn't be happening. Does it increase by an hour every time you save it, or just the first time after adding the sounds?
Hi Chris,
I do the following to reproduce this behaviour.
I open AGS 3.2 and press F7. Then I close AGS and get an increse by one hour. (122 changes)
I checked in my file (RCS) and open AGS again. F7 -> close and the same error.
This time, minus one hour. (122 changes).
The third time there are only 70 changes, but the same behaviour.
I didn't add some files or do something.
PS: I also see changes over an hour.
How good, that AGS 3.2 is still in Beta-Stage. Because for sure it has to do something with the very strange new Sound System. ;D
Hi Rulaman BTW. ;)
Interesting, looks like sometimes the daylight savings offset is included in the saved time, and other times not.
I might look into it at some point.