Bart's Bootable PE Builder CD: Opera 7.23 modular plugin

5/06/04: v2.4: Thanks to Gary for discovering this issue. The self-extracting 
         executable requires the CRTDLL.DLL (C runtime library) file in system32 - 
         if you already have the DOSPE (16-bit DOS support) plugin enabled, that 
         file is added to BartPE and you will never see a problem. This was the case 
         with my previous testing. Now CRTDLL.DLL is added to the INF (redundancy 
         with DOSPE or some other plugin is no issue). 

         Opera7.exe was also packed to a smaller file size and the unpack progress 
         bar added for visual confirmation; SED reverted to same version as Unix 
         Utilities for smaller file size.

4/16/04: v2.3: NOW it's final. Thanks to "J" for pointing out a bug in the INF 
	   that prevented the s&r function to work correctly. Since my BartPE 
	   already has sed in the system directory, I never caught it. Sorry!

4/15/04: v2.2: The plugin is pretty much in its finalized 
	   state now. I figured out a roundabout way to replace all %temp% variables in 
	   the Opera INI files with actual drive letters, therefore getting rid of 
	   pretty much all potential issues including the M2 error and missing 
	   file-list icons. So, now you can *really* have your Ramdrive 
	   at any drive letter! All you need to do is replace your custom INI local 
	   drive strings to +temp+. That's IT. :)

4/13/04: v2.1: added the other empty customization folders to the INF. 
	   Also edited these notes because I completely forgot Opera *includes* the Flash 
	   plugin already. Obviously I so rarely enable it that I couldn't tell the 
	   difference. Whoops! 
4/11/04: v2.0: modular plugin no longer requires Ramdisk at B:, uses 
         %temp% variable (ramdisk anywhere) with a couple exceptions.


Ramdisk enabled (as temp directory variable; will need around 5MB in the Ramdisk for the application, disk cache is set to 10MB).


This is a modular, ready to go plugin. The shareware version 7.23 is included as a compressed self-extracting executable to save space. If you don't customize with registration info (below), then a small ad will appear on the upper right corner of the browser. This is really my personal Opera plugin, but I think it might be useful to some other people. My goal was to have a non-frilly DOM browser plugin as small as feasible, but better than the unfortunately out-of-date Off-by-one browser, since I like trying to cram as many useful things into a 185MB cd as possible. This file size falls between OB1 (1MB) and the next smallest browser plugin, K-meleon (5.4MB on cd); it's less than 3.5MB heavy on cd. W3C compliant (HTML4+/XHTML), JS, CSS, tabbing, popup blocking, etc. And a mouse isn't required. :)

As such, many of the precustomizations were done to my preferred specifications:

* NO Java (Java also disabled in INI setup). 
* Flash is included in all Opera browsers since version 5 or so, but in 
  this package it's merely disabled - to enable, just hit F12 while in Opera and click 
  "Enable Plugins." 
* 3rd party cookies on prompt. 
* No frills - standard skin, minimal toolbar, Hotlist closed by default, personal bar 
  and a few other GUI things turned off for more screen space (I put back the toolbar, 
  though, since my Opera has no toolbars), slightly tweaked custom menu.ini, animated 
  GIFs turned off (sorry, I hate anigif banner ads; you can turn it back on easily). 
* All-purpose-search field (default to Google) in the lower right. 
* Can emulate other browser types if some sites have bad browser sniffing. 
  Current browser identification set to Moz 5.
* Popups set to requested-only by default. 
* Homepage set to local keyboard shortcut help file.
* Some other things I'm not remembering. Sorry. The overall look is similar to K-meleon.
* Opera is set as the default browser for HTML documents thanks to registry entries 
  provided by other forum Opera users.


Another goal was to make a plugin I could easily customize. Therefore I tried to make this a modular plugin; the main executable is static, yes, but if you're already an Opera user, there are certain optional customizations you can do: (when editing the INI files, take note that the file format is Unicode/UTF-8)

  • OUsr600.dat (*Registration file if you're registered) should be in the custom\ folder.
  • opera6.adr (bookmarks), opera6.ini (user settings), and other *dat files (e.g. cookies4.dat) should be in custom\profile\ folder.
  • If you add your own *.ini files, search and replace all local paths to +temp+\opera7\! I've added a sample INI file for you to look at in case you're not sure about the format. (The three custom INIs with local paths you can add are OperaDef6.ini, opera6,ini, and mail\index.ini.)
  • To customize the Opera browser GUI language, you will need to download the appropriate language file *.lng add it to custom\, and edit the "Language File" string in your custom opera6.ini to point to it (+temp+\opera7\*.lng).
  • Other customized files should be in their associated folders (e.g. a custom menu INI in custom\profile\menu\, or custom search fields search.ini in custom\).

There are a few other Opera plugins on the forum with additional or different features if you need it, but it should be fairly easy to add additional customizations to the custom\ folder if you look at the required directory tree structure:

[your install path]		[plugin]
   \opera7\              \opera723\custom\
	    \classes                       |
	    \defaults                      |
	    \download                      |
	    \Help                          |
	    \Images                        |
	    \Mail                          \mail
	    \Plugins                       \plugins
	    \profile                       \profile (main user customization settings)
	    \Program                       \program\plugins (netscape plugin emulation)
	    \skin                          \skin
	    \Styles                        \styles

For a lot more information on using Opera, go to their site or read the included off-line manual (Opera's help file) in BartPE.
Some standard settings for Opera
More advanced Opera INI custom settings
Also try searching their very active user support forums for other issues, questions.

Other notes:

Information for target drive (%temp%) and no overwrite are embedded within the self-extracting executable itself. SED was reverted to the same one provided with Unix Utilities. The Opera batch file will work as long as there is some version of sed in the system directory.

Thanks to other Opera users on the forum who worked on other plugins after which I initially modeled this, including Juan, oscar, Teletom (K-meleon), etc.

Comments, suggestions, problems?
- oion

PE Builder/BartPE (c) Bart