Class: Wine

Wine()

Wine main prototype

Constructor

new Wine()

Source:

Methods

adobeair() → {Wine}

Verb to install adobeair
Source:
Returns:
Wine object
Type
Wine

amstream() → {Wine}

Verb to install amstream
Source:
Returns:
Wine object
Type
Wine

architecture() → {string}

Source:
Returns:
architecture ("x86" or "amd64")
Type
string

atmlib() → {Wine}

Verb to install atmlib
Source:
Returns:
Wine object
Type
Wine

availableDistributions(architectureopt) → {Array.<string>}

Parameters:
Name Type Attributes Default Description
architecture string <optional>
current architecture
Source:
Returns:
Type
Array.<string>

availableVersions(distribution nameopt) → {Array.<string>}

Parameters:
Name Type Attributes Default Description
distribution name string <optional>
current distribution
Source:
Returns:
Type
Array.<string>

binPath(subCategoryopt, versionopt) → {string}

returns the path to the engine binary directory if no parameters are given, the Wine version of the current prefix is used
Parameters:
Name Type Attributes Description
subCategory string <optional>
Wine sub-category
version string <optional>
Wine version
Source:
Returns:
path to "wine" binary
Type
string

corefonts() → {Wine}

Verb to install corefonts
Source:
Returns:
Wine object
Type
Wine

cpuCycles(cpuCycles) → {string}

Sets CPU cycles in the current prefix https://www.dosbox.com/wiki/dosbox.conf#.5Bcpu.5D
Parameters:
Name Type Description
cpuCycles * (example: max 95% limit 33000)
Source:
Returns:
current cpuCycles
Type
string

create() → {Wine}

runs "wineboot"
Source:
Returns:
The Wine object
Type
Wine

crypt32() → {Wine}

Verb to install crypt32
Source:
Returns:
Wine object
Type
Wine

d3drm() → {Wine}

Verb to install d3drm
Source:
Returns:
Wine object
Type
Wine

d3dx9() → {Wine}

Verb to install D3DX9
Source:
Returns:
Wine object
Type
Wine

d3dx10() → {Wine}

Verb to install D3DX10
Source:
Returns:
Wine object
Type
Wine

d3dx11() → {Wine}

Verb to install D3DX11
Source:
Returns:
Wine object
Type
Wine

D9VK(d9vkVersion) → {Wine}

Verb to install D9VK see: https://github.com/Joshua-Ashton/d9vk/
Parameters:
Name Type Description
d9vkVersion String D9VK version to download
Source:
Returns:
Wine object
Type
Wine

devenum() → {Wine}

Verb to install devenum
Source:
Returns:
Wine object
Type
Wine

DirectDrawRenderer(mode) → {Wine}

force the DirectDrawRenderer
Parameters:
Name Type Description
mode string (gdi or opengl)
Source:
Returns:
Wine object
Type
Wine

dosbox() → {Wine}

This extensions allows script to add extra settings to dos_support wine builds
Source:
Returns:
Wine object
Type
Wine

dosConfigFile() → {string}

Fetch the prefix dosbox configuration file
Source:
Returns:
The dosbox configuration file path
Type
string

dotnet20() → {Wine}

Verb to install .NET 2.0
Source:
Returns:
Wine object
Type
Wine

dotnet20sp2() → {Wine}

Verb to install .NET 2.0 SP2
Source:
Returns:
Wine object
Type
Wine

dotnet40() → {Wine}

Verb to install .NET 4.0
Source:
Returns:
Wine object
Type
Wine

dotnet45() → {Wine}

Verb to install .NET 4.5
Source:
Returns:
Wine object
Type
Wine

dotnet46() → {Wine}

Verb to install .NET 4.6
Source:
Returns:
Wine object
Type
Wine

dotnet452() → {Wine}

Verb to install .NET 4.5.2
Source:
Returns:
Wine object
Type
Wine

dotnet461() → {Wine}

Verb to install .NET 4.6.1
Source:
Returns:
Wine object
Type
Wine

dotnet462() → {Wine}

Verb to install .NET 4.6.2
Source:
Returns:
Wine object
Type
Wine

dotnet472() → {Wine}

Verb to install .NET 4.7.2
Source:
Returns:
Wine object
Type
Wine

DXVK(dxvkVersion) → {Wine}

Verb to install DXVK see: https://github.com/doitsujin/dxvk/
Parameters:
Name Type Description
dxvkVersion String DXVK version to download
Source:
Returns:
Wine object
Type
Wine

enableCSMT() → {Wine}

enable command stream multi-threading
Source:
Returns:
Wine object
Type
Wine

faudio(faudioVersion) → {Wine}

Verb to install FAudio see: https://github.com/Kron4ek/FAudio-Builds
Parameters:
Name Type Description
faudioVersion String version of FAudio to downlaod
Source:
Returns:
Wine object
Type
Wine

fontDirectory() → {string}

