EDuke32 Changelog Archivio non ufficiale

Build 2704

28 maggio 2012 · 3 commit di 1 autore · SVN

Build per mese 276 build

  1. gen

  2. feb

  3. mar

  4. apr

  5. mag

  6. giu

  7. lug

  8. ago

  9. set

  10. ott

  11. nov

  12. dic

File di log originale · 20120528-2704.txt
------------------------------------------------------------------------
r2704 | helixhorned | 2012-05-28 11:15:26 -0700 (Mon, 28 May 2012) | 8 lines

On Windows, check file name case with 'sound' and 'music' CON commands.

This is done by kopen4loadfrommod'ing and immediately closing the file
(since the checker is still run from there when not ingame).
On my system, times were like 0.12 ms, 0.2 ms and 0.5 ms for each
openfrompath/findfrompath, openfrompath/Bopen and SHGetFileInfo
respectively, so it shouldn't have a too noticable impact on initial
loading times.
------------------------------------------------------------------------
r2703 | helixhorned | 2012-05-28 11:15:22 -0700 (Mon, 28 May 2012) | 7 lines

In kopen4loadfrommod, don't try g_modDir if it's the default "/".

I experienced the following on Windows XP: a few openfrompath() -->
findfrompath() calls were taking enormously long (4.5 secs) to complete, having
been passed a file name like "//bla/qwe.asd".  My guess is that Windows then
tried to interpret these as a network FS path in access(), and the 4.5 secs
represents a timeout value.
------------------------------------------------------------------------
r2702 | helixhorned | 2012-05-28 11:15:19 -0700 (Mon, 28 May 2012) | 7 lines

Only check file name case when not in-game; don't warn for ALLUPPER or alllower.

The first means that the expensive (~0.5 ms) SHGetFileInfo() calls won't inter-
fere with smooth gameplay, but files that are opened only at game-time like
sounds won't be checked.  The second means that there are now less false
positives, i.e. warnings about files that would be found due to the
check-all-{upper,lower} hack.
------------------------------------------------------------------------
CON

On Windows, check file name case with 'sound' and 'music' CON commands.

Philipp Kutin (Helixhorned) 28 mag 2012, 11:15 UTC−7 r2704

This is done by kopen4loadfrommod'ing and immediately closing the file (since the checker is still run from there when not ingame). On my system, times were like 0.12 ms, 0.2 ms and 0.5 ms for each openfrompath/findfrompath, openfrompath/Bopen and SHGetFileInfo respectively, so it shouldn't have a too noticable impact on initial loading times.

In kopen4loadfrommod, don't try g_modDir if it's the default "/".

Philipp Kutin (Helixhorned) 28 mag 2012, 11:15 UTC−7 r2703

I experienced the following on Windows XP: a few openfrompath() --> findfrompath() calls were taking enormously long (4.5 secs) to complete, having been passed a file name like "//bla/qwe.asd". My guess is that Windows then tried to interpret these as a network FS path in access(), and the 4.5 secs represents a timeout value.

Only check file name case when not in-game; don't warn for ALLUPPER or alllower.

Philipp Kutin (Helixhorned) 28 mag 2012, 11:15 UTC−7 r2702

The first means that the expensive (~0.5 ms) SHGetFileInfo() calls won't inter- fere with smooth gameplay, but files that are opened only at game-time like sounds won't be checked. The second means that there are now less false positives, i.e. warnings about files that would be found due to the check-all-{upper,lower} hack.