Author Topic: Can you unpack the cache.db?  (Read 1918 times)

Can't get this program to work damnit, python is loving up :(

Bump.

Sorry, it's appears that you can only unpack files that are in your add-ons folder. The rest do not have names stored for them therefore there is no way to detect what the file's format is (PNG, BLB, DTS, etc). You could detect the type by reading the data for the file and going from there but you still wouldn't have any idea what the name of the file is. Therefore you would have to go through 1000s (depending on your cache.db size) of files named like "551a68a20aca41bc0dd97768d389b ad249029983" so in the end you still wouldn't have a clue which one is the file you're looking for.

Bump.

Sorry, it's appears that you can only unpack files that are in your add-ons folder. The rest do not have names stored for them therefore there is no way to detect what the file's format is (PNG, BLB, DTS, etc). You could detect the type by reading the data for the file and going from there but you still wouldn't have any idea what the name of the file is. Therefore you would have to go through 1000s (depending on your cache.db size) of files named like "551a68a20aca41bc0dd97768d389b ad249029983" so in the end you still wouldn't have a clue which one is the file you're looking for.

You have to do a table join on blobs.hash = names.hash

You have to do a table join on blobs.hash = names.hash
Yeah I know, I had a script working for it that unpacked it but then it only unpacked my add-ons and I realised that the blob entries from other servers didn't have a name entry.

Should I contact Badspot himself and turn his attention toward this topic?

No, you should probably just leave the file alone.

Should I contact Badspot himself and turn his attention toward this topic?
Did you read what I said? You can unpack the files, yes. But you can not grab the name of the file from the hash in the database. Even Badspot can't.

Did you read what I said? You can unpack the files, yes. But you can not grab the name of the file from the hash in the database. Even Badspot can't.
Can you upload your program now? I had a lot of add-on folders before the new download system came out.