English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 18 January 2016, 00:34   #1501
James
Registered User
 
Join Date: Mar 2010
Location: Beckenham/England
Posts: 796
Disk.info is coded into CrossDOSFileSystem. To use a different icon you should use a hex editor to find and rename disk.info to dusk.info (Be sure to keep a backup copy).
I have CrossDOSFileSystem 42.5 (CrossDOS 7.04).

Last edited by James; 18 January 2016 at 00:41. Reason: More info.
James is offline  
Old 18 January 2016, 00:42   #1502
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
Sorry James, but that sounds like a very strange suggestion !!
PeterK is offline  
Old 18 January 2016, 00:50   #1503
James
Registered User
 
Join Date: Mar 2010
Location: Beckenham/England
Posts: 796
It might sound strange, but it works.
I have been using a hex edited version of CrossDOSFilesystem for many years.
Displaying def_disk.info is definitely the correct behaviour for an unmodified CrossDOSFileSystem.
James is offline  
Old 18 January 2016, 00:58   #1504
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
Indeed, you are a hero James, it really works after renaming disk.info into dead.info
A ghosted def_PC0.info icon is displayed now with my icon.library. Thanks a lot, James

Btw, if you rename the def_disk.info string instead then a "CrossDos TM" icon appears !

Last edited by PeterK; 18 January 2016 at 01:08.
PeterK is offline  
Old 18 January 2016, 01:26   #1505
James
Registered User
 
Join Date: Mar 2010
Location: Beckenham/England
Posts: 796
Quote:
Originally Posted by PeterK View Post
Btw, if you rename the def_disk.info string instead then a "CrossDos TM" icon appears !
I remember that icon from long ago.
James is offline  
Old 18 January 2016, 11:19   #1506
TenLeftFingers
Registered User
 
TenLeftFingers's Avatar
 
Join Date: Sep 2013
Location: Ireland
Posts: 800
PeterK, what destination for CopyIcon drawer and it's contents?

Also, on reboot I get "LoadResident failed returncode 20".
Edit: I've gotten around that. The FailAT command wasn't working (obviously). But now I get errors on boot asking me to insert volumes ENV an ENVARC. The icons look good though! Also, my screen resolution and keyboard settings are gone. Did some of the files I transferred from the floppy overwrite my settings?

Code:
System:Programs/ACATune_V191/acatune >NIL:
; Added by ADAPCMCFL-Installer
FailAT 11
C:CardPatch
run >NIL: C:CardReset TICKS 50
;;;Using 3x; to indicate PeterK icon lines

; $VER: startup-sequence 39.9 (9.8.92)

C:SetPatch QUIET
C:Version >NIL:
C:AddBuffers >NIL: DF0: 95

;;;AddBuffers >NIL: DF0: 95 (originally 15)
Version >NIL: icon.library 46 REVISION 4
If WARN
   LoadResident >NIL: LIBS:icon.library REBOOT
EndIf
SetPatch QUIET
MakeDir RAM:T RAM:Clipboards RAM:ENV RAM:ENV/Sys
;;;

FailAt 21

C:MakeDir RAM:T RAM:Clipboards RAM:ENV RAM:ENV/Sys
C:Copy >NIL: ENVARC: RAM:ENV ALL NOREQ
;;;part 2
Copy >NIL: ENVART:sys/dev_RAM.info RAM:disk.info
FBLit ;must be 3.79+ to work correctly
NiRTGset   ENV:NewIcons.prefs   ;RTG mode for FBlit
IPrefs     ; v39 or 40
Run    >NIL: NewIcons    ;or in User-Startup
FPPrefs    ;for MWB colours
;;;/end part2

Resident >NIL: C:Assign PURE
Resident >NIL: C:Execute PURE

Assign >NIL: ENV: RAM:ENV
Assign >NIL: T: RAM:T
Assign >NIL: CLIPS: RAM:Clipboards
Assign >NIL: REXX: S:
Assign >NIL: PRINTERS: DEVS:Printers
Assign >NIL: KEYMAPS: DEVS:Keymaps
Assign >NIL: LOCALE: SYS:Locale
Assign >NIL: LIBS: SYS:Classes ADD
Assign >NIL: HELP: LOCALE:Help DEFER
assign excellence!: Space:excellence!
assign doctools: Space:doctools
Assign Turboprint: System:Programs/TurboPrint

IF NOT EXISTS SYS:Fonts
  Assign FONTS:
EndIF

