Olympus Panorama Header 

 The panorama feature on Olympus smartmedia can be overwritten by other devices, causing you to lose the panorama function. It is possible to restore this feature.

This is for information purposes only. The described procedure has worked well for restoring or adding the panorama capability to smartmedia cards of any brand, however if you decide to try it yourself, it is possible that you could make your card unusable unless you have the proper program and reader/writer to restore it. Deciding whether to try it is your own responsibility, and if you don't have the same card reader and program as used here, you might have to modify the procedure to fit. If you don't know what a hexadecimal number is, and understand how they work, it may be best not to attempt this. It is actually rather simple, but does require some basic computer knowledge and care.

Before you start, go to http://www.digit-life.com/articles/smcrestore/ to get a basic idea of what you're doing, and what the CIS (card information structure) is. Don't do the procedure exactly as described on that page, as it's not entirely correct (or clear), but do try to understand what is being done.

Go to www.hotfiles.com and find, download, and install a hex editor if you don't have one. The A.X.E. editor is free and works well, though it will ask you to register it to a nonexistent address. Recently, some have not been able to locate this editor, but any hex editor will do, there are several available as shareware.

Newer Olympus camera?? Read this!!
A few of the latest models apparently won't work with the "OLYMPUS PAN 1.0" info, it needs to be changed to read "OLYMPUS PAN 2.0". This is a very simple change. When modifying the second file, put the number 32 in place of the last number 31 (toward the end of the underlined numbers below). Check the results in the ANSI text panel.

This change to 2.0 is reported to be backward-compatible with older cameras, so it should be safe to do regardless of which model you have.

The following procedure is done with a Zio USB smartmedia reader, Windows 98/ME/2000, and the smprep.exe program that is installed with it. No instructions are given for other readers, as I don't have them to work with, so if you're using a different reader, you may need to figure out any differences. However, the CIS should be the same, so if you can locate that in your version of smprep.exe, you should be able to accomplish the same thing.

Load the smprep.exe program into the hex editor. It may make things easier if you widen the "bytes" window as below to 16 numbers wide. If you save it as you work, do not overwrite the original file by using the same name.

 Step 1: Locate the beginning of the first copy of the CIS. You can use the edit...find feature to search for the following string: 01 03 D9 01 FF (see red underline below). To make the first hacked version of smprep (the one that damages the CIS), change the first 01 to 02.

Figure A 

 Step 2: Find the second copy of the CIS, which uses the same string as the first one; you can probably just scroll down a few lines and find it, or you can use the search feature again to find it. (see figure B below). Change the first 01 to 02. Save the file as smprep1.exe.

Important! After saving the copy of smprep1.exe, close it, and open the original smprep.exe. Do not use the altered copy you have just made to begin the second hack! After you have opened the original file again, proceed as below:

 Step 3: Look at figure A above. As you did the first time, locate the first copy of the CIS, and find the string of 20's (underlined in fig. A with blue). Starting at the first 20, change the numbers to the ones shown in red in Figure B, which are underlined in green. Note in the right panel, that this changes the information to read OLYMPUS PAN 1.0. Look at your file, and look at the numbers here...are they all the same? Is there a 00 before the numbers you changed, and an FF afterwards?

Figure B 
 Step 4: Now, scroll down to the second copy of the CIS, find the same string of 20's as underlined in blue in figure A, and change these also to the numbers underlined in green as shown in figure B. Both copies of the CIS should now be identical. Save this file as smprep2.exe.
 Finally: Insert the smartmedia card in the reader. Run the smprep1.exe file, and let it "fix" the card. It should report no CIS and will attempt to fix it, but you will get an error. Then run smprep2.exe and it will again fix the card, this time correctly, and it will also add the Olympus Pan header. You should get no errors this time.

 Summary

For the first version, the one that damages the card's header, you changed only two numbers, the first 01 in each of the two copies of the CIS.

For the second version, you overwrote 17 numbers, which began with a string of 20's, doing this identically in both copies of the CIS, which added the Olympus Pan 1.0 information.

If you run into problems, you should be able to run the original smprep.exe file to restore the card without the Olympus Pan header. The Olympus smartmedia reader does not come with this program, so beware if you try this with anything but a Zio USB reader and the smprep.exe that comes with it!

 Addendum

This procedure has been reported to work with several different USB readers, as well as a PCMCIA smartmedia reader. Some readers appear to have the identical smprep.exe file as the Zio. If you have a Sandisk reader, there have been some problems with doing this, so be sure to download and install the latest drivers and smprep program from the Sandisk website...otherwise, the card may not work properly even if you do the procedure correctly.

Home
1