GNU/Linux: Difference between revisions

From Adventure Game Studio
Jump to navigation Jump to search
No edit summary
No edit summary
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 {{Wikipedia|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. If you have sound problems, make sure there is a alleg-sdl2digi.so in the lib32/lib64 folder. Some AGS Engine Versions didn't add that file.


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 38: Line 38:
=== Editing games in Linux ===
=== Editing games in Linux ===


To run the AGS Editor in Linux you will have to use an emulator like Wine (see above).
To run the AGS Editor in Linux you will have to use a compatibility layer like Wine (see above). But WINE does not work very well, better follow this: https://www.youtube.com/watch?v=gy0EWSkol50


=== Packaging games for (Ubuntu) Linux ===
=== 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 [http://t-vandepoele.be/AGS/ AGS Linux port]. This was originally created by Shawn Walker, and is now maintained by Tom Vandepoele.
To create a game that others can run in Linux (specifically Ubuntu), you need the AGS runtime binaries for Linux known as the [http://t-vandepoele.be/AGS/ AGS Linux port]. This was originally created by Shawn Walker, and is now maintained by Tom Vandepoele.

Revision as of 11:35, 17 August 2020

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. If you have sound problems, make sure there is a alleg-sdl2digi.so in the lib32/lib64 folder. Some AGS Engine Versions didn't add that file.

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 a compatibility layer like Wine (see above). But WINE does not work very well, better follow this: https://www.youtube.com/watch?v=gy0EWSkol50

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.