BindDrivers
C:Mount >NIL: DEVS:DOSDrivers/~(#?.info)

IF EXISTS DEVS:Monitors
  IF EXISTS DEVS:Monitors/VGAOnly
    DEVS:Monitors/VGAOnly
  EndIF

  C:List >NIL: DEVS:Monitors/~(#?.info|VGAOnly) TO T:M LFORMAT "DEVS:Monitors/%s"
  Execute T:M
  C:Delete >NIL: T:M
EndIF

SetEnv Workbench $Workbench
SetEnv Kickstart $Kickstart
UnSet Workbench
UnSet Kickstart

C:IPrefs
;System:Programs/FullPalette/FPPrefs

C:ConClip

Path >NIL: RAM: C: SYS:Utilities SYS:Rexxc SYS:System S: SYS:Prefs SYS:WBStartup SYS:Tools SYS:Tools/Commodities

IF EXISTS S:User-Startup
;  Execute S:User-Startup
EndIF

Resident Execute REMOVE
Resident Assign REMOVE

C:LoadWB
EndCLI >NIL:

Last edited by TenLeftFingers; 18 January 2016 at 16:06.
TenLeftFingers is offline  
Old 18 January 2016, 18:35   #1507
TjLaZer
Registered User
 
TjLaZer's Avatar
 
Join Date: Sep 2004
Location: Tacoma, WA USA
Age: 52
Posts: 1,918
HexEdited my CrossDOSFileSystem to dead.info and it now works! Thanks!

Question. What is the purpose of ghosted icons? Seems non usable as the ghosting makes the icons very hard to see. Would be nice if you had that feature off by default and a command to turn it on.
TjLaZer is offline  
Old 18 January 2016, 19:47   #1508
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 840
TjLaZer - It works the other way round, higher spec machines prefer ghosted icons
Michael is offline  
Old 18 January 2016, 20:18   #1509
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 840
Continuing the CrossDOS story...
I have a problem too, but it's different!

When we mount PC0: on the WB screen we get 2 icons, one for DFO:unknown and one for PC-DOS.

Well, the DF0: icon is at question! It's a borderless 3.5 Gi (displayed ghosted), but it gets a grey back fill around it, if clicked the backfill disappears (so only the first image is effected/broken) The same icon under DO5 works fine.

Any ideas ?
Michael is offline  
Old 18 January 2016, 21:50   #1510
TjLaZer
Registered User
 
TjLaZer's Avatar
 
Join Date: Sep 2004
Location: Tacoma, WA USA
Age: 52
Posts: 1,918
that is normal, I get that with vanilla OS 3.9

The reason is simple, the Amiga thinks you inserted a unformatted disk (doesn't know it also read it as a FAT12 in PC0: )
TjLaZer is offline  
Old 18 January 2016, 21:55   #1511
TjLaZer
Registered User
 
TjLaZer's Avatar
 
Join Date: Sep 2004
Location: Tacoma, WA USA
Age: 52
Posts: 1,918
Quote:
Originally Posted by Michael View Post
TjLaZer - It works the other way round, higher spec machines prefer ghosted icons
What do you mean higher specced? I have a 66Mhz 68060 A1200. You mean RTG?
TjLaZer is offline  
Old 19 January 2016, 04:37   #1512
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 840
I mean the backfill (this should not happen), and yes, higher res, and more colour screens.
This is also default behaviour of newer WB lib versions.
Michael is offline  
Old 20 January 2016, 22:24   #1513
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
@TenLeftFingers, really ten left fingers ?!?
Quote:
what destination for CopyIcon drawer and it's contents?
Whereever you like: put it into tools, system or utilities, for example.

Quote:
But now I get errors on boot asking me to insert volumes ENV an ENVARC. The icons look good though! Also, my screen resolution and keyboard settings are gone. Did some of the files I transferred from the floppy overwrite my settings?
Part 2 was inserted at the wrong position. ENV: was not assigned yet and ENVARC: was spelled with a "T" at the end.

Simply set your keymap and your screemode again under Prefs/Input and Prefs/Screemode and save them.

A modified startup-sequence is attached (remove the ".txt" extension):
Attached Files
File Type: txt startup-sequence.txt (2.0 KB, 109 views)

Last edited by PeterK; 20 January 2016 at 22:49.
PeterK is offline  
Old 20 January 2016, 22:36   #1514
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
Quote:
Originally Posted by TjLaZer View Post
HexEdited my CrossDOSFileSystem to dead.info and it now works! Thanks!

Question. What is the purpose of ghosted icons? Seems non usable as the ghosting makes the icons very hard to see. Would be nice if you had that feature off by default and a command to turn it on.
How nice that the CrossDos problem could be solved, finally.

DefIcons are ghosted because the corresponding real icons don't exist. If nothing is there physically you can hardly see anything. Use "IconGhostingOff" to get rid of this feature.
PeterK is offline  
Old 20 January 2016, 23:04   #1515
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
Quote:
Originally Posted by Michael View Post
When we mount PC0: on the WB screen we get 2 icons, one for DFO:unknown and one for PC-DOS.

Well, the DF0: icon is at question! It's a borderless 3.5 Gi (displayed ghosted), but it gets a grey back fill around it, if clicked the backfill disappears (so only the first image is effected/broken) The same icon under DO5 works fine.

Any ideas ?
No, under OS 3.9 I get the correct images.
More OS information and a screenshot, plz.
Attached Thumbnails
Click image for larger version

Name:	PC0.png
Views:	218
Size:	17.9 KB
ID:	47067  
PeterK is offline  
Old 21 January 2016, 22:59   #1516
TenLeftFingers
Registered User
 
TenLeftFingers's Avatar
 
Join Date: Sep 2013
Location: Ireland
Posts: 800
Quote:
Originally Posted by PeterK View Post
@TenLeftFingers, really ten left fingers ?!?

Whereever you like: put it into tools, system or utilities, for example.
Yes, really :/. Actually, without it the game icons still showed up so no need for that one in my case. I thought they were a dependency which is why I was asking but it seems not.
Quote:
Part 2 was inserted at the wrong position. ENV: was not assigned yet and ENVARC: was spelled with a "T" at the end.

Simply set your keymap and your screemode again under Prefs/Input and Prefs/Screemode and save them.

A modified startup-sequence is attached (remove the ".txt" extension):
Thanks for the correction. I was also getting errors on boot saying it couldn't write to prefs before my Indi just stopped working so I've reverted to an old backup. What's the minimum I can copy from the adf to get the game icons to show - surely not everything in those locations you mentioned need to be overwritten?

Anyway, I'l try again with the silent overwrite option disabled in Filer and see how it goes.
TenLeftFingers is offline  
Old 21 January 2016, 23:18   #1517
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
I'm sorry to say, but it seems you really don't know much about how the AmigaOS is working. Unfortunately, I'm not a good teacher ...

As a minimum (but not as a perfect solution at all) just try to put the following lines to the beginning of your original startup-sequence:

Code:
Version >NIL: icon.library 46 REVISION 4
If WARN
   LoadResident >NIL: LIBS:icon.library REBOOT
EndIf
PeterK is offline  
Old 22 January 2016, 18:11   #1518
gulliver
BoingBagged
 
gulliver's Avatar
 
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
@PeterK

Bug/feature report:
The icon scaling feature has an odd but understandable side effect. When this feature is active and you save an icon, its size gets affected by the current scaling scheme and gets saved with that altered size. This is rather anoying in some circumstances, for example: editing tooltypes on AmigaOS 3.9 with RAWBInfo and then pressing save, alters the icons size if the scaling is on. The same happens when you use CopyIcon to replace any existing icon. The worst part is that if you perform the operation more than once on the same icon, the size change happens again, which ends up with either a miniscule, barely visble icon, or one that it is so big that it fills the entire workbench window.

A note about CopyIcon:
Currently there are two versions of CopyIcon, one for 68000 Amigas (built by you), and another one for 68020 + OS 3.5/3.9 (which is the original one). The problem seems to be that Amigas that have a 68020 and only AmigaOS 3.1 cannot use either version.

Could you please build a modified version that just removes from the original the AmigaOS 3.5/3.9 requirement?
gulliver is offline  
Old 23 January 2016, 11:01   #1519
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 840
The icon scaling feature is not for permanent use, just a one time thing. Turn it on, update the icons (snapshot), turn it off.
Personally I prefer original icons, and zoomed version as a temporary solution when screen res is either too small or very large.
Michael is offline  
Old 23 January 2016, 11:45   #1520
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 840


WB, IconGhostingOff normal view, then selected view, and finally, with GhostingOn

So why we have grey flood in left image ?

Today I got the same problem with GhostinOn (as with GhostingOff on the left)
Attached Thumbnails
Click image for larger version

Name:	icons-dos.png
Views:	1165
Size:	14.3 KB
ID:	47109  

Last edited by Michael; 24 January 2016 at 08:28. Reason: Update
Michael is offline  
 


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
ClassicWB Full and icon.library 46.4 Retroplay project.ClassicWB 8 05 August 2018 13:57
WB library conflict/versions Amiga1992 support.Apps 3 22 July 2010 18:47
PNG Icon to Color Icon Converter? Leandro Jardim request.Apps 1 24 May 2010 04:39
What's the latest version of icon.library for OS3.9? NovaCoder support.Apps 3 30 June 2009 15:43
Requesting icon.library v44+... nikvest request.Other 2 16 September 2007 01:58

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:17.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.15986 seconds with 14 queries