Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Windows 98 in a Virtualbox with the games. Then I sent myself the game Solitaire (SOL.EXE). Now I have SOL.EXE on Windows 7 and it actually runs. But I just wanted to extract the bitmaps out of it. But when I try this with any resource editor it says, not a valid Win32 application or non valid PE file.

So how can I extract the bitmaps out of this .EXE?

share|improve this question

migrated from Nov 23 '12 at 10:47

This question came from our site for professional and enthusiast programmers.

This is probably a violation of the EULA. – Raymond Chen Nov 23 '12 at 0:30
Do you know this for sure? – mkampitsch Nov 23 '12 at 7:54
I do not have the Windows 98 EULA memorized. You need to go read it yourself. Recent EULAs have a clause saying that the images and sounds can be used only in conjunction with the original OS. – Raymond Chen Nov 23 '12 at 7:57
Are you talking about the card graphics themselves? If so, they aren't in the Solitaire game but in a DLL called cards.dll. – wbeard52 Jul 8 '14 at 23:47

Try Resource Hacker. It is free and able to open uncompressed EXE & DLL files.

share|improve this answer
I tried, but when opening it with Resource Hacker (or any other Resoure Editor) I get either "Not a valid Win32 application" or "not a PE file". But I can’t find any application that will run on Win98 that helps me getting the resources. – mkampitsch Nov 23 '12 at 7:56
Try ResourcesExtract, Resource Tuner or PE Explorer. They also doing the same operation. – user1754665 Nov 23 '12 at 8:20
"But I can’t find any application that will run on Win98 that helps me getting the resources." - I don't get it. Why do you necessarily have to run Resource Hacker inside the VM under Win98? Why can't you run it in Win7 itself? – Karan Nov 23 '12 at 21:39

One can use a combination of wresttool and icotool on linux to extract icons and pngs, and if you really feel like tearing stuff up, 7z x SOL.EXE will tear it all apart, and you can find most all image files in .rsc or so.

share|improve this answer

You must log in to answer this question.