Installing Tuxemon

Avatar

By ShadowApex 15 Sep 2014 20:51

Lead Developer · 370 comments

Tuxemon is currently alpha-level software. Some game functionality may not yet be implemented and the game may crash at certain points in the game. You can use the installation instructions linked below to install the game. If you can't get the game running with these instructions, you can post about your issue in this forum. When posting, please provide the platform you are trying to run the game from (Windows, Mac, Ubuntu, Fedora, etc.) and the error that you received when trying to run the game.

We currently do not yet have instructions to run the game on Mac OSX. If you have gotten Tuxemon running on Mac OSX and would like to contribute instructions on how to do so, contact us and we can provide these instructions on our website.

Installation Instructions


EDIT: Added Mac OS X instructions courtesy of Roxsen.


Avatar

By Roxsen 25 Jan 2015 03:25

New member · 3 comments

Thought I would help out quickly,

How to compile and Run on OSX:

Download Tuxemon latest version from http://www.tuxemon.org/files/tuxemon-devel.tgz

From terminal Install homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

Tell Homebrew you want to use python and then update

brew tap Homebrew/python
brew update

I installed homebrew's version of python as it is newer/better than the default one in osx

brew install python

Install all the dependencies via pip

pip install pysqlite
pip install twisted
pip install pytmx
pip install pillow

Pillow is a newer version of imaging that works with osx and is still maintained.

then all you need to do is run the actual game

cd directory/of/tuxemon
python tuxemon.py

EDIT: Forgot to mention this was tested on OSX Yosemite.

Last edited by Roxsen (25 Jan 2015 03:39)

Avatar

By WorkOfCode 20 Jun 2017 23:35

New member · 1 comments

Can we please get a review into the installation on Mac? I've been unable to install following the above instructions.
Ran into this error whilst trying to run the final step:

Allans-MacBook-Pro:tuxemon allan$ ulimit -n 10000; python tuxemon.py
-bash: ulimit: open files: cannot modify limit: Operation not permitted
Traceback (most recent call last):
  File "tuxemon.py", line 59, in <module>
    from core.main import main
  File "/Users/allan/Documents/tuxemon/core/main.py", line 33, in <module>
    from . import prepare
  File "/Users/allan/Documents/tuxemon/core/prepare.py", line 38, in <module>
    import pygame as pg
ImportError: No module named pygame
Allans-MacBook-Pro:tuxemon allan$ 

Last edited by WorkOfCode (20 Jun 2017 23:35)


Fulltime Webdev, hobbiest game modder.

Avatar

By Sanglorian 9 Aug 2017 12:17

Champion · 431 comments

Thanks for the details, ShadowApex. A small note for the Windows instructions: the link for get-pip is no longer:
https://raw.github.com/pypa/pip/master/ … get-pip.py

Is the current development branch meant to work? I couldn't get it to work, even though when I downloaded the zip of tuxemon_unstable_latest and played that it worked (and I could import my maps and get that to work too).

Avatar

By bitcraft 14 Aug 2017 02:17

Champion · 140 comments
WorkOfCode wrote

Can we please get a review into the installation on Mac? I've been unable to install following the above instructions.
Ran into this error whilst trying to run the final step:

Allans-MacBook-Pro:tuxemon allan$ ulimit -n 10000; python tuxemon.py
-bash: ulimit: open files: cannot modify limit: Operation not permitted
Traceback (most recent call last):
  File "tuxemon.py", line 59, in <module>
    from core.main import main
  File "/Users/allan/Documents/tuxemon/core/main.py", line 33, in <module>
    from . import prepare
  File "/Users/allan/Documents/tuxemon/core/prepare.py", line 38, in <module>
    import pygame as pg
ImportError: No module named pygame
Allans-MacBook-Pro:tuxemon allan$ 

Those directions are missing installation of pygame.  Also, it seems to include things not needed, like twisted.  Have you tried the install instructions on the github page?

https://github.com/Tuxemon/Tuxemon#installation