Source:
Returns:
font directory
Type
string

fontSmoothing(mode) → {Wine}

Force the Font smoothing
Parameters:
Name Type Description
mode string ("RGB", "BGR" or "Gray Scale")
Source:
Returns:
Wine object
Type
Wine

gallium9(gallium9Version) → {Wine}

Verb to install Gallium 9 Standalone see: https://github.com/iXit/wine-nine-standalone/
Parameters:
Name Type Description
gallium9Version String Gallium 9 Standalone version to download
Source:
Returns:
Wine object
Type
Wine

gdiplus() → {Wine}

Verb to install gdiplus
Source:
Returns:
Wine object
Type
Wine

getSetting(key) → {*}

Get one dosbox setting
Parameters:
Name Type Description
key string The key of the setting (example dosbox_memsize)
Source:
Returns:
The value (example: 64)
Type
*

getSettings() → {Object}

Fetch all prefix dosbox sttings
Source:
Returns:
All the settings
Type
Object

hdpi(hdpiopt) → {boolean|Wine}

gets/sets hdpi state
Parameters:
Name Type Attributes Description
hdpi boolean <optional>
true if hdpi shall be enabled
Source:
Returns:
get: if is hdpi, set: Wine object
Type
boolean | Wine

kill() → {Wine}

kill wine server
Source:
Returns:
Type
Wine

luna() → {Wine}

Verb to install luna
Source:
Returns:
Wine object
Type
Wine

managed(managedopt) → {boolean|Wine}

gets/sets managed state
Parameters:
Name Type Attributes Description
managed boolean <optional>
true if it shall be managed
Source:
Returns:
get: if is managed, set: Wine object
Type
boolean | Wine

memSize(memSize) → {string}

Sets dosbox_memsize parameter in the current prefix https://www.dosbox.com/wiki/dosbox.conf#.5Bdosbox.5D
Parameters:
Name Type Description
memSize int The memory size
Source:
Returns:
current memory size
Type
string

mfc42() → {Wine}

Verb to install mfc42.dll and mfc42u.dll
Source:
Returns:
Wine object
Type
Wine

msls31() → {Wine}

Verb to install msls31.dll
Source:
Returns:
Wine object
Type
Wine

mspatcha() → {Wine}

Verb to install mspatcha
Source:
Returns:
Wine object
Type
Wine

msxml3() → {Wine}

Verb to install msxml3
Source:
Returns:
Wine object
Type
Wine

msxml6() → {Wine}

Verb to install msxml6
Source:
Returns:
Wine object
Type
Wine

nativeApplication(extensionopt) → {string|Wine}

use native application for a certain file extension
Parameters:
Name Type Attributes Description
extension string <optional>
file extension (pdf, txt, rtf)
Source:
Returns:
get: native application, set: Wine object
Type
string | Wine

physx() → {Wine}

Verb to install Nvidia PhysX
Source:
Returns:
Wine object
Type
Wine

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

Parameters:
Name Type Attributes Description
prefix string <optional>
distribution string <optional>
architecture string <optional>
version string <optional>
Source:
Returns:
Type
string | Wine

prefixDirectory() → {string}

returns prefix directory
Source:
Returns:
Type
string

programFiles() → {string}

Source:
Returns:
name of "Program Files"
Type
string

quartz() → {Wine}

Verb to install quartz
Source:
Returns:
Wine object
Type
Wine

quicktime76() → {Wine}

Verb to install QuickTime 7.6
Source:
Returns:
Wine object
Type
Wine

regedit() → {Wine}

Regedit support
Source:
Returns:
Wine object
Type
Wine

regsvr32() → {Wine}

runs "regsvr32"
Source:
Returns:
Wine object
Type
Wine

removeMono() → {Wine}

Verb to remove mono
Source:
Returns:
Wine object
Type
Wine

renderAspect(renderAspect) → {string}

Sets render_aspect parameter in the current prefix https://www.dosbox.com/wiki/dosbox.conf#.5Brender.5D
Parameters:
Name Type Description
renderAspect boolean The render aspect
Source:
Returns:
current renderAspect
Type
string

renderFrameSkip(renderFrameSkip) → {string}

Sets render_frameskip parameter in the current prefix https://www.dosbox.com/wiki/dosbox.conf#.5Brender.5D
Parameters:
Name Type Description
renderFrameSkip int The render frameskip
Source:
Returns:
current frameskip
Type
string

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

Parameters:
Name Type Attributes Default Description
executable string
args array <optional>
[]
workingDirectory string <optional>
working container
captureOutput boolean <optional>
false
wait boolean <optional>
false
userData map <optional>
empty
Source:
Returns:
output
Type
String

runInsidePrefix(executable, argsopt, waitopt)

Parameters:
Name Type Attributes Default Description
executable string
args array <optional>
[]
wait boolean <optional>
false
Source:

sandbox() → {Wine}

Verb to install a sandbox
Source:
Returns:
Wine object
Type
Wine

