Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: lacanian on March 02, 2015, 03:15:53 am

Title: GroovyArcade Support - FightCade Install Help
Post by: lacanian on March 02, 2015, 03:15:53 am
Can someone please help me install FightCade on GroovyArcade. Most likely its just a matter of sorting out the required packages.

I'm hoping that FightCade can become a standard inclusion in FightCade. However first lets get it setup and working in GroovyArcade first.

The install.sh file included in the FightCade tarball is just an apt-get command to pull down the required packages. Apt-get is used in Debian distributions.

Code: [Select]
# cat install.sh
sudo apt-get install wine python-qt4-phonon python-qt4
This is the error after I try installing.
Code: [Select]
[arcade@GroovyArcade FightCade]$ ./fightcade
Traceback (most recent call last):
  File "main.py", line 11, in <module>
    from ggpo.common.controller import Controller
  File "/home/arcade/install_files/FightCade/ggpo/common/controller.py", line 585
    if self.username == p1:
                          ^
TabError: inconsistent use of tabs and spaces in indentation
[arcade@GroovyArcade FightCade]$

FightCade Installation on GroovyArcade

1. From gasetup menu select "6 Exit to Shell" or SSH to the machine.
2. Download the latest version of fightcade
Code: [Select]
[arcade@GroovyArcade ~]$ mkdir install_files
[arcade@GroovyArcade ~]$ cd install_files/
[arcade@GroovyArcade install_files]$ wget http://www.fightcade.com/download/fightcade-linux-v039.tar.gz
3. Unpact the tarball
Code: [Select]
[arcade@GroovyArcade install_files]$ tar zxvf fightcade-linux-v039.tar.gz4. Install the required dependencies.
- wine - A compatibility layer for running Windows programs
- python-qt4-phonon - The Phonon module of PyQt4 provides bindings for the Phonon Multimedia library to Python.
- python-qt4 - PyQt4 exposes the Qt4 API to Python.

Someone can verify if the below package are correct.
Code: [Select]
[arcade@GroovyArcade FightCade]$ sudo pacman -S multilib/wine extra/pyqt4-common extra/python-pyqt4 extra/phonon-qt4
resolving dependencies...
:: There are 2 providers available for phonon-qt4-backend:
:: Repository extra
   1) phonon-qt4-gstreamer  2) phonon-qt4-vlc

Enter a number (default=1): 1

My mirrors couldn't download wine, so I decided to upgrade the repos and packages
Code: [Select]
[arcade@GroovyArcade FightCade]$ sudo pacman -Syu

Executing ./install.sh on Debian informs you the following packages will be installed.

DEBIAN Requirements
Code: [Select]
The following extra packages will be installed:
  fonts-freefont-ttf liba52-0.7.4 libaudio2 libcddb2 libcrystalhd3
  libdirac-decoder0 libdvbpsi7 libebml3 libiso9660-8 liblircclient0
  libmatroska5 libmpeg2-4 libmtp-common libmtp-runtime libmtp9
  libmysqlclient18 libphonon4 libpulse-mainloop-glib0 libqt4-dbus
  libqt4-declarative libqt4-designer libqt4-help libqt4-network libqt4-script
  libqt4-scripttools libqt4-sql libqt4-sql-mysql libqt4-svg libqt4-test
  libqt4-xml libqt4-xmlpatterns libqtassistantclient4 libqtcore4 libqtdbus4
  libqtgui4 libqtwebkit4 libresid-builder0c2a libsdl-image1.2 libsidplay2
  libspeexdsp1 libtar0 libtwolame0 libupnp6 libvcdinfo0 libvlc5 libvlccore5
  libwebp2 libxcb-composite0 libxcb-keysyms1 libxcb-randr0 libxcb-xfixes0
  libxcb-xv0 mysql-common phonon phonon-backend-vlc python-sip qdbus vlc
  vlc-data vlc-nox vlc-plugin-notify vlc-plugin-pulse wine64-bin
Suggested packages:
  nas firmware-crystalhd lirc libqt4-declarative-folderlistmodel
  libqt4-declarative-gestures libqt4-declarative-particles
  libqt4-declarative-shaders qt4-qmlviewer libqt4-dev qt4-qtconfig
  phonon-backend-gstreamer phonon-backend-mplayer python-qt4-dbg videolan-doc
The following NEW packages will be installed:
  fonts-freefont-ttf liba52-0.7.4 libaudio2 libcddb2 libcrystalhd3
  libdirac-decoder0 libdvbpsi7 libebml3 libiso9660-8 liblircclient0
  libmatroska5 libmpeg2-4 libmtp-common libmtp-runtime libmtp9
  libmysqlclient18 libphonon4 libpulse-mainloop-glib0 libqt4-dbus
  libqt4-declarative libqt4-designer libqt4-help libqt4-network libqt4-script
  libqt4-scripttools libqt4-sql libqt4-sql-mysql libqt4-svg libqt4-test
  libqt4-xml libqt4-xmlpatterns libqtassistantclient4 libqtcore4 libqtdbus4
  libqtgui4 libqtwebkit4 libresid-builder0c2a libsdl-image1.2 libsidplay2
  libspeexdsp1 libtar0 libtwolame0 libupnp6 libvcdinfo0 libvlc5 libvlccore5
  libwebp2 libxcb-composite0 libxcb-keysyms1 libxcb-randr0 libxcb-xfixes0
  libxcb-xv0 mysql-common phonon phonon-backend-vlc python-qt4
  python-qt4-phonon python-sip qdbus vlc vlc-data vlc-nox vlc-plugin-notify
  vlc-plugin-pulse wine wine64-bin
0 upgraded, 66 newly installed, 0 to remove and 195 not upgraded.
Need to get 45.7 MB of archives.
After this operation, 168 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Title: Re: GroovyArcade Support - FightCade Install Help
Post by: lacanian on May 01, 2015, 05:58:49 am
FightCade has now been updated and includes a Linux installation script.

I have posted a guide on the GroovyArcade on how to install it.

Everything works as normal except scan lines.

https://code.google.com/p/groovyarcade/wiki/FightCade_Install_HowTo?ts=1430474225&updated=FightCade_Install_HowTo
Title: Re: GroovyArcade Support - FightCade Install Help
Post by: Calamity on May 03, 2015, 03:32:49 pm
Hi lacanian,

First of all thanks for taking the time to add documentation to the wiki.

Just one comment: don't take for granted that everyone understands the Linux way of thinking. For instance when you create the symbolic links etc., it would be nice to see one brief comment about what you're trying to achieve (forcing the system to use a different version of python I guess) and why your trick works. In my case, I have some background on computers and am familiar with assembly code since I was 15, however I when looking at Linux I can't avoid feeling it was created by a Martian civilization.

Title: Re: GroovyArcade Support - FightCade Install Help
Post by: lacanian on May 03, 2015, 06:55:42 pm
Hi Calamity,
 Thanks for the feedback. I'll review the documentation I have written to date and see how I can improve it.

I was actually thinking about way to improve the FightCase wiki documentation last night. For example writing a script that completes everything for the user, contacting Ves to see if he can included it in future releases etc. I also contacted the FightCade dev's and asked them to update their script so the required packages where included in the ArchLinux installation script.

I'm impressed! People who know assembly are becoming hard to find. The only time I dealt with it was trying to create buffer overflows.