Wine is capable of "emulating" many different versions of Windows. Wine is not perfect, however; it runs slower than a normal Windows installation and it is not a stable product. Certain problems occur when running Xnews; these are discussed in the "Problems and Issues" section of the document.
Before Xnews can run under Linux, certain files from a Windows installation need to be copied to the Xnews root directory. Depending on which version of Windows the reader of this document has access to, there will be different files to copy and different instructions for configuring Wine. This document currently covers a Windows 98SE and a Windows XP configuration. A Windows 98SE configuration is preferred, since there are some problems with a Windows XP configuration. Below are the instructions describing how to configure Wine for Xnews.
If the reader of this document has access to a Windows 98SE machine, the Wine configuration (found at $HOME/.wine/config) must be set up according to these instructions.
First, find the section "[Version]" in your .wine/config, and make sure that "win98" is the version Wine will imitate:
[Version] ; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31) "Windows" = "win98" |
Second, update the "DllOverrides" section which will tell Wine to use certain files from Windows rather than Wine.
[DllOverrides] ; some dlls you may want to change "shell" = "native, builtin" "shell32" = "native, builtin" |
Third, add an entry to the "AppDefaults" section which will also tell Wine to use certain files from Windows rather than Wine.
;; sample AppDefaults entries [AppDefaults\\Xnews.exe\\DllOverrides] "commctrl.dll" = "native" "comctl32.dll" = "native" "riched32.dll" = "native" "shell.dll" = "native" "shell32.dll" = "native" "comdlg32.dll" = "native" |
If the reader of this document has access to a Windows XP machine, the Wine configuration (found at $HOME/.wine/config) must be set up according to these instructions.
First, find the section "[Version]" in your .wine/config, and make sure that "winxp" is the version Wine will imitate:
[Version] ; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31) "Windows" = "winxp" |
Second, add an entry to the "AppDefaults" section which will tell Wine to use certain files from Windows rather than Wine.
;; sample AppDefaults entries [AppDefaults\\Xnews.exe\\DllOverrides] "comctl32.dll" = "native" "riched32.dll" = "native" "riched20.dll" = "native" |
Several DLL files must first be copied to the root Xnews directory from an existing Windows installation.
If Xnews lies on a Windows partition on the same machine, the DLL files must be copied to the Xnews root directory. Xnews will be run from this directory on the Windows partition.
If Xnews is being run on a Linux-only machine, Xnews must be extracted (or copied from a Windows machine) to the user's fake C drive (usually $HOME/c), and the root Xnews directory must include the following DLL files.