Welcome, Guest. Please login or register.

Author Topic: How can I create an .info file?  (Read 12721 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline ^Dagon^Topic starter

  • Newbie
  • *
  • Join Date: Feb 2011
  • Posts: 3
    • Show only replies by ^Dagon^
How can I create an .info file?
« on: February 25, 2011, 05:38:05 PM »
I want to create an .info file for a file that doesn't have one but I don't know how. I tried to copy another .info file and rename it, but it changed the display of the file I was interested in.
 
Any ideas?
 

Offline kolla

Re: How can I create an .info file?
« Reply #1 on: February 25, 2011, 05:43:11 PM »
Which OS revision?
With OS3.5/3.9 and RAWBInfo you can use the menu and tell it to create a default icon.
With OS3.1 and older you typically use a 3rd party tool from aminet to do it, or you copy a .info file like you did.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline Matt_H

Re: How can I create an .info file?
« Reply #2 on: February 25, 2011, 05:46:29 PM »
Here's one of those aforementioned tools on Aminet: http://aminet.net/package/util/wb/AddIcon

DOpus has this functionality built-in, too.
 

Offline Cammy

Re: How can I create an .info file?
« Reply #3 on: February 25, 2011, 05:57:17 PM »
You can also drop the file into Icon Edit and select Save from the menu, this will create a new icon, and you can edit the way it looks too.
A1200 030@28Mhz/2MB+32MB/RTC/KS3.1/IDE-CF+4GB/4-Way Clockport Expander/IndivisionAGA/PCMCIA NIC
A1200 020@14Mhz/2MB+8MB/FPU/RTC/KS3.0/IDE-CF+2GB/S-Video
CD32 020@14Mhz/2MB+8MB/RTC/KS3.1/IDE-CF+4GB
A600 030@30Mhz/2MB+64MB/RTC/IDE-CF+4GB/Subway USB/S-Video/PCMCIA NIC/USB Numeric Keypad+Hub+Mouse+Control Pad
A500 000@7Mhz/512kB+512kB/ROM Switcher/KS3.1+1.3/S-Video

Get AmigaOS
 

Offline ElPolloDiabl

  • Hero Member
  • *****
  • Join Date: May 2009
  • Posts: 1702
    • Show only replies by ElPolloDiabl
Re: How can I create an .info file?
« Reply #4 on: February 25, 2011, 05:57:42 PM »
Just create a new project in icon editor, then name it as the file or drawer you want.
Go Go Gadget Signature!
 

Offline ribdevil1

  • Jr. Member
  • **
  • Join Date: Jan 2010
  • Posts: 85
    • Show only replies by ribdevil1
Re: How can I create an .info file?
« Reply #5 on: February 25, 2011, 06:38:57 PM »
The easy way is with Dopus, select the file and "Add Icon". this takes the default icon for your file.
 
You can change this icon later, by select with the right button, then in menu "icons/info", and drop over the image the icon you like. Don't forget to "Save"
 
Other way, is to open the drawer with your file, right button "window/show all", and then your file shows you the default icon for it. Select the file and with right button "Icons/Store", now your Icon is saved, and the .info created.
Viva AMIGA:roflmao:
Amiga 1200 -Blizzapd PPC + BVision + Mediator OS 3.9 + OS 4.0 Classic
SAM 440 Flex 800Mhz + 1Gb + Ati 9250 OS4.1u2
AmigaOne X5000 + 8Gb + Radeon R9 270
 
It\'s my new CHAMELEON 64 A C64 or an AMIGA ?
 

Offline ^Dagon^Topic starter

  • Newbie
  • *
  • Join Date: Feb 2011
  • Posts: 3
    • Show only replies by ^Dagon^
Re: How can I create an .info file?
« Reply #6 on: February 25, 2011, 08:42:41 PM »
Many of the above ways work and I would like to thank you for your help.
 
But if I want to keep the file's display image (it does have one, even though it lacks an .info file), is there a way to extract it from the file and use it in an .info file?
 

Offline lsmart

  • Sr. Member
  • ****
  • Join Date: Jun 2009
  • Posts: 433
    • Show only replies by lsmart
Re: How can I create an .info file?
« Reply #7 on: February 25, 2011, 09:17:35 PM »
Chances are if he doesn´t know how to copy an icon, he probably doesn´t know what to do with the file anyways.
 

Offline lsmart

  • Sr. Member
  • ****
  • Join Date: Jun 2009
  • Posts: 433
    • Show only replies by lsmart
Re: How can I create an .info file?
« Reply #8 on: February 25, 2011, 09:24:31 PM »
So, tell the whole story. What is this file, what .info file did you use. How did the display change. What did you do to display the file. Do you know what tooltypes are. Do you know how to do assigns and snapshot windows & icons? have you realized you can set the stack from a project icon? Are you running UAE on a FAT8 partition?
 

Offline Thomas

Re: How can I create an .info file?
« Reply #9 on: February 25, 2011, 09:53:16 PM »
Quote from: ^Dagon^;617985
Many of the above ways work and I would like to thank you for your help.
 
But if I want to keep the file's display image (it does have one, even though it lacks an .info file), is there a way to extract it from the file and use it in an .info file?


There is nothing to extract in the file. If there is no .info, a default icon is used. The default icon is hard coded into Workbench or, since OS 3.5, stored in envarc:sys.

All methods described above (except the "copy another .info") should give you the default icon.

Offline eb15

  • Jr. Member
  • **
  • Join Date: Feb 2010
  • Posts: 61
    • Show only replies by eb15
Re: How can I create an .info file?
« Reply #10 on: February 26, 2011, 03:22:02 AM »
For just about all versions of Workbench there are basically five types  of .info files (tool icons, project icons, drawer icons trash and disk  icons).  You want to use the right type for the file your adding an icon  to.  A drawer or disk icon won't work right for a project file, and a  project icon won't work right for a program.  IconEdit is the original  Amiga program for creating and editing icons.   The Workbench information menu item is the other way users access an  icon's details.

If you want an icon for a program you should copy/create a tool icon  to the same directory as the file and give it the filename with a .info  extension.  (filename needs filename.info for its icon  file) Edit the icon stack size and tooltypes to match the needs of the  program with workbench's menu item information...  There are odd programs which don't understand how to work  right when run from workbench because of the differences programs see  internally when running from workbench and not a shell command line.  An Icon's tooltypes are analogous to shell command line options for the program called.

If  the file is a data file, then you want to copy/create a project icon to  the same directory as the file and name it the same as the filename  with .info as the extension. Edit it so the "default tool" is set to  whatever program you want to open the file with the workbench menu item information...

If the "file" is really a directory you want to copy/create a drawer icon.

If the "file" is really a disk volume root directory you want to copy/create a disk icon.  

There's one other type of icon (AppIcon) that programs post Workbench  2.0 can create to exist on the workbench only while the program is  running so when a user drops other icons onto it, Workbench will notify  the program to use those files.
« Last Edit: February 26, 2011, 09:53:41 PM by eb15 »
 

Offline ^Dagon^Topic starter

  • Newbie
  • *
  • Join Date: Feb 2011
  • Posts: 3
    • Show only replies by ^Dagon^
Re: How can I create an .info file?
« Reply #11 on: February 27, 2011, 02:31:20 PM »
Ok, I found what I wanted just a few minutes after my second post. It was Cammy's advice what I was looking for. As I can understand from the other posts, the file was displayed with a default icon since it didn't have an accompanying .info file. All I wanted was to make an .info file with the default icon so as I could customize the place where the file appeared and make it permanent with a snapshot.
 
I am new to Amiga OS but I am learning fast.
 
Have a nice day!
 

Offline Tension

Re: How can I create an .info file?
« Reply #12 on: February 27, 2011, 06:54:38 PM »
Quote from: eb15;618039
For just about all versions of Workbench there are basically five types  of .info files (tool icons, project icons, drawer icons trash and disk  icons).  You want to use the right type for the file your adding an icon  to.  A drawer or disk icon won't work right for a project file, and a  project icon won't work right for a program.  IconEdit is the original  Amiga program for creating and editing icons.   The Workbench information menu item is the other way users access an  icon's details.

If you want an icon for a program you should copy/create a tool icon  to the same directory as the file and give it the filename with a .info  extension.  (filename needs filename.info for its icon  file) Edit the icon stack size and tooltypes to match the needs of the  program with workbench's menu item information...  There are odd programs which don't understand how to work  right when run from workbench because of the differences programs see  internally when running from workbench and not a shell command line.  An Icon's tooltypes are analogous to shell command line options for the program called.

If  the file is a data file, then you want to copy/create a project icon to  the same directory as the file and name it the same as the filename  with .info as the extension. Edit it so the "default tool" is set to  whatever program you want to open the file with the workbench menu item information...

If the "file" is really a directory you want to copy/create a drawer icon.

If the "file" is really a disk volume root directory you want to copy/create a disk icon.  

There's one other type of icon (AppIcon) that programs post Workbench  2.0 can create to exist on the workbench only while the program is  running so when a user drops other icons onto it, Workbench will notify  the program to use those files.



Don't forget about the bugs in IconEdit!!  Google it.