secur32() → {Wine}

Verb to install secur32
Source:
Returns:
Wine object
Type
Wine

setSetting(key, value) → {void}

Set a setting in the prefix dosbox configuration file
Parameters:
Name Type Description
key string The key (example: dosbox_memsize)
value * The value (example: 64)
Source:
Returns:
Type
void

setSoundDriver(driver) → {Wine}

sets sound driver
Parameters:
Name Type Description
driver string (alsa, pulse)
Source:
Returns:
Wine object
Type
Wine

setting(key, value:) → {*}

Set or get one dosbox setting
Parameters:
Name Type Description
key string The key of the setting (example dosbox_memsize)
value: string The value to be set
Source:
Returns:
The value (example: 64) if this is a getter, the same object otherwise
Type
*

setVersionGL(major, minor) → {Wine}

sets OpenGL max core version
Parameters:
Name Type Description
major number major version
minor number minor version
Source:
Returns:
Wine object
Type
Wine

setVirtualDesktop(width, height) → {Wine}

sets Virtual Desktop with window resolution
Parameters:
Name Type Description
width number width of virtual desktop (in px)
height number height of virtual desktop (in px)
Source:
Returns:
Wine object
Type
Wine

sp3extract(fileToExtract) → {Wine}

Verb to install Windows XP Service Pack 3
Parameters:
Name Type Description
fileToExtract string path to file which shall be extracted
Source:
Returns:
Wine object
Type
Wine

system32directory() → {string}

Source:
Returns:
system32 directory
Type
string

system64directory() → {string}

Source:
Returns:
system64 directory
Type
string

tahoma() → {Wine}

Verb to install the Tahoma font
Source:
Returns:
Wine object
Type
Wine

uninstall(name) → {bool}

uninstall application
Parameters:
Name Type Description
name string of the application which shall be uninstalled
Source:
Returns:
true if an application has been uninstalled, false otherwise
Type
bool

uplay() → {Wine}

Verb to install Uplay
Source:
Returns:
Wine object
Type
Wine

UseGLSL(mode) → {Wine}

force the Use of GLSL
Parameters:
Name Type Description
mode string (enabled or disabled)
Source:
Returns:
Wine object
Type
Wine

UseTakeFocus(mode) → {Wine}

force the UseTakeFocus
Parameters:
Name Type Description
mode string ("Y" or "N")
Source:
Returns:
Wine object
Type
Wine

vcrun6sp6() → {Wine}

Verb to install vcrun6sp6
Source:
Returns:
Wine object
Type
Wine

vcrun2003() → {Wine}

Verb to install vcrun2003
Source:
Returns:
Wine object
Type
Wine

vcrun2005() → {Wine}

Verb to install vcrun2005
Source:
Returns:
Wine object
Type
Wine

vcrun2008() → {Wine}

Verb to install vcrun2008
Source:
Returns:
Wine object
Type
Wine

vcrun2010() → {Wine}

Verb to install vcrun2010
Source:
Returns:
Wine object
Type
Wine

vcrun2012() → {Wine}

Verb to install vcrun2012
Source:
Returns:
Wine object
Type
Wine

vcrun2013() → {Wine}

Verb to install vcrun2013
Source:
Returns:
Wine object
Type
Wine

vcrun2015() → {Wine}

Verb to install vcrun2015
Source:
Returns:
Wine object
Type
Wine

vcrun2017() → {Wine}

Verb to install vcrun2017
Source:
Returns:
Wine object
Type
Wine

VK9(vk9Version) → {Wine}

Verb to install VK9 see: https://github.com/disks86/VK9
Parameters:
Name Type Description
vk9Version String VK9 version to install
Source:
Returns:
Wine object
Type
Wine

vulkanSDK() → {Wine}

All the necessary things to run winevulkan (even inside wine mainline or newest wine-staging) see: https://github.com/roderickc/wine-vulkan
Source:
Returns:
Wine object
Type
Wine

wait() → {Wine}

wait until wineserver finishes
Source:
Returns:
Type
Wine

windowsVersion(version, servicePackopt) → {string|Wine}

default windows version
Parameters:
Name Type Attributes Description
version string (win7, vista, win2003, winxp, win2k, winnt, winme, win98, win95, win31)
servicePack string <optional>
e.g. sp3
Source:
Returns:
get: Windows version, set: Wine object
Type
string | Wine

winepath(pathopt) → {String}

Parameters:
Name Type Attributes Description
path String <optional>
Source:
Returns:
Type
String

wineServer(wineserver)

executes wineserver in current prefix
Parameters:
Name Type Description
wineserver string parameter
Source:

wizard(wizardopt) → {SetupWizard|Wine}

Parameters:
Name Type Attributes Description
wizard SetupWizard <optional>
Source:
Returns:
Type
SetupWizard | Wine

xact() → {Wine}

Verb to install xact
Source:
Returns:
Wine object
Type
Wine