Page 1 of 1

TA3d using a "external shell" to detect stuff....

Posted: Sat Apr 09, 2011 2:44 am
by Flashbang232
....such as application problems
compare it to windows installer.
http://msdn.microsoft.com/en-us/library/aa302344.aspx
this basically describes the goods that windows installer does.
it uses certain systems and operating "processes" it puts files through and checks up on them, kind of like a normal antivirus software does
except it checks to see whether the file is there, whether it is corrupt or not as well.

Ta3d could use this, maybe along with a repair process.
Ta3d uses the cache folder right?
Well maybe upon first run, create another cache-like folder where it copies the installation to there. all the files and crap.
makes a zip.
When a file is accidentally deleted (maybe permanently) or becomes corrupt somehow, ta3d can access this zip and pull out the file and move it to the correct place.
maybe it can have a log of where each file goes for this process.
thus a primitive "repair process"

So say all other options are shot down. ta3d still has the super backup plan, plan Z, last trick up its sleeve
As a backup repair process, ta3d can have like an internally "cached" backup of the ta3d folder, compressed to fit within a reasonable size limit. not adding on like half a gig of space or something along those lines.
it can thus copy over all the files required using the proposed "log" of directories as to which files are needed along with the internal copy of ta3d, and to
copy those files over to the proper place, and whalaa repair complete.

TA3d should check and repair files accordingly to their status. (is this file partially corrupted? something bad in the lines of code?)
thus could start the repair process, replacing the file with another file, brand new like it was just out of the installation package. ;)

there should be a setting of how much time should elapse before the cache folder should be deleted. (maybe after ~15 somewhat startups of ta3d.exe?)
there should be a setting
8 if you wana save space
10 if you wana save space/keep load performance
15 if you got space and want load performance
30 if you want load performance and dont give a flying rats sh*t about space =P

that would be cool, thanks

Re: TA3d using a "external shell" to detect stuff....

Posted: Sat Apr 09, 2011 11:55 am
by zuzuf
Wow, this is interesting. It could be useful for binaries and a few files but I think it would be better if handled directly by the (un)install/repair system. Also compressing the cache is a bad idea since it's already slightly compressed (compressed textures are cached, several files are compressed when cached too which makes it difficult to compress) so you can't expect saving much space without a big processing overhead (you need a very powerful compressor to compress already-compressed data). Also most of the archive files can be easily changed making TA3D easy to mod, the backup thing should not prevent modding.

Re: TA3d using a "external shell" to detect stuff....

Posted: Sat Apr 09, 2011 1:51 pm
by Flashbang232
very powerful compressor
Well of course zuzuf, this is why we have balthazar here =P

maaaan, this is 15% dissapointment.
but yay, glad it can be implemented ! :D

Re: TA3d using a "external shell" to detect stuff....

Posted: Fri Jul 15, 2011 8:54 am
by Balthazar
Flashbang232 wrote:
very powerful compressor
Well of course zuzuf, this is why we have balthazar here =P

maaaan, this is 15% dissapointment.
but yay, glad it can be implemented ! :D
Hehe, hehehe :lol: