home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / newlookb.zip / newlook.txt < prev    next >
Text File  |  1996-03-31  |  12KB  |  258 lines

  1.  
  2. ************************       NEWLOOK V. 0.11       **************************
  3.  March 28 1996                  copyright (c)             Alessandro Cantatore
  4. ************************          DISCLAIMER         **************************
  5.  If you like this program, you are free to use, copy and modify it as you
  6.  like. Under no circumstances the author is liable for any loss or damage.
  7.  The use of the program implies acceptance of the conditions stated above.
  8. *******************************************************************************
  9.  
  10.  CONTENTS:
  11.  
  12. - WARNING                   Read this section before running NEWLOOK.
  13. - WHAT YOU NEED             NEWLOOK requirements.
  14. - INSTALLATION
  15. - WHAT IT DOES              How to run NEWLOOK.
  16. - NPS WPS ENHANCER          Close button bitmaps.
  17. - MORE ICONS                Some more icons and bitmaps.
  18. - UPDATE.CMD                Automatically updates the icons of some objects.
  19. - HOW IT WORKS              Read this section if you face any problem or get
  20.                             any error message.
  21.  
  22.  WARNING
  23.  
  24.  This program has been tested just with OS/2 WARP. It could work correctly with
  25. OS/2 2.1 too, but I cannot grant it, so read carefully the rest of this file
  26. before trying.
  27.  
  28.  If you do not yet have a set of OS/2 emergency boot diskettes, make them by
  29. the utility in the System Setup folder or any other one.
  30.  
  31.  IF THE PROGRAM EXITS WITH AN ERROR MESSAGE YOU DO NOT NEED TO REBOOT.
  32. EVERYTHING HAS BEEN RESTORED TO ITS PREVIOUS STATE AS YOU HAD NEVER RUN
  33. NEWLOOK SINCE THE LAST BOOT.
  34.  
  35.  See the HOW IT WORKS section for more details or any problem you have.
  36.  
  37.  
  38.  WHAT YOU NEED
  39.  
  40.  To run this program you must have installed REXX support and Martin Lafaix's
  41. Resource Decompiler/Manager, a freeware application distributed as RESMGR.ZIP,
  42. (you can FTP it from hobbes.nmsu.edu/incoming or /os2/dev32 or various BBSs)
  43. should be in a directory included in your CONFIG.SYS PATH statement or in the
  44. NEWLOOK directory. If NEWLOOK cannot find any of the needed files it will
  45. display a warning message.
  46.  
  47.  You need RC.EXE, RCPP.EXE and RCPP.ERR in your \OS2 directory. If you do not
  48. find them, you must run "Selective install".
  49.    - In the "System configuration" window, click on OK;
  50.    - in the "OS/2 Setup and Installation" window, select
  51.      only "Optional system utilities" and click on the "More..."
  52.      button;
  53.    - in the list of the utilities window select only "Link object modules"
  54.      and click on "OK". YOU DO NOT NEED TO REBOOT!!! Even if stated
  55.      so. The following files will be added to your \OS2 directory:
  56.      \OS2\LINK386.EXE
  57.      \OS2\LINK.EXE
  58.      \OS2\RC.EXE
  59.      \OS2\RCPP.EXE
  60.      \OS2\RCPP.ERR
  61.      You can delete them later... 
  62.      Now you can run NEWLOOK.CMD and then reboot...
  63.  
  64.  You need about 8 MBs of free disk spaces for the temporary files and
  65. multiple back-up copies of the DLLs. Anyway, you could run NEWLOOK
  66. safely even with only 3 MBs, provided you change only thw system icons
  67. before, then reboot, move the back-up copy of PMWP.DLL to a diskette,
  68. run NEWLOOK again to change the windows controls and then reboot.
  69.  
  70.  
  71.  INSTALLATION
  72.  
  73.  Just unzip NEWLOOK.ZIP recreating SYSICONS and WINCTLS directories.
  74.  
  75.  
  76.  WHAT IT DOES
  77.  
  78.  NEWLOOK.CMD is a REXX script that allows you to change the OS/2 default icons
  79. and window controls patching PMWP.DLL and PMMERGE.DLL. You must run it without
  80. arguments, just double click on its icon. If it finds all the files it needs,
  81. it will show you the following menu:
  82.  
  83.    ┌────────────────────────────────────────────────────────────────────────┐
  84.    │                                                                        │
  85.    │    ACTION                                                  COMMAND     │
  86.    │    Read NEWLOOK.TXT ...................................... read        │
  87.    │    Edit the new system icons ............................. editico     │
  88.    │    Edit the new window controls .......................... editctls    │
  89.    │    Change the default system icons ....................... newico      │
  90.    │    Change window controls ................................ newctls     │
  91.    │    Change both system icon and window controls ........... newall      │
  92.    │    Restore original system icons ......................... restico     │
  93.    │    Restore original window controls ...................... restctls    │
  94.    │    Restore both original system icons and window controls  restall     │
  95.    │    Exit .................................................. quit        │
  96.    │                                                                        │
  97.    └────────────────────────────────────────────────────────────────────────┘
  98.  
  99.  If you want to perform an action just type the corresponding command.
  100.  Here is a short description of the actions performed by NEWLOOK:
  101.  
  102. read
  103.     this command will open NEWLOOK.TXT (this file). After you close the
  104.     OS/2 Editor window you can go on with another command or quit.
  105.  
  106. editico
  107.     will open the SYSICONS folder. The icons are saved with a "ptr"
  108.     extension. DO NOT RENAME THEM!!! You can edit them or substitute them
  109.     with a different icon file. Just open an OS/2 command window and type:
  110.     COPY MYFILE.ICO X:\PATH\SYSICONS\OLD.PTR
  111.     where MYFILE.ICO is the name of the new icon file you want to use,
  112.     X:\PATH\SYSICONS is SYSICONS folder path and
  113.     OLD.PTR is the name of the NEWLOOK icon file you intend to replace.
  114.     Icons and bitmaps are usually saved in various formats.
  115.     For 640x480 and 800x600 screen resolutions you should care about
  116.     "Independent Color Form (=VGA)", for normal icons (32x32 pixels), and
  117.     "Independent Small Color Form" for the smaller ones (16x16 pixels).
  118.     For 1024x768 and larger screen resolution you should care about
  119.     "XGA/8514 - 16 colors", for normal icons (40x40 pixels), and
  120.     "XGA/8514 Small Color Form" for the smaller ones (20x20 pixels).
  121.     Remeber that if you previously patched your video display DLL, by
  122.     some utility like Jason R. Shannon's SMALLFIX, your system could
  123.     use 32x32 pixel icons even if your screen works at 1024x768 pixels
  124.     or greater resolutions.
  125.     To access the various formats use the Device|List menu command of
  126.     OS/2 Icon editor. See the online help of the OS/2 Icon editor for
  127.     more details.
  128.  
  129. editctls
  130.     will open WINCTLS folder. See editico for more details.
  131.  
  132. newico
  133. newctls
  134. newall
  135.     will patch PMWP.DLL, PMMERGE.DLL or both. Original DLLs are saved
  136.     in NEWLOOK directory as PMWP.SAV and PMMERGE.DLL. Since I found
  137.     problems with RESMGR when re-patching DLLs, you MUST RESTORE
  138.     ORIGINAL DLLs before patching any DLL you previously patched
  139.     before. If NEWLOOK detects you are re-patching DLLs, it will show
  140.     you a warning message.
  141.     When patching is finished you will get a message. Now you are done,
  142.         you do not have to boot from diskette, copy any file or any other
  143.         boring thing. JUST SHUTDOWN AND REBOOT!!!
  144.     Now most of objects on your desktop and in your folders will have
  145.     a new look.
  146.         If some objects do not get their icons updated, run UPDATE.CMD (see
  147.         the UPDATE.CMD section for more details).
  148.         If you previously edited the default icon of an object,    you should
  149.         press the Default button in the General Page of the Settings notebook
  150.         if you want the new icon to replace the old one. Remember that in this
  151.         way you will reset the object name as well!
  152.         
  153.  
  154. restico
  155. restctls
  156. restall
  157.     allow you to restore original PMWP.DLL, PMMERGE.DLL or both.
  158.     YOU MUST NOT ERASE PMWP.SAV or PMMERGE.SAV in order to let this
  159.     commands work properly.
  160.  
  161. quit
  162.     you know what it means ;).
  163.  
  164.  
  165. NPS WPS ENHANCER
  166.  
  167.  In the MORICONS subdirectory you will find 3 different close-button BMPs
  168. for NPS WPS Enhancer. Just rename your favourite BMP and copy it in NPS
  169. WPS directory.
  170.  
  171.  
  172. MORE ICONS
  173.  
  174.  In the MORICONS subdirectory you will find some more icons and bitmaps
  175. for SYSICONS and WINCTLS folders. INFO2.ICO, DRIVES2.ICO and MINVIEW2.ICO
  176. are used for setting the animated icon of the "Information", "Drives" and
  177. "Minimized Window Viewer" folder objects by UPDATE.CMD.
  178.  
  179.  
  180. UPDATE.CMD
  181.  
  182.  Once you run NEWLOOK and reboot, some object could not have their icons
  183. correctly updated (specially if you changed the default icon).
  184.  To update some icons automatically you can run UPDATE.CMD. It will prompt
  185. for your confirmation before updating an object.
  186.  
  187.  
  188. HOW IT WORKS
  189.  
  190.   This program patches two system DLLs (PMWP.DLL and PMMERGE.DLL) and
  191. temporarily edit your CONFIG.SYS file. It anyway makes back-up copies of both
  192. DLLs (in its own directory) renaming them PMWP.SAV and PMMERGE.SAV and of the
  193. CONFIG.SYS file in the root directory as CONFIG.NLK.
  194.  Since PMMERGE.DLL and PMWP.DLL are locked, it is not possible to swap them with
  195. the new DLLs, while OS/2 is running. So the CONFIG.SYS file is modified in order
  196. to swap the DLLs before loading the WPS on the next system boot and then
  197. automatically restored to its previous state.
  198.  If you run NEWLOOK and change the default system icons or window controls
  199. YOU MUST REBOOT. If you do not do so and run NEWLOOK again, trying to change the
  200. controls (or the icons) or trying to restore the old ones, you will get an error
  201. message, since NEWLOOK will detect that the CONFIG.SYS file has already been
  202. modified to allow DLLs swapping. Then the original CONFIG.SYS and everything
  203. else will be restored to its previous state as you had never run NEWLOOK since
  204. the last boot. Now if you still want to change or restore something you can
  205. run again NEWLOOK, type the proper command and then reboot.
  206.  
  207.  If you previously patched your PMMERGE.DLL by the Matt Schellhaas' CHG_CTLS
  208. application, you should restore the original one before running NEWLOOK, since
  209. RESMGR (used by NEWLOOK) sometimes does not work properly with previously
  210. patched DLLs.
  211.  If you do not have a copy of the original DLL file you can get it from the
  212. OS/2 installation CD. From an os/2 command window type:
  213. CD \anydir (not the root directory)
  214.   UNPACK X:\OS2IMAGE\DISK_5\BUNDLE /N:PMMERGE.DLL
  215.   UNPACK X:\OS2IMAGE\DISK_5\BUNDLE /N:PMWP.DLL
  216. where X is your CD ROM Drive ID.
  217.  If you installed a FixPack, you must restore the FixPack DLLs. Check the
  218. FixPack readme file for their location.
  219.  If you try to re-patch already patched DLLs and the operating system warns you
  220. that it must terminate NEWLOOK because an access violation occurred, click
  221. on OK to terminate it, then run NEWLOOK again typing the newall COMMAND.
  222. You will get an error message, because the program will detect that the
  223. CONFIG.SYS file was previously modified, then NEWLOOK will restore all the
  224. correct files.
  225.  
  226.  If you get a "Resource Compiler" or "Resource Manager" error check your
  227. CONFIG.SYS file. You could have something like:
  228.   SET TMP=X:\directoryName
  229.   SET TEMP=X:\directoryName
  230. where directoryName is the name of a non existing directory. Just create
  231. the directory and run again NEWLOOK or delete the above statements and
  232. reboot before running NEWLOOK.
  233.  If your CONFIG.SYS file is OK than check your DLLs, you probably already
  234. patched them.
  235.  
  236.  If you have installed a FixPack which updates PMWP.DLL and PMMERGE.DLL,
  237. giving your system the "old look", the old DLLs back-up copies will be renamed
  238. (ie rename PMWP.SAV and PMMERGE.SAV -> PMWP.SV1 and PMMERGE.SV1).
  239.  Later if you intend to back-out from the FixPack delete the new back-up
  240. copies and rename the old ones PMWP.SAV and PMMERGE.SAV.
  241.  
  242.  If you do not use the default OS/2 system editor (E.EXE) NEWLOOK will
  243. prompt you for the name of the executable of the editor you usually work with.
  244. Just type it with or without extension.
  245.  
  246.  Some problems have been reported with Object Desktop. NEWLOOK works correctly,
  247. but the window controls are not displayed. I will solve that with the next
  248. release.
  249.  
  250. _______________________________________________________________________________
  251.  
  252. That's all folks!
  253. If you find any problem or bugs in using NEWLOOK, or just want to improve
  254. my poor English, just e-mail me...
  255.  
  256. Alessandro Cantatore
  257.   Team OS/2 Italy
  258. alexcant@mbox.vol.it