Welcome, Guest. Please login or register.

Author Topic: Changing WB2 mouse and colours  (Read 635 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Lonewolf10Topic starter

  • Jr. Member
  • **
  • Join Date: Apr 2005
  • Posts: 94
    • Show only replies by Lonewolf10
    • http://www.geocities.com/aliensrcooluk
Changing WB2 mouse and colours
« on: March 11, 2006, 10:50:14 PM »

Hi folks,

can anyone tell me where in memory the mouse graphic is for WB2, or a way of changing it? Also, does anyone know where the colour data is stored? I'm thinking of customizing the mouse (and WB), like the old Amiga demo disks used to when they were used to boot the Amiga, whilst my software loads and/or when I'm doing WB FX.
Oh, does anyone know where the start of the screen data for WB is?



Regards,
Lonewolf10

 

Offline Thomas

Re: Changing WB2 mouse and colours
« Reply #1 on: March 11, 2006, 11:31:03 PM »

The programs to edit the mouse pointer and colors are sys:prefs/pointer and sys:prefs/palette. The changes are stored in envarc:sys/pointer.prefs and envarc:sys/palette.prefs.

If you don't want to use the extended preferences system of WB 2, you can as well remove IPrefs from the startup-sequence and use the WB 1.3 preferences program to edit the prefs stored in devs:system-configuration just like in the good old days.

Bye,
Thomas

Offline Lonewolf10Topic starter

  • Jr. Member
  • **
  • Join Date: Apr 2005
  • Posts: 94
    • Show only replies by Lonewolf10
    • http://www.geocities.com/aliensrcooluk
Re: Changing WB2 mouse and colours
« Reply #2 on: March 20, 2006, 10:29:38 PM »

Thanks for that.

I have now changed my pointer into a banana! (my art skills are limited!)

Is there an easy way to change the icon that appears when a disk drive is being accessed?


Regards,
Lonewolf10

 

Offline Lonewolf10Topic starter

  • Jr. Member
  • **
  • Join Date: Apr 2005
  • Posts: 94
    • Show only replies by Lonewolf10
    • http://www.geocities.com/aliensrcooluk
Re: Changing WB2 mouse and colours
« Reply #3 on: March 26, 2006, 12:55:00 AM »

I have been studying the "win.pat" and "wb.pat" files located in "ENV:Sys/". Both files follow this format:

16 bytes - unknown
1 byte - for total size of pattern
1 byte - unknown
1 byte - for bitplane count
+ byte arrays for each bit-plane (32 bytes each)
1 byte - unknown


Does anyone know what the first 16 bytes are for? Is it possible to create a template, for either the window or workbench background, that is larger than 16x32 for WB2?


Regards,
Lonewolf10