Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   filenamecache (https://forums.graalonline.com/forums/showthread.php?t=74800)

Tigairius 06-23-2007 12:48 AM

filenamecache
 
I was wondering why filenamecache was implemented? Using filenamecache (if it is very large) can be extremely devastating on your framerate for some reason. I was running graal at half screen JUST so I could move until I disabled using filenamecache, now it runs nice and smoothly.

Admins 06-23-2007 01:16 AM

Using filenamecache is slowing you down?
Well it is a workaround around the damned slow NTFS which can take minutes to list just a few thousand files. But Graal needs to know where it can find the graphics, so it is remembering the filenames and modification time in FILENAMECACHE.txt and saves it a few second after the download of files has finished. The next time Graal is starting it already knows the location of the files and doesn't need to scan the whole folder. Accessing a file can still take some moments if the NTFS drive is huge and fragmented, can't do something about that though.

PrinceOfKenshin 06-23-2007 01:16 AM

how do you disable it?

Edit: i am having a huge problem where the graphics when i load up graal, they won't show and i deleted the filenamecache and now its taking forever for graal to load up

Tigairius 06-23-2007 01:26 AM

Quote:

Originally Posted by Stefan (Post 1321203)
Using filenamecache is slowing you down?
Well it is a workaround around the damned slow NTFS which can take minutes to list just a few thousand files. But Graal needs to know where it can find the graphics, so it is remembering the filenames and modification time in FILENAMECACHE.txt and saves it a few second after the download of files has finished. The next time Graal is starting it already knows the location of the files and doesn't need to scan the whole folder. Accessing a file can still take some moments if the NTFS drive is huge and fragmented, can't do something about that though.

Yes, Filenamecache is terrible on my computer, and makes my graal extremely slow. Disabling filenamecache seemed to do wonders on my framerate though, Graal (besides the lag on GK) is running as smooth as it used to, which is a great change since I have been having problems with low framerate on graal for a month or more.

A few friends of mine have also seen drastic changes in their framerate by disabling it.

Admins 06-23-2007 01:27 AM

Quote:

Originally Posted by PrinceOfKenshin (Post 1321204)
and now its taking forever for graal to load up

That's what I explained: When you delete FILENAMECACHE.txt or disable filename cache in the graal options then Graal takes much more time to startup the first time you start it.

Admins 06-23-2007 01:30 AM

Quote:

Originally Posted by Tigairius (Post 1321206)
Yes, Filenamecache is terrible on my computer, and makes my graal extremely slow. Disabling filenamecache seemed to do wonders on my framerate though, Graal (besides the lag on GK) is running as smooth as it used to, which is a great change since I have been having problems with low framerate on graal for a month or more.

A few friends of mine have also seen drastic changes in their framerate by disabling it.

How many files do you have on your hard drive? I thought it can be slightly slower when accessing new files, but normally it is not really noticable. Disabling the filename cache can actually speed up the game, but it must be enabled by default for new players because people would be too scared when the programs takes minutes to start.

Tigairius 06-23-2007 01:36 AM

According to my cache list, I have 28783 files in my Graal folder that are accessed by FILENAMECACHE.txt


All times are GMT +2. The time now is 03:16 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.