Welcome, Guest. Please login or register.

Author Topic: Burn AmigaCDs under other OS is OK, but w/ about the icons ?  (Read 3109 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline xaccrocheurTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2002
  • Posts: 430
    • Show only replies by xaccrocheur
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
 

Offline LP

  • Sr. Member
  • ****
  • Join Date: Jan 2003
  • Posts: 358
    • Show only replies by LP
    • http://bailout.dk
Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
« Reply #1 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
 

Offline xaccrocheurTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2002
  • Posts: 430
    • Show only replies by xaccrocheur
Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
« Reply #2 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
 

Offline Zadoc

  • Sr. Member
  • ****
  • Join Date: Feb 2002
  • Posts: 298
    • Show only replies by Zadoc
    • http://www.zadocnightmare.com
Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
« Reply #3 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.
Welcome to my Nightmare
Zadoc...and the Nightmare
 

Offline vortexau

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1341
    • Show only replies by vortexau
    • http://home.swiftdsl.com.au/~vortexau
Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
« Reply #4 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!

-vortexau; who\\\'s still waiting! (-for AmigaOS4! ;-) )
savage Ami bridge parody
 

Offline xaccrocheurTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2002
  • Posts: 430
    • Show only replies by xaccrocheur
Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
« Reply #5 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
 

Offline LP

  • Sr. Member
  • ****
  • Join Date: Jan 2003
  • Posts: 358
    • Show only replies by LP
    • http://bailout.dk
Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
« Reply #6 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
It might be of interest...
 

Offline elendil

  • Sr. Member
  • ****
  • Join Date: Nov 2002
  • Posts: 324
    • Show only replies by elendil
    • http://www.idiot.fnuck.dk
Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
« Reply #7 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.
 

Offline Jost80

  • Newbie
  • *
  • Join Date: Jul 2002
  • Posts: 32
    • Show only replies by Jost80
Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
« Reply #8 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.
 

Offline xaccrocheurTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2002
  • Posts: 430
    • Show only replies by xaccrocheur
Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
« Reply #9 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
 

Offline Georg

  • Jr. Member
  • **
  • Join Date: Feb 2002
  • Posts: 90
    • Show only replies by Georg
Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
« Reply #10 on: June 15, 2003, 11:19:49 AM »
For AROS  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)



 

Offline elendil

  • Sr. Member
  • ****
  • Join Date: Nov 2002
  • Posts: 324
    • Show only replies by elendil
    • http://www.idiot.fnuck.dk
Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
« Reply #11 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.
 

Offline LP

  • Sr. Member
  • ****
  • Join Date: Jan 2003
  • Posts: 358
    • Show only replies by LP
    • http://bailout.dk
Re: Burn AmigaCDs under other OS is OK, but w/ about the icons ?
« Reply #12 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)