Jump to content

PlayOnLinux: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
AsciiWolf (talk | contribs)
m new version
Line 6: Line 6:
| logo alt =
| logo alt =
| logo caption =
| logo caption =
| screenshot = PlayOnLinux-Screenshot.png<!-- Image name is enough -->
| screenshot = PlayOnLinux-Screenshot.png
| screenshot size =
| screenshot size =
| screenshot alt =
| screenshot alt =
Line 15: Line 15:
| released = {{Start date and age|2007}}
| released = {{Start date and age|2007}}
| discontinued =
| discontinued =
| latest release version = 4.2.10
| latest release version = 4.2.12
| latest release date = {{Start date and age|2016|01|3|df=yes}}
| latest release date = {{Start date and age|2017|06|19|df=yes}}
| latest preview version =
| latest preview version =
| latest preview date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| latest preview date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->

Revision as of 20:32, 20 June 2017

Developer(s)Quentin PÂRIS and Aymeric PETIT
Initial release2007; 17 years ago (2007)
Stable release
4.2.12 / 19 June 2017; 7 years ago (2017-06-19)
Repository
Written inPython (wxPython)
Operating systemLinux, FreeBSD,[1] macOS[2]
TypeCompatibility layer
LicenseGPL/LGPL
Websitewww.playonlinux.com

PlayOnLinux is a graphical front-end for the Wine software compatibility layer which allows Linux users to install Windows-based video games, Microsoft Office (2000 to 2010), Microsoft Internet Explorer, as well as many other applications such as Apple iTunes and Safari.[3][4]

While initially developed for Linux based systems, it is also used on macOS and FreeBSD under the names PlayOnMac and PlayOnBSD. It can also be used on other operating systems supported by Wine.

Internals

PlayOnLinux is developed using a combination of Bash, Python and wxPython.

The system provides wrapper shell scripts that specify the configuration of Wine needed in order to install and run a particular application.

It uses an online database of scripts to apply to different applications that need special configuration; if the game is not in the database, a manual installation can be performed. Programs can be installed and each one is put in a different container (WINEPREFIX) to prevent interference of one with another. This provides isolation in much the same way that CrossOver's bottles work. Thus, applications may use different versions and configurations of Wine as appropriate. The installation of these is managed by the PlayOnLinux software itself without the requirement to install Wine separately.

The program also allows the user to create virtual partitions, in which specific programs can be installed with different Wine versions and programs, similar to a multi-boot computer.

Scripting language

PlayOnLinux includes advanced functions in bash allowing the community to make scripts easily by controlling the installation process.[5] Each supported program has its own script written in this language.

For example, the simple following script will popup a setup window with the message Hello World:

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
POL_SetupWindow_Init
 
POL_SetupWindow_message "Hello World!" "My first message"
 
POL_SetupWindow_Close
exit

See also

References

  1. ^ "PlayOnBSD". FreshPorts.
  2. ^ "PlayOnMac".
  3. ^ "Play on Linux". Play on Linux. Retrieved 27 April 2010.
  4. ^ Lifehacker: PlayOnLinux Installs Windows Games and Programs on Linux Hassle-Free Accessed:4/23/2012
  5. ^ "Documentation - PlayOnLinux".