The definitive guide to completely relocate best Pocket PC Web browser Opera Mobile from the main memory
UPDATE (12/30/2007): : make sure you check out Patrick's comments below.
UPDATE (11/15/2007): deprecated: if you install the final version of 8.65 on a card, the cache will also be created there.
(end of update)
Opera Mobile, which is by far the best Pocket PC Web browser, being a newcomer on the Pocket PC, still has some issues that should be fixed by hand. One of them is the complete relocation of Opera to a storage card because, by default, Opera stores some of its files in the main storage. This is especially important to Dell Axim x50(v) and HP iPAQ hx4700 users if they have upgraded to WM5 and, therefore, should always strive to reduce write/deletion operations in the main storage to avoid lengthy filesys.exe sessions.
In the following, I give you a complete tutorial on how everything can be relocated to the storage card.
- install Opera to the storage card. I assume you install it to \Program Files\Opera (the WM5 default) on your storage card, which has the name \SD Card.
- get this registry import file. You'll need to modify it after, probably, changing the \\SD Card\\Program Files\\Opera occurrences to the particular path of your device if needed. For example, if you have installed Opera to a directory Opera86 your storage card named Storage Card, then, just change all occurrences of \\SD Card\\Program Files\\Opera to \\Storage Card\\Opera86.
I recommend for example the built-in Notepad in Windows to do this. Just open the registry file with Notepad, press Ctrl-H (Edit/Replace), copy the string \\SD Card\\Program Files\\Opera to the “Find what:†text input field and the new path (with, again, double backslashes!) to “Replace with:â€. Then, just save the file and exit Notepad.
- import it to the Registry with a Windows Registry Editor Version 5.00-compatible registry editor like Resco Registry Editor. This will make sure references to Opera.exe are all OK.
- create an OperaData directory in the root directory of your storage card
- get this file; unzip it to the just-created OperaData directory of your storage card. This means that, for example, the vlink4.dat file should be in the directory \<Storage card name>\OperaData\Opera.
- go to \Application Data\Opera in the main storage and delete everything, including all the subdirectories, except for the following two files:
english.lng
input.iniand the skins subdirectory (the latter can't be relocated, even if you appropriately modify Button Set in opera.ini).
Incidentally, if you’d prefer one-page-at-a-time scrolling (as opposed to the default one – that is, link-by-link), overwrite input.ini with this file.
- now, get this file (opera.ini) and change all occurrences of SD Card to the name of your storage card in the way I’ve explained above in step 2. Copy the this way edited file to \Application Data\Opera in the main storage.
Now, you’re all set – you can run Opera right away. It’ll only write to one file in the main storage, opera6.adr, which contains the favorites (this means no writing will take place if you don’t explicitly add a new favorite / delete / edit an old one – this is certainly good news for all Dell Axim x50(v) and HP iPAQ hx4700 WM5 users). Every other write operation will happen on the storage card.
If you don’t want to recreate your existing favorites/cookies
Note that if you want to save your (existing) cookies and favorites (because you’ve already been using Opera and don't want to lose your stuff), make sure you do NOT delete opera6.adr (favorites) in step 5. Also, make sure you transfer your existing cookies4.dat to the storage card (into \OperaData\Opera) so that your existing cookies will still be accessible.
UPDATE (09/03/2006): you can also relocate the cache only (NOT the other files - that is the history, cookies etc). This can pay off hugely if you use Ramdisks. Please read Solnyshok's tip HERE (in the comment section) for more info.
- Werner Ruotsalainen's blog
- Login to post comments
Printer-friendly version




Yup, it's impossible that the above relocation process would result in losing contacts / appointments. Contacts and other PIM data are stored in the WindowsCE databases, which can't be tampered with if you only do some relocation in the file system (the two are completely unrelated to each other). That is, it's impossible to lose contacts if you delete/relocate any (not just the ones I've recommended for relocation) files in the file system.
You can. I just wanted the tutorial to be as simple and easy-to-follow as possible; this is why I haven't elaborated on the already-installed case.
Do NOT delete the skins subdirectory from the main memory. It MUST remain there (see bullet 6).
Yup, I've also encountered that problem upon testing & writing the tutorial - with me, simply keeping the files in skins was sufficient.
If it doesn't work with you, try moving back all your files to the main memory to see which one causes the problem.
Jacques, you may also want to read http://www.aximsite.com/boards/showthread.php?t=114110 ; it's a bit less verbose than this tutorial. Hope it helps. I also copy the relevant content in here:
Move data and cache around to save memory
By default Opera installed a bunch of files and keeps cache in precious application data space (RAM). At least with the WM2003se version. By moving all of these files to a CF Card or SD memory stick you free up valuable RAM.
1) Edit the "Opera.ini" file located in "\Application Data\Opera"
2) Go to the "[User Prefs]" group
3) Change "Opera Directory=\Application Data\Opera" to a location that you would prefer such as "\cf card\opera"
4) Change "Help Directory=\Application Data\Opera\Help" to a location that you would prefer such as "\cf card\opera\help"
5) Move the following files and folders to the location that you specified above:
cach4 (folder)
help (folder)
imgcss (folder)
startpage (folder)
styles (folder)
chartables.bin
cookies4.dat
global.dat
opcacrt6.dat
opera.dir
oprand.dat
opssl6.dat
viger.dat
vlink4.dat
You are left with these files/folders in "\Application Data\Opera"
skin (folder)
opera6.adr
input.ini
opera.ini
english.lng
Aussie_Andy, you must install Opera itself to the storage card. The above tutorial only descripbes how the contents of \Application Data\Opera can be relocated, NOT \Program Files\Opera
Wolfey, no need to manually relocate the Opera cahce in the final 8.65 any more - if you install it on a card, the cache will also be created there. (Sorry, there're so many guides and articles I've written that I can't update all of the related guides when a new program version deprecates a guide.)
Patrick, OK, posted an update section.