@all
Little script which will mount for you archive by double-click in Filler, and spawn new Filer instance with the data from archive. When you will press on the same archive one more time, it will auto-dismount and auto-mount again (with new Filer instance). If you will press on other archive, older will be dismount, and new one will be mount. Script:
Quote:
.KEY name
if assign exists xad0: noreq EQ XAD0
dismount xad0:
mountxad <name>
appdir:filer xad0:
else
mountxad <name>
appdir:filer xad0:
endif
You also will need to remove in DefIcons all previous action for your archive which you choice for tests , and add mask only like #?.lha. And then Filler will not spawn for you Unarc anymore, but will do that new action (WB still will do for you old action (spawning of UnArc, because of Def_lha.iconf in env: , so, it only will be changed for the programm which use Deficons).
Just put that scrtip to any place (c:) , then "protect script +es" , and in fillers prefs/filetypes add archive support . and for Launcher: "c:script {f}".
Now the only problem with that script : you cant mount 2 or more archives at the same time.
Right now press 2 times on Blender.lha in Filer, after 3 second (archive are 45mb) it spawn new filer instance, and i run blender from it by double click.
The minuses : you do not see progress bar of unpacking. For example when archive will be 500mb, i am not sure that it will spawns imediately ? Or it will ?
EDIT: pressing on SDK_53.20 (77mb) , spawn window immediately and you can browse all the file at that time. Unpacking of the same file by UnARC take about 8 seconds (sfs/1ghz)
EDIT2: Found first problem with script: For example you press 2 times on sdk_53.20.lha. It spawn for you a window where is sdk files are placed. Then, inside of SDK directory there is also archives. So, you press on any of them. And its automatically dismount for you SDK, and you mountxad can mount nothing from dismounted partition.
EDIT3: I know that XADMaster.library not support wring to, but still i try to delete some files from mounted archive, and have of course Delete Error message, with words "unknown req type of packet" :) Will be awesome if we can update xadmaster.library to make it works with writing. That will be absolutly cool.
Edited by kas1e on 2010/9/5 12:02:24
Edited by kas1e on 2010/9/5 12:06:35
Edited by kas1e on 2010/9/5 12:08:40
Edited by kas1e on 2010/9/5 12:14:47
Edited by kas1e on 2010/9/5 12:15:40