Menu

Compile in Arch Linux

cu den
2016-12-14
2017-01-14
  • cu den

    cu den - 2016-12-14

    is there instruction on getting pfeMame to work on Arch linux? tried to compile but got "unknown module py2exe"

     
  • cu den

    cu den - 2016-12-15

    had to install python2 and wxpython .. then was able to launch using: python2 ./pfemame.py

     

    Last edit: cu den 2016-12-15
  • finchy

    finchy - 2017-01-14

    pre-bundled version for Linux is available on the downloads page but it was built in Ubuntu so may not work on other linux variants. Once you have installed python & wxpython you can build your own using pyinstaller.py. If you do this you need to include a number of files in the build otherwise running the executable will fail. Do the following;

    use pyinstaller

    If you have made any recent operating system changes, you may need to update pyinstaller. Do so as follows;
    sudo pip install pyinstaller
    sudo pip install --upgrade pyinstaller

    open a terminal window, change to the source folder you wish to build and execute the following (it is suggested you copy your source folder to a temporary folder so that you dont add unwanted build files to your main source folder);
    pyinstaller pfemame.py

    You should now have a build and dist folder. The dist folder is the one you're looking for. Now from your source folder you need to copy into the dist folder the following additional files for pfemame;
    catver.ini
    changelog.doc
    pfemame.ico
    controls.txt
    icons (folder)
    images (folder)

    Then you need to run your development version of pfemame and use select all in the game categories. Then copy this categories.dat file to your distribution folder.

     

Log in to post a comment.