MSFN Forum: Changing resources in 16 bits files - MSFN Forum

Jump to content


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Changing resources in 16 bits files Rate Topic: -----

#1 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 16 February 2007 - 09:17 AM

:hello:

Ok, it is very easy to change resources in 16bit files if you have Visual C++.

Here is one example :

Sysedit with 256 color icons

If you don't have VC++ and would like to change bitmap or icon resources in other 16bit files, provide the new resources and I'll do it for you.


#2 User is offline   j7n 

  • Member
  • PipPip
  • Group: Members
  • Posts: 198
  • Joined: 18-December 06
  • OS:XP Pro x86
  • Country: Country Flag

Posted 18 February 2007 - 07:16 AM

ExeScope supports Windows 3.11 NE executables.

#3 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 18 February 2007 - 08:10 AM

View Postj7n, on Feb 18 2007, 07:16 AM, said:

ExeScope supports Windows 3.11 NE executables.

Have you actually tried to replace bitmap or icon resources in NE executables with it ? :D

#4 User is offline   j7n 

  • Member
  • PipPip
  • Group: Members
  • Posts: 198
  • Joined: 18-December 06
  • OS:XP Pro x86
  • Country: Country Flag

Posted 18 February 2007 - 01:50 PM

I had – just now. Replaced one 8-bit bitmap with a 24-bit one. I have also modified dialog forms before.

Are you aware of any compatibility problems that arise when using ExeScope?

This post has been edited by j7n: 18 February 2007 - 02:12 PM


#5 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 18 February 2007 - 05:32 PM

View Postj7n, on Feb 18 2007, 01:50 PM, said:

I had – just now. Replaced one 8-bit bitmap with a 24-bit one. I have also modified dialog forms before.

Are you aware of any compatibility problems that arise when using ExeScope?

OK so, I have downloaded eXescope from Softpedia (version 6.41) and I have been unable to replace the icons of winfile.exe with others of a different color depth.

I have been able to replace a 16 color bitmap with a 256 color one but then the modified winfile crashes systematically on launch.

With VC++, I can do both of those things and the exe runs normally.

This post has been edited by eidenk: 18 February 2007 - 05:34 PM


#6 User is offline   MDGx 

  • 98SE2ME + 98MP10
  • Group: Super Moderator
  • Posts: 2,678
  • Joined: 22-November 04
  • OS:none specified
  • Country: Country Flag

Posted 19 February 2007 - 02:25 PM

eidenk, on Feb 16 2007, 08:17 AM, said:

Ok, it is very easy to change resources in 16bit files if you have Visual C++.

Here is one example :

Sysedit with 256 color icons

If you don't have VC++ and would like to change bitmap or icon resources in other 16bit files, provide the new resources and I'll do it for you.
If I may impose on your VC++ expertize, could you replace the ugly icon [icon number 200 (first icon) as displayed in exescope] from my modded WinME WINFILE.EXE with a better one?

All necessary files are zipped here [84 KB, English]:
http://www.mdgx.com/spx/WINFILEX.ZIP
The XP-compatible icon [multi-res + multi-color] I'd like to use is called FILEMAN.ICO .

Many thanks in advance.

If you need to email me:
http://www.mdgx.com/form.htm

Best wishes.

#7 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 19 February 2007 - 03:41 PM

Done. It's here : Winfile

There is not much need for expertise for doing that btw. As easy as using Reshacker or eXescope.

#8 User is offline   glocK_94 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 13-July 06
  • OS:98SE
  • Country: Country Flag

Posted 19 February 2007 - 03:47 PM

Hey, that sounds interesting! Borland resource workshop does the job but in a very unhandy manner. Thanks for the info.

Only problem is that the free VC++ express 2005 is XP SP2 only. Do older versions do that as well?

#9 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 19 February 2007 - 04:03 PM

I am not sure VC++ 2005 will even do the job under XP as *I think* support for editing 16bit executables has been dropped from versions above 6.

I am using VC++ 6 Standard Edition, which I bought on eBay for very cheap (£12 including P&P).

VC++ 5 will do the same job but cannot be installed correctly on my ME OS (wants IE 4 to be installed), which does not matter for editing resources in executables as copying the folder containing the IDE over is enough.

VC++ 4, and probably even earlier versions, will do but not so well as 5 and 6.

