Methods
adobeair() → {Wine}
Verb to install adobeair
Returns:
Wine object
- Type
- Wine
amstream() → {Wine}
Verb to install amstream
Returns:
Wine object
- Type
- Wine
architecture() → {string}
Returns:
architecture ("x86" or "amd64")
- Type
- string
atmlib() → {Wine}
Verb to install atmlib
Returns:
Wine object
- Type
- Wine
availableDistributions(architectureopt) → {Array.<string>}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
architecture |
string |
<optional> |
current architecture |
Returns:
- Type
- Array.<string>
availableVersions(distribution nameopt) → {Array.<string>}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
distribution name |
string |
<optional> |
current distribution |
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 |
Returns:
path to "wine" binary
- Type
- string
corefonts() → {Wine}
Verb to install corefonts
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) |
Returns:
current cpuCycles
- Type
- string
create() → {Wine}
runs "wineboot"
Returns:
The Wine object
- Type
- Wine
crypt32() → {Wine}
Verb to install crypt32
Returns:
Wine object
- Type
- Wine
d3drm() → {Wine}
Verb to install d3drm
Returns:
Wine object
- Type
- Wine
d3dx9() → {Wine}
Verb to install D3DX9
Returns:
Wine object
- Type
- Wine
d3dx10() → {Wine}
Verb to install D3DX10
Returns:
Wine object
- Type
- Wine
d3dx11() → {Wine}
Verb to install D3DX11
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
Returns:
Wine object
- Type
- Wine
DirectDrawRenderer(mode) → {Wine}
force the DirectDrawRenderer
Parameters:
Name | Type | Description |
---|---|---|
mode |
string | (gdi or opengl) |
Returns:
Wine object
- Type
- Wine
dosbox() → {Wine}
This extensions allows script to add extra settings to dos_support wine builds
Returns:
Wine object
- Type
- Wine
dosConfigFile() → {string}
Fetch the prefix dosbox configuration file
Returns:
The dosbox configuration file path
- Type
- string
dotnet20() → {Wine}
Verb to install .NET 2.0
Returns:
Wine object
- Type
- Wine
dotnet20sp2() → {Wine}
Verb to install .NET 2.0 SP2
Returns:
Wine object
- Type
- Wine
dotnet40() → {Wine}
Verb to install .NET 4.0
Returns:
Wine object
- Type
- Wine
dotnet45() → {Wine}
Verb to install .NET 4.5
Returns:
Wine object
- Type
- Wine
dotnet46() → {Wine}
Verb to install .NET 4.6
Returns:
Wine object
- Type
- Wine
dotnet452() → {Wine}
Verb to install .NET 4.5.2
Returns:
Wine object
- Type
- Wine
dotnet461() → {Wine}
Verb to install .NET 4.6.1
Returns:
Wine object
- Type
- Wine
dotnet462() → {Wine}
Verb to install .NET 4.6.2
Returns:
Wine object
- Type
- Wine
dotnet472() → {Wine}
Verb to install .NET 4.7.2
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
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 |
Returns:
Wine object
- Type
- Wine
fontDirectory() → {string}
Returns:
font directory
- Type
- string
fontSmoothing(mode) → {Wine}
Force the Font smoothing
Parameters:
Name | Type | Description |
---|---|---|
mode |
string | ("RGB", "BGR" or "Gray Scale") |
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 |
Returns:
Wine object
- Type
- Wine
gdiplus() → {Wine}
Verb to install gdiplus
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) |
Returns:
The value (example: 64)
- Type
- *
getSettings() → {Object}
Fetch all prefix dosbox sttings
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 |
Returns:
get: if is hdpi, set: Wine object
- Type
- boolean | Wine
kill() → {Wine}
kill wine server
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 |
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 |
Returns:
current memory size
- Type
- string
mfc42() → {Wine}
Verb to install mfc42.dll and mfc42u.dll
Returns:
Wine object
- Type
- Wine
msls31() → {Wine}
Verb to install msls31.dll
Returns:
Wine object
- Type
- Wine
mspatcha() → {Wine}
Verb to install mspatcha
Returns:
Wine object
- Type
- Wine
msxml3() → {Wine}
Verb to install msxml3
Returns:
Wine object
- Type
- Wine
msxml6() → {Wine}
Verb to install msxml6
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) |
Returns:
get: native application, set: Wine object
- Type
- string | Wine
physx() → {Wine}
Verb to install Nvidia PhysX
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> |
Returns:
- Type
- string | Wine
prefixDirectory() → {string}
returns prefix directory
Returns:
- Type
- string
programFiles() → {string}
Returns:
name of "Program Files"
- Type
- string
quartz() → {Wine}
Verb to install quartz
Returns:
Wine object
- Type
- Wine
quicktime76() → {Wine}
Verb to install QuickTime 7.6
Returns:
Wine object
- Type
- Wine
regedit() → {Wine}
Regedit support
Returns:
Wine object
- Type
- Wine
regsvr32() → {Wine}
runs "regsvr32"
Returns:
Wine object
- Type
- Wine
removeMono() → {Wine}
Verb to remove mono
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 |
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 |
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 |
Returns:
output
- Type
- String
runInsidePrefix(executable, argsopt, waitopt)
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
executable |
string | |||
args |
array |
<optional> |
[] | |
wait |
boolean |
<optional> |
false |
sandbox() → {Wine}
Verb to install a sandbox
Returns:
Wine object
- Type
- Wine
secur32() → {Wine}
Verb to install secur32
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) |
Returns:
- Type
- void
setSoundDriver(driver) → {Wine}
sets sound driver
Parameters:
Name | Type | Description |
---|---|---|
driver |
string | (alsa, pulse) |
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 |
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 |
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) |
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 |
Returns:
Wine object
- Type
- Wine
system32directory() → {string}
Returns:
system32 directory
- Type
- string
system64directory() → {string}
Returns:
system64 directory
- Type
- string
tahoma() → {Wine}
Verb to install the Tahoma font
Returns:
Wine object
- Type
- Wine
uninstall(name) → {bool}
uninstall application
Parameters:
Name | Type | Description |
---|---|---|
name |
string | of the application which shall be uninstalled |
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) |
Returns:
Wine object
- Type
- Wine
UseTakeFocus(mode) → {Wine}
force the UseTakeFocus
Parameters:
Name | Type | Description |
---|---|---|
mode |
string | ("Y" or "N") |
Returns:
Wine object
- Type
- Wine
vcrun6sp6() → {Wine}
Verb to install vcrun6sp6
Returns:
Wine object
- Type
- Wine
vcrun2003() → {Wine}
Verb to install vcrun2003
Returns:
Wine object
- Type
- Wine
vcrun2005() → {Wine}
Verb to install vcrun2005
Returns:
Wine object
- Type
- Wine
vcrun2008() → {Wine}
Verb to install vcrun2008
Returns:
Wine object
- Type
- Wine
vcrun2010() → {Wine}
Verb to install vcrun2010
Returns:
Wine object
- Type
- Wine
vcrun2012() → {Wine}
Verb to install vcrun2012
Returns:
Wine object
- Type
- Wine
vcrun2013() → {Wine}
Verb to install vcrun2013
Returns:
Wine object
- Type
- Wine
vcrun2015() → {Wine}
Verb to install vcrun2015
Returns:
Wine object
- Type
- Wine
vcrun2017() → {Wine}
Verb to install vcrun2017
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
Returns:
Wine object
- Type
- Wine
wait() → {Wine}
wait until wineserver finishes
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 |
Returns:
get: Windows version, set: Wine object
- Type
- string | Wine
winepath(pathopt) → {String}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
path |
String |
<optional> |
Returns:
- Type
- String
wineServer(wineserver)
executes wineserver in current prefix
Parameters:
Name | Type | Description |
---|---|---|
wineserver |
string | parameter |
wizard(wizardopt) → {SetupWizard|Wine}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
wizard |
SetupWizard |
<optional> |
Returns:
- Type
- SetupWizard | Wine
xact() → {Wine}
Verb to install xact
- Source:
Returns:
Wine object
- Type
- Wine