![]() |
Program Request: FILENAMECACHE manager
I think a fairly simple request that may benefit developers who work with the offline tools. A simple program, much like gif2mng: You drag files onto it and it moves them into the Graal directory(maybe in a subfolder for organization... Cached?), and adds them properly into FILENAMECACHE. This will eliminate the process of needing to constantly delete the cache when you add files to Graal's folder, then starting Graal and letting it scan. In fact, it's more of a band-aid fix, but I'd love to use it.
|
Doesn't sound hard at all, could probably even do it with a batch file or so. I hope someone does it.
|
Another addition, though possibly more complicated, would be when the program is run stand-alone(just by double-clicking it), it scans the folder and updates the cache much like Graal does... though this sounds vastly less important in the grand scheme of things.
|
Could be possible, but what's the number after the filename? Just wondering.
|
Here's a cheat version, that still tied to Graal.
Save it as updatecache.bat (or whatever you like..) and store it in your Graal folder. PHP Code:
|
1 Attachment(s)
Made a little batch file myself, it gets the installation path from the registry so it can be run from any directory. It also automatically closes the DOS window after starting graal.exe
Attachment 49971 (Had to zip it because of 'percent-percent' -.-) here's a version where you have to replace $ with percent HTML Code:
FOR /F "tokens=2* delims= " $$A IN ('REG QUERY "HKCU\Software\Graal\Setup" /v path') DO SET Path=$$B I did start on a file allowing droping files into it to append it into FILENAMECACHE.txt, but unsure about the number behind the filename, if it's needed, how to generate it etc? |
1 Attachment(s)
The number is the file's last modified time.
I.e: levels\images\zodiac\zodiac_warrior-armor-lv30.png,1156042719 JerretNPC: converttimetostring(1156042719) Returns - Sat Aug 19 21:58:39 2006 |
All times are GMT +2. The time now is 10:16 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.