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

You think of something which could be added to TA3D post here! /
Vous pensez à quelque chose que l'on pourrait ajouter à TA3D, postez ici!
Post Reply
Flashbang232
Posts: 155
Joined: Tue Aug 03, 2010 6:59 pm
Location: Behind LOIC

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

Post by Flashbang232 » Sat Apr 09, 2011 2:44 am

....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
When you cannot trust your government to lead the nation to better times is when you know the ship is sinking

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

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

Post by zuzuf » Sat Apr 09, 2011 11:55 am

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.
=>;-D Penguin Powered

Flashbang232
Posts: 155
Joined: Tue Aug 03, 2010 6:59 pm
Location: Behind LOIC

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

Post by Flashbang232 » Sat Apr 09, 2011 1:51 pm

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
When you cannot trust your government to lead the nation to better times is when you know the ship is sinking

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

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

Post by Balthazar » Fri Jul 15, 2011 8:54 am

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:

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests