Hi developers,
I was twiddling with the file /base/archives.bat and came across an interesting thing today.
Previously, i proposed a change to the 7za command from -a to -u, the updating works.
Today, i notice something interesting.
When i had old files in place, i ran the batch file and the pk3 files were updated.
Then i moved these files somewhere, (so there be no more pk3 files) and ran the same batch file again. The re-created files were all ok, except for 1 file which had a difference in size.
The file is /base/0pics.pk3 has a different size (checksum too)
a) A clean built will result in a file size of 163 MB (171,323,324 bytes)
b) An update will result in a file size of 163 MB (171,336,978 bytes)
They are both on the same harddisk and partition, and on WinXp system. Was wondering if someone could explain or give me insight on this strange phenomenon?
The other 8 pk3 files compiled all has no such problems. Same file size, checksums.
PS: This is the command from the script that compiles 0pic.pk3, which i see no problem:
7za u -r -tzip 0pics.pk3 pics\*.jpg pics\*.tga pics\*.png textures\*.jpg textures\*.tga textures\*.png -x!".svn"