GNU/Linux: Difference between revisions

From Adventure Game Studio | Wiki
Jump to navigation Jump to search
*>Kwill
m (tidied up headings)
No edit summary
(One intermediate revision by one other user not shown)
Line 7: Line 7:
=== Playing games for Linux in Linux ===
=== Playing games for Linux in Linux ===


These should just work! If you have problems, contact the author with your [http://en.wikipedia.org/wiki/Linux_distribution distro] (Ubuntu, Red Hat, ...),  version number, and any other relevant details.
These should just work! If you have problems, contact the author with your {{Wikipedia|Linux_distribution|distro}} (Ubuntu, Red Hat, ...),  version number, and any other relevant details.


To find games, try out [http://feags.sourceforge.net/ Adventure Game Goddess]. This is an open source project that needs developer input.
To find games, try out [http://feags.sourceforge.net/ Adventure Game Goddess]. This is an open source project that needs developer input.
Line 13: Line 13:
=== Playing games for Windows in Linux ===
=== Playing games for Windows in Linux ===


There are several ways you can try to do this:
There are 3 ways you are able to run the windows version of a game.


==== Virtualization ====
1. Use ags for linux
If you have [https://github.com/adventuregamestudio/ags/ ags for linux] installed, you can either create a launcher, or start the game from a terminal.
The syntax is the same:
ags /path_to_game/
From a terminal you can run ags --help to get more command line options.


Create a virtual Windows machine and run the game on that machine. Try [http://www.virtualbox.org/ VirtualBox] or [http://www.vmware.com/ VMware].


==== Emulation ====
2. Use wine
[http://www.winehq.org/ Wine] is an implementation of the windows API.
[http://www.playonlinux.com/ PlayOnLinux] is a game-oriented front-end for Wine.
Use your file manager to go to the directory and double click on the executable.


You can emulate a Windows environment in Linux. Try [http://www.winehq.org/ Wine], even though it is technically not an emulator.
 
3. In a virtual machine
If you have a virtual machine like [http://www.virtualbox.org/ VirtualBox] or [http://www.vmware.com/ VMware] with windows installed in it, you can start that an run the game from there.
 
 
The first option will give you the best performance. The second one will be slightly slower. The third option will be much slower.  


== Creating games in/for Linux ==
== Creating games in/for Linux ==

Revision as of 22:33, 31 March 2014

GNU/Linux is a free operating system for people with beards. AGS does not currently support it directly, so this page provides information to help you create and run games in GNU/Linux.

Information on this topic is scarce, so please add suggestions, details and success stories below.

Playing games in Linux

Playing games for Linux in Linux

These should just work! If you have problems, contact the author with your distro (Ubuntu, Red Hat, ...), version number, and any other relevant details.

To find games, try out Adventure Game Goddess. This is an open source project that needs developer input.

Playing games for Windows in Linux

There are 3 ways you are able to run the windows version of a game.

1. Use ags for linux If you have ags for linux installed, you can either create a launcher, or start the game from a terminal. The syntax is the same: ags /path_to_game/ From a terminal you can run ags --help to get more command line options.


2. Use wine Wine is an implementation of the windows API. PlayOnLinux is a game-oriented front-end for Wine. Use your file manager to go to the directory and double click on the executable.


3. In a virtual machine If you have a virtual machine like VirtualBox or VMware with windows installed in it, you can start that an run the game from there.


The first option will give you the best performance. The second one will be slightly slower. The third option will be much slower.

Creating games in/for Linux

Editing games in Linux

To run the AGS Editor in Linux you will have to use an emulator like Wine (see above).

Packaging games for (Ubuntu) Linux

To create a game that others can run in Linux (specifically Ubuntu), you need the AGS runtime binaries for Linux known as the AGS Linux port. This was originally created by Shawn Walker, and is now maintained by Tom Vandepoele.