Page 1 of 1

? Cache Maker [File to ID] (offline tool)

Posted: Mon Mar 12, 2012 4:55 pm
by ued4sct
ID = B868673D4ED0ED62DAA88B9B8E7AC9BF //Unique ID of File
File = NoInvisibility.u

for cache extract (indeed rename and move to proper folder) exist tools like:

UT3CacheExtractor3.0.2
UT Cache Organizer v1.3
UT.Cacher.v1.5.english
UTCacheCleaner3
UTCacheConvert1
UTCachedFileManager
UTCacheExtractor210
UTCM165

but how put (indeed rename) to cache? how get cypher of file?

inside cache.ini file

Code: Select all

[Cache]
B868673D4ED0ED62DAA88B9B8E7AC9BF=NoInvisibility.u
first i think is somethin hash-like and try, how u see no...
i need offline tool for make that cyper for file (better batch)

very usefull keep same filename but different size file in cache dont need rename everytime (usefull for watch old demos)

files with same name but differernt size
NoInvisibility.u 1,17 KB (1 203 bytes)
NoInvisibility.u 1,21 KB (1 240 bytes)
NoInvisibility.u 1,27 KB (1 304 bytes)

NoUDamage.u 1,04 KB (1 066 bytes)
NoUDamage.u 1,14 KB (1 168 bytes)
NoUDamage.u 1,24 KB (1 273 bytes)

De.u 70,4 KB (72 169 bytes)
De.u 70,7 KB (72 405 bytes)

i want keep above files in cache.

how put file to cache (get cypher\id)? - wrong subject nam

Re: how put file to cache (get cypher\id)?

Posted: Mon Mar 12, 2012 9:38 pm
by Dr.Flay
So you want to reverse the process, or do whatever the downloader part of UT is doing, to create you own cache files.

Re: how put file to cache (get cypher\id)?

Posted: Mon Mar 12, 2012 10:19 pm
by papercoffee
I don't get it ...is this supposed to be some scripting?
And what exactly do I read here?

Re: how put file to cache (get cypher\id)?

Posted: Mon Mar 12, 2012 10:26 pm
by iloveut99
Have you tried look at the uscipt library? Probably it's there the code to generate the cache and its hash.

Re: how put file to cache (get cypher\id)?

Posted: Tue Mar 13, 2012 12:18 am
by Dr.Flay
A good question is, does it "Hash" or does it just make random names ? I never made any comparisons with a file DL'ed multiple times.

Re: how put file to cache (get cypher\id)?

Posted: Tue Mar 13, 2012 12:48 am
by JackGriffin
What the OP needs to do is uncache as he is normally doing but don't delete his cache after doing this. That way if he encounters a mismatch he can then delete the uncached file and the one still resident in the cache that was unmatching will kick in and work.

Example: I have three versions of IloveRapMusic.umx in my cache. When I uncache them the newest version is all that will uncache, overwriting the other two. If I save the three cache files and my later map has a version mismatch with ILoveRapMusic.umx I can then just delete it from my music directory and let it find the older version still in the cache.

Got it?

Re: how put file to cache (get cypher\id)?

Posted: Tue Mar 13, 2012 7:05 am
by ued4sct
Dr.Flay wrote:So you want to reverse the process...
reverse
Dr.Flay wrote:A good question is, does it "Hash" or does it just make random names ? I never made any comparisons with a file DL'ed multiple times.
not random! code is unique for each file.
JackGriffin wrote:What the OP needs to do is uncache as he is normally doing but don't delete his cache after doing this. That way if he encounters a mismatch he can then delete the uncached file and the one still resident in the cache that was unmatching will kick in and work.
bingo!

Re: how put file to cache (get cypher\id)?

Posted: Tue Mar 13, 2012 12:09 pm
by Feralidragon
ued4sct wrote:
Dr.Flay wrote:A good question is, does it "Hash" or does it just make random names ? I never made any comparisons with a file DL'ed multiple times.
not random! code is unique for each file.
Personally I never looked into how the cache files are named and all, but I just want to clear out that you can have "random" and "unique" at the same time, it's easy and it's actual practice in many systems relative caching (PHP for instance gives a totally random temporary name for uploaded files, yet it guarantees it's unique, although the probability of conflicts is very very low anyway, as the more characters you have, the lesser the probability of conflicts, just like in hash algorithms).

Re: how put file to cache (get cypher\id)?

Posted: Wed Mar 14, 2012 12:45 pm
by anth
I reversed that cipher generation system at one point. It should be in my notes somewhere but I have no idea where those ended up... All I can say for sure is that the cipher is not a hash. It is not based on file content. It was at least partially based on file size and the generation count might have had something to do with it as well.

Re: how put file to cache (get cypher\id)?

Posted: Mon May 07, 2012 5:29 am
by ued4sct
so.. 12 year of UT and not exist offline tool for making ID for file? still need