Oddly enough it is not possible to edit 32 bit executables with those IDEs under 9x OSes. You need to use VC++ under an NT OS to be able to do that.

This post has been edited by eidenk: 19 February 2007 - 04:20 PM


#10 User is offline   glocK_94 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 13-July 06
  • OS:98SE
  • Country: Country Flag

Posted 19 February 2007 - 04:51 PM

Thanks a lot! ;)

#11 User is offline   awergh 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,059
  • Joined: 02-October 05
  • OS:none specified
  • Country: Country Flag

Posted 20 February 2007 - 04:05 AM

you can use the tool borland resource workshop to edit 16bit pe files

#12 User is offline   glocK_94 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 13-July 06
  • OS:98SE
  • Country: Country Flag

Posted 20 February 2007 - 12:03 PM

View Postawergh, on Feb 20 2007, 11:05 AM, said:

you can use the tool borland resource workshop to edit 16bit pe files
True and it's a really usefull app but as I mentionned, it's not very handy nor stable so it's nice to have an alternative.

#13 User is offline   MDGx 

  • 98SE2ME + 98MP10
  • Group: Super Moderator
  • Posts: 2,678
  • Joined: 22-November 04
  • OS:none specified
  • Country: Country Flag

Posted 21 February 2007 - 05:26 PM

eidenk, on Feb 19 2007, 02:41 PM, said:

Done. It's here : Winfile

There is not much need for expertise for doing that btw. As easy as using Reshacker or eXescope.
Thanks a bunch for doing this.

I don't have VC++ [any edition].
I've tried to do this using eXescope but it didn't allow me to change the size of the resource [FILEMAN.ICO is a multi-res, 256 color icon, XP-style], and Reshacker doesn't support 16-bit NE files like WINFILE.EXE. ;(
One day I'll get VC++.

P.S.:
I've just added the new FM to 98SE2ME [option 7]:
http://www.msfn.org/...showtopic=46349

Thanks again.

#14 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 22 February 2007 - 08:25 AM

No problems. I have adopted your winfile as well.

You've done marvels within the 16 color limitation of bitmaps btw.

I could upload another one if you want in which the bitmaps are converted to 256 colors in case you'd want to further enhance them.

#15 User is offline   glocK_94 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 13-July 06
  • OS:98SE
  • Country: Country Flag

Posted 23 February 2007 - 06:12 PM

One more question... :angel:
Is VC++ able to edit resources in 16 bits LE files as well (vxd, 386)?

This post has been edited by glocK_94: 24 February 2007 - 04:58 AM


#16 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 23 February 2007 - 07:06 PM

Those files get opened as hexadecimal data so yes but not any easier than with an hex editor.

#17 User is offline   glocK_94 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 13-July 06
  • OS:98SE
  • Country: Country Flag

Posted 24 February 2007 - 05:00 AM

Ok. Thanks ;)

#18 User is offline   MDGx 

  • 98SE2ME + 98MP10
  • Group: Super Moderator
  • Posts: 2,678
  • Joined: 22-November 04
  • OS:none specified
  • Country: Country Flag

Posted 27 February 2007 - 03:45 PM

eidenk, on Feb 22 2007, 07:25 AM, said:

No problems. I have adopted your winfile as well.

You've done marvels within the 16 color limitation of bitmaps btw.

I could upload another one if you want in which the bitmaps are converted to 256 colors in case you'd want to further enhance them.
Sure, that would be great, thanks a lot for doing this.

Sounds great to have 256 colors bitmaps in FM, I have not thought it possible until now. ;)

#19 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 28 February 2007 - 12:02 PM

Ok so, here is a version with 256 color bitmaps. I have edited the opened and closed folders to make them look like those in windows Explorer as an example : Winfile+

#20 User is offline   MDGx 

  • 98SE2ME + 98MP10
  • Group: Super Moderator
  • Posts: 2,678
  • Joined: 22-November 04
  • OS:none specified
  • Country: Country Flag

Posted 01 March 2007 - 10:50 AM

Million thanks for your work.
Looks much better.

I've tweaked a little more the bmp and I got this. ;)

FYI:
This new WINFILE.EXE installs also as part of 98SE2ME options 1 + 7 [3 MB]:
http://www.msfn.org/...showtopic=46349
and now also part of SCANFRAG.EXE [807 KB]:
http://www.mdgx.com/files/SCANFRAG.EXE

Best wishes.

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy