Experiment: Resources Folder

From OS2World.Com Wiki
Jump to navigation Jump to search

This is an experiment of trying to merge the "Graphic Resources" of OS/2, ArcaOS in a single directory.

The idea is basically create a "C:\Resources" folder and include several other folders of common OS graphical resources like:

  • Boot Logos
  • Fonts
  • Icons
  • Images
  • Screen Savers
  • Sounds
  • Patterns
  • Pointers
  • Wallpapers

The goal will be to find out if it is done, what programs and components of the OS will fail trying to find the right location for it. A goal will be also to document workarrounds to resolve any issue as a result of this change.

Pointers

Moving the pointers from it's location will cause an error on the Mouse Settings when you try to load a "Pointer Set".

Comments by Lars Erdmann

The Mouse Setup object is managed by WPS class called "WPMouse". That class is implemented in DLL WPCONFIG.DLL. WPCONFIG.DLL has the following text string in it:

STARTFOLDER=?:\OS2\POINTERS

It is therefore hard coded and cannot be changed.

Note: The STARTFOLDER is a setup string for the "wpclsFindOneObject" class method of WPObject for the top level folder to search from. So you will only be able to search under that folder.

Images

'C:\OS2\BITMAP'

OS2.INI - PM_Lockup - LockupBitmap = C:\OS2\BITMAP\DTOPBGND.BMP 

Screen Savers

C:\sys\apps\DSSaver

OS2.INI - SSaver - HomePath = C:\sys\apps\DSSaver 


Sounds

MMPM.INI - MMPM2_AlarmSounds -