Amiga.org

Amiga computer related discussion => Amiga Hardware Issues and discussion => Topic started by: xaccrocheur on June 14, 2003, 01:33:51 PM

Title: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
Post by: xaccrocheur on June 14, 2003, 01:33:51 PM
To avoid being forced to "show all files", from the WB I *have* to generate de .icon files for all my (many) dirs on the CD I'm doing.

I'm ready to code some quick script to do this, as I just did one in Perl to strip the spaces in filenames, and another in BASH to create dir named after the archive minus the filename, extract it (lha, zip, lzh & arj) test it and delete the archive.

I'm working on a HTML index generator too, for that matter.

Now what I must know is what exactly is an icon file. Any info about that ? I can only find outdated (ie 404 dead) pages when goggleing for Amiga tech infos...  :-(

When I open the faile in a plain text editor, it's obvious that this is abinary file... Damn, this is not gonna be easy, but I'm willing to try, so please point me to ANY possible source of info where I could dig this sort of file format description.

any app that would already do that, even if runs only under windows (ptoui) would do, too !

thanks !

pX
Title: Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
Post by: LP on June 14, 2003, 01:52:39 PM
Ehm...

DOpus 5.x has a function that adds an icon to a file or dir via the default icons in ENVARC:
It's called "AddIcon"

And as far as I remember there is a tool supplied with NewIcons that copies eg. A icon of your choice to all dirs... But this only the NewIcon picture informations which is copied... So If you don't use NewIcons this is irrelivent <-- This is not the spelling of that word, is it? :-)

-LP
Title: Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
Post by: xaccrocheur on June 14, 2003, 02:10:55 PM
Ehm...  8-)

I know that, LP, even the WB itself, if you [color=CC0000]select some files, hit ->A+I, and then repetedly "Save"[/color], you'll have your icons, it adds one to any dir.

BTW, When you read what appears to you a REALLY silly question, it's often best to read it again carefully :-P (don't gemme wrong, answerering IS cool 1st thing)

[color=990000]Now[/color][/i] what I want to do it to generate the said icons under [color=990000]another[/color][/i] OS, namely Linux MDK ! (any would do but Amiga 4 that matter)

And furthermore, I'd like a big bunch of info about what those icon files really are. (and many other aspects of this quite closed-source and info system  :-P  :rtfm:  :roll:

Does this system stays in AOS4 ? It's just a question. I'm sure it could be improved.

pX
Title: Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
Post by: Zadoc on June 14, 2003, 02:38:45 PM
I'm not sure if you can 'create icons' with it, but DOpus6 for Windows has some sort of support for Amiga Icon handling...

As for your results you're Google searching, have you tried to read the Cached page?

Each search result has "Cached" and "Similar Pages" links beneath them.
Title: Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
Post by: vortexau on June 14, 2003, 03:14:24 PM
One (Amiga) company that creates their CDs under a non-Amiga system is Grasshopper LLC - the publisher of PageStream!
I had to change the CDFS, on my A2000, for their Icons and File Names to be rendered correctly. . . . . otherwise their Icons appeared as a truncated name ending in '.inf'

I'd come across this very thing with the FIRST CD-ROMs I ever bought! These were a couple of Multimedia CDs from
KNOWLEDGE MEDIA,
CA 95969 USA.

Their CD contained Graphic, Sound, Fonts, and Text files; along with various Applications for Amiga, Macintosh, MS DOS, Windows, and UNIX.

The Amiga application; a demo-version of VIVA (early Multimedia authoring tool), had all the part names rendered in MS DOS-type 8.3 character format; including the icons!

To reveal the disc contents on the Workbench; 'Show All files' was required. It had  Amiga, DOS, Extras, Mac, and Media directories. Inside the Amiga directory was:
 Amiga.dir
 Amiga.tre
 Amiga.txt
&
 a Drawer named- "Viva".

Inside that, the files included "Vivaiicd.inf" & "Vivai_dm.inf" and "Rename.bat"!

This last was a TEXT file that went:
 Rename  DEMO             AS  Demo
 Rename  VIVAI_DM.INF     AS  VIVAII_DEMO.info
 Rename  VIVAI_DM         AS  VIVAII_DEMO
 Rename  VIVA.DFS         AS  viva.defs
 Rename  VIVAIICD.INF      AS  VIVAIICD.info
 ;    File  VIVAIICD          Not Renamed

After copying the Viva directory to my A2000, I simply 'PASTED' that file into a Shell, and pressed RETURN to correctly name the Files and turn those '________.INF' Files into Amiga Icons!

Title: Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
Post by: xaccrocheur on June 14, 2003, 03:24:36 PM
@  Zadoc
I knew about those neat "cached" links (thanks, I may not have), I'm talking about *Live* Amiga links pages that lead to 404s ! MORE and MORE of them !

@vortexau
OK, vortexau, thanks 4 the insight, I guess the short answer is the expecte : NO.

Oh well, I was relifed already to see that my Data-CDs, created with that new shell-integrated KDE-app "K3B" are readable on my 4000 SCSI CD drive, without any other hassle than the "show all files", so that's really a minor annoyance.

BTW, what does ISO Level mean ? I can choose BTween 1, 2 and 3, the latest being the default, but what does it really do ?

Thanks
Title: Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
Post by: LP on June 14, 2003, 03:29:34 PM
@xaccrocheur

hehe... My eyes are tired from last night... Pretty hammered when I answered...

So.. I'll try again then :)

Have a look at this link here (http://www.cs.arizona.edu/icon/ftp/packages/amiga/)
It might be of interest...
Title: Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
Post by: elendil on June 14, 2003, 07:34:14 PM
Call this a bad solution if you want, but I reckon the very easiest thing to do is grab a drawer icon of your choice (and perhaps an application icon too) from your amiga and write a script that copies yourfavoritedrawericon.info to drawername.info. I know that's what I would do :-)

And I believe it is 'irrelevant'.

Sincerely,

-Kenneth Straarup.
Title: Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
Post by: Jost80 on June 14, 2003, 10:07:20 PM
There is a windowmanager for X11 called amiwm (http://www.lysator.liu.se/~marcus/amiwm.html) that uses icons from AmigaOS. You can probably look through the source and get some info there. I havent checked it myself so I dont know how well documented it is. Im not sure about the license either so be sure to check that if you want use parts of it.
Title: Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
Post by: xaccrocheur on June 15, 2003, 10:57:17 AM
It's not irrelevant ! Next tim I'll try this. I wanted to know what tied an icon to a file

Thank you

pX
Title: Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
Post by: Georg on June 15, 2003, 11:19:49 AM
For AROS (http://www.aros.org)  we have a little tool called "ilbmtoicon".
It runs under Linux. Actually it's plain ANSI code
so should be compilable with no or only minor changes
for most OSes.

It takes one or two ILBM images (our src icon images
are actually PNGs so we do "pngtopnm | ppmtoilbm
-maxdepth 8" first) and a .info.src text file as input
and generates an AmigaOS 3.5 style (palette mapped)
icon out of it. It automatically genereates also old-style
image data (non palette mapped) by remapping the
images to the standard 4 wb colors (grey/white/black/blue).

The ".info.src" text file contains informations such as

  TYPE=PROJECT
  DEFAULTTOOL=blabla
  ICONLEFTPOS=10
  TRANSPARENT=0
  TOOLTYPE="Something"
  TOOLTYPE="Another thing"

If you want it send me a mail (georg.steger@rolmail.net)
and I will send you the source (if you don't want to
download whole aros source)



Title: Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
Post by: elendil on June 15, 2003, 11:21:41 AM
Heh, sorry. I meant the spelling for irrelevant was that...it was a short reply to LP :)

Sincerely,

-Kenneth Straarup.
Title: Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
Post by: LP on June 16, 2003, 02:00:00 AM
Cheers Kenneth!

I'll never spell that word wrong again :-)

irrelevant

-Woohoo! (Said with a think Homer Simpson accent)