Page 1 of 1
Adf files icon default tool
Posted: Sun Mar 17, 2013 7:36 pm
by electric-magic
Sorry if this has been asked before.
All my adf game files and applications have now got a icon default tool of "MountDiskimage".
I can change each one to "runinUAE" but this will take forever.
Any way to change all the adf default tool settings?
Thank you.
Re: Adf files icon default tool
Posted: Sun Mar 17, 2013 10:30 pm
by nbache
electric-magic wrote:Any way to change all the adf default tool settings?
There are two ways I can think of to solve this.
One is to delete all the icons (the .info files) from your ADF files and set up a default icon (using deficons prefs) with RunInUAE as default tool.
The other is to whip up a small script which finds all the icons and calls a tool to set the default tool on each of them.
(I was going to point you towards SSolie's
ChangeToolType, but it doesn't seem, judging by the readme, to support changing the default tool. Enhancement wish, maybe?)
Best regards,
Niels
Re: Adf files icon default tool
Posted: Tue Mar 19, 2013 6:35 pm
by electric-magic
Thanks Niels,
Tried the first option but did not work.
Also noticed that when I inserted an sd card with some games on the tooltype was the same for them"" MountDiskimage""
Do you think maybe I have done something with the Diskimage settings?
JC
Re: Adf files icon default tool
Posted: Tue Mar 19, 2013 11:15 pm
by nbache
electric-magic wrote:Tried the first option but did not work.
Did you create a default icon, named def_adf.info and stored in ENVARC:SYS/ and containing the default tool pointing to RunInUAE (with its full path or AppDir: path)?
Also noticed that when I inserted an sd card with some games on the tooltype was the same for them"" MountDiskimage""
Maybe there is an icon on the card containing that default tool? A real icon will always override a deficon.
Best regards,
Niels
Re: Adf files icon default tool
Posted: Wed Mar 20, 2013 9:35 am
by Petrol
Maybe this
link could help you!
Regards,
Petrol.
Re: Adf files icon default tool
Posted: Wed Mar 20, 2013 5:20 pm
by electric-magic
I have changed the Envarc:sys/def_hdf.info default tool to the runinuae path and all the games and apps start OK.
Would that be it?
JC