IPB

Google Frontpage Forums Unattended CD/DVD Guide
 
Reply to this topicStart new topic
> Windows 95 shell update
Controller
post Jan 29 2008, 11:13 PM
Post #1


Newbie


Group: Members
Posts: 42
Joined: 9-April 05
Member No.: 51254
OS: 98SE
Country Flag


This patched shell32.dll for Windows 95 (w/o Internet explorer shell update) adds some features I added to my custom Windows 98 (with Windows 95 Explorer) to the latest shell32.dll files (Microsoft Windows 95/95a OSR1/95B OSR 2.0/2.1 UNC Share SHELL32.DLL 4.00.955 Fix):

- Optional transparent desktop icons (labels) ;
[HKEY_CURRENT_USER\Control Panel\desktop]
"TransparentIcons"=dword:00000001 ; or 00000000 to disable
- Don't pretty filenames
- Reboot windows option instead of logging off (Previously you had to hold shift for the fast reboot; Resource modified with Hex Editor only, thus the new option has lots of trailing spaces)

Screenshot:
http://ctuser.net/other/win98pro/shell95patch_0503.png

Issues:
Tested with 4.00.1112 only, but both are quite similar, so 4.00.955 should work too.

Download:
http://ctuser.net/download.php?win98pro,sh...patch_0504a.zip

Installation:
In MS-Dos mode, replace shell32.dll with shell32.w95 / shell32.osr (check version numbers, 4.00.95* with shell32.w95 / 4.00.111? with 4.00.1112

This post has been edited by Controller: Jul 7 2008, 07:39 AM
Go to the top of the page
 
+Quote Post
BenoitRen
post Jan 30 2008, 09:43 AM
Post #2


Friend of MSFN
*****

Group: Members
Posts: 769
Joined: 21-October 06
Member No.: 113643
Country Flag


What's this "pretty" file names thing that's supposedly in Win95? The feature to have optional transparent labels is cool, even though I don't have a need for it.
Go to the top of the page
 
+Quote Post
Controller
post Jan 30 2008, 11:55 PM
Post #3


Newbie


Group: Members
Posts: 42
Joined: 9-April 05
Member No.: 51254
OS: 98SE
Country Flag


QUOTE (BenoitRen @ Jan 30 2008, 09:43 AM) *
What's this "pretty" file names thing that's supposedly in Win95?


By default, shell32 from Win95 does not show the real filename for DOS filenames (max 8.3 and all uppercase) but lowercases all but the first character. Means e.g. MSDOS.SYS is shown as Msdos.sys.
Go to the top of the page
 
+Quote Post
BenoitRen
post Jan 31 2008, 12:32 PM
Post #4


Friend of MSFN
*****

Group: Members
Posts: 769
Joined: 21-October 06
Member No.: 113643
Country Flag


Ah, I see. I believe that this is not exclusive to DOS file names. When I create a folder in Windows of which the file name is entirely uppercase, Windows does the same thing to it.
Go to the top of the page
 
+Quote Post
Controller
post Jan 31 2008, 04:39 PM
Post #5


Newbie


Group: Members
Posts: 42
Joined: 9-April 05
Member No.: 51254
OS: 98SE
Country Flag


When renaming uppercase, it should renamed correctly, but shown with mixed cases in explorer. All uppercase may look ugly for ordinary windows users, but I rather prever seeing the real name (e.g. want some files to be all uppercase).
Go to the top of the page
 
+Quote Post
Ken-mkII
post Feb 4 2008, 06:38 AM
Post #6


Newbie


Group: Members
Posts: 19
Joined: 24-January 08
Member No.: 173209
OS: 95
Country Flag


Err.... Can it be used under non-english version of Win95? (ie: Chinese or Japanese Win95)
Go to the top of the page
 
+Quote Post
Controller
post Feb 4 2008, 11:21 AM
Post #7


Newbie


Group: Members
Posts: 42
Joined: 9-April 05
Member No.: 51254
OS: 98SE
Country Flag


Not sure, but you probably want to replace the resources with the chinese/japanese, it it runs at all.
Go to the top of the page
 
+Quote Post
Controller
post Feb 13 2008, 11:36 AM
Post #8


Newbie


Group: Members
Posts: 42
Joined: 9-April 05
Member No.: 51254
OS: 98SE
Country Flag


Update:

http://ctuser.net/download.php?win98pro,sh...patch_0504a.zip

Changelog 0504:
- fixed some relocation issues (which probably will never occur?)
- fixed 'Restart Windows' overlapping 'Shut down computer' when using NoRealMode policy
- moving a single file now shows progress bar

This post has been edited by Controller: Jul 7 2008, 07:40 AM
Go to the top of the page
 
+Quote Post
declassified
post Jun 23 2008, 12:16 AM
Post #9





Group: Members
Posts: 3
Joined: 22-June 08
Member No.: 197840
OS: XP Pro x86
Country Flag


Nice!

Is it possible to use the Windows 95 shell on Windows 2k/XP? Would be nice as it probably is much lighter... rolleyes.gif
Go to the top of the page
 
+Quote Post
Controller
post Jun 23 2008, 01:09 PM
Post #10


Newbie


Group: Members
Posts: 42
Joined: 9-April 05
Member No.: 51254
OS: 98SE
Country Flag


There are plenty of missing (shell folder stuff) and incompatible (SHGetSetSettings) exported functions in Windows 95 shell, and most 'undocumented' functions which are exported by ordinal only (*) are unicode on WinNT and ansi on Win9x.
On Win9x, you can use a shell32.dll wrapper which passes most functions through, and adds the missing ones (Actually what I'm doing). However, it internally still uses ansi? (shell uses plenty of OLE and therefore unicode, just who studies how far unicode is implemented), and you still need Windows 95 explorer.

On XP etc, I don't know about shell32 dependencies etc, I thought about that idea myself, however I don't use XP (long and failing installs, size, speed, ...). Maybe using Windows 2000 / NT explorer may speed up a bit (guess 2000er does not, and NT one's was buggy I heard?)

For the wrapper, I can provide some source in Flat Assembler. Guess any other language should do, if it can export functions by ordinal only (So Flat Assembler does not support this either when using the export macro)

Also gotta think about where to store (and which) resources, which make up most of the dll size

(*) Several of those functions are named in WinXP (SP?) and Vista; Using a wrapper for shell32, you may have to export both by ordinal and name, because GetProcAddress using ordinals fails on Windows 9x if the function is named.
Go to the top of the page
 
+Quote Post
Controller
post Jul 7 2008, 07:39 AM
Post #11


Newbie


Group: Members
Posts: 42
Joined: 9-April 05
Member No.: 51254
OS: 98SE
Country Flag


Update:

http://ctuser.net/download.php?win98pro,sh...patch_0504a.zip

Changelog 0504a:
- removed some uppercasing stuff when processing network sources
Go to the top of the page
 
+Quote Post
Controller
post Jul 7 2008, 07:44 AM
Post #12


Newbie


Group: Members
Posts: 42
Joined: 9-April 05
Member No.: 51254
OS: 98SE
Country Flag


By default, Windows 95 [shell] uses default folder icons for network sharings; After applying this 'patch', it will use a different icon, similar to Windows XP; As replacement icon we use icon #32, a tree icon which usage is uncertain [to me]. Patching consists of 1) hex editing shell32.dll to use this icon [ID] instead of the default folder icons, and 2) replacing the icon.

You need a resource modification tool
- http://angusj.com/resourcehacker
- http://hp.vector.co.jp/authors/VA003525/Eindex.htm )
and a hex editor

1) Hex editing:
For original shell95.dll, patch:
0005E324 from 03 to 29
0005E32C from 03 to 00

For OSR2 shell95.dll, patch:
0005E664 from 03 to 29
0005E66C from 03 to 00

2) Replacing the icon
Replace icon[group] 42 (tree icon) with the desired new one

Icons can be found here:
http://ctuser.net/download.php?win98pro,sh...sharingicon.zip

Screenshot:
http://ctuser.net/other/win98pro/shell95pa...sharingicon.png

This post has been edited by Controller: Jul 7 2008, 08:04 AM
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 21st November 2008 - 08:57 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2008 msfn.org
Privacy Policy