I don't mind batch files, I just stated that they are NOT EASY for the average Joe, which is the person WHO would use such a program.Manny wrote:Reading line by line pretty much the same as reading block per block.
I can't understand how you can't understand that you need to know all these things for both solutions. So your arguments can't be used i decesision between FancyCache and RamDrive.
And, no, launch bat file is not a problem for me, and managing ram drives looks like a problem. If you are afraid of bat files - it is your personal problem. Also i don't see any reason to spread such solutions, like giving it friends or posting on forums. So it is up to you. We are discussing technical side of the question.
If you want to show me something then give me a direct link, because i don't even know what doest it means SWTOR or LOTRO. And i'm not really intrested in games at all. But i'm intrested in caching and programming
If your not interesting in gaming how do you know how it works?
I mean, some games are pretty good at caching while others simply suck, how do you determine which would be the most optimal way to cache if you don't test it ourself or have others to parse you the results?
Anyway, lets look at some examples.
Here is a quote from a LOTRO thread:
And here something a bit more advanced for SWTOR: http://www.swtor.com/community/showpost.php?p=2892331I have 8GB as well. I use around 4GB for the ramdisk and leave the rest for windows and the main game exec. The files that you're interested in are .dat files, they contain the game data textures and stuff.
Flashboost uses a bit too big of a ramdisk for my taste, I use a High Res install, it puts in the whole High Res .dat file + 1 extra file and that pretty much fills up most of my ram, so windows has not much left. I get much better bang for my buck when I manually put some other .dat files on the ramdisk instead.
Download Imdisk, and install it
Open notepad
Put in:
imdisk -a -s 3500M -m X: -p "/fs:ntfs /q /y" (where X: is the drive to use and 3500M is the size in MB, use your own preferences instead)
Now for each file you want to add to the ramdisk use the following: (example with client_anim.dat)
copy "D:\Games\Lord of the Rings Online\client_anim.dat" X:
rename "D:\Games\Lord of the Rings Online\client_anim.dat" client_anim.old
mklink "D:\Games\Lord of the Rings Online\client_anim.dat" X:client_anim.dat
This copies the file to ramdisk, creates a dummy .dat file that links to the one on the ramdisk so windows knows where the real version is, and renames the .dat file to .old so it becomes inactive but doesn't get deleted.
End with:
"D:\Games\Lord of the Rings Online\TurbineLauncher.exe" -invoker (substitute with your own install directory)
This makes it run the game after it is done copying everything to ramdisk
Put all the other .dat files you want to add as well, and save the file with the extension .bat. This creates a batch file that you can simply run every time you want to set it up.
The files that I have on my ramdisk are:
client_anim.dat
client_cell_1.dat
client_cell_2.dat
client_gamelogic.dat
client_general.dat
client_map_1.dat
client_map_2.dat
client_local_English.dat
client_mesh.dat
This works like a charm for me, much faster load times and less fps drops in game
Expand the spoilers and look at the code there.
As I said, you have users with 2 to more than can ever use amount of ram, and because of the nature of how games work, you need a caching strategy that can take care of them individually while you also include the fact that users do not have the same amount of ram available.
I think FancyCache does a pretty good job itself already, but first and formost pinpointing specific texture packages yield higher performance gains, not because they are LFU / LRU, but because of the time it takes to read trough them to get the textures that the game engine needs to render images to your screen.
If I had time I would write an app myself, but I'm already bussy with an open source project in my sparetime.