Package Details: fofix 3.121-10

Git Clone URL: https://aur.archlinux.org/fofix.git (read-only)
Package Base: fofix
Description: Frets on Fire X (FoFiX). Highly improved version of Frets on Fire
Upstream URL: https://github.com/fofix/fofix
Keywords: fofix fretsonfire game
Licenses: GPL
Groups: games
Replaces: fofix
Submitter: doorknob60
Maintainer: Linkid
Last Packager: Linkid
Votes: 55
Popularity: 0.186381
First Submitted: 2010-09-07 22:42
Last Updated: 2016-09-01 20:50

Latest Comments

Linkid commented on 2016-09-01 20:51

Patch added for the 'tostring' error.

malah commented on 2016-06-20 19:12

Hello, again me, with the fretsonfire patch, I can start the game, but when I load a song, the game crash with this error:

[malah@arch-desktop ~]$ fofix
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/r600_dri.so
libGL: Using DRI2 for screen 0
Fatal Python error: (pygame parachute) Floating Point Exception
/usr/bin/fofix : ligne 3 : 14012 Abandon (core dumped)python2 ./FoFiX.py

Some users have point that pyvorbis can be the error, but I haven't found the patch which was on google code :'( any tips to have this game working ?

Edit: never mind, it was a bad song pack, it works now ;)

malah commented on 2016-06-20 13:25

Hello, I think this package as the same error as fretsonfire with the tostring -> tobyte from python.

[malah@arch-desktop ~]$ fofix
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/r600_dri.so
libGL: Using DRI2 for screen 0
Terminating due to unhandled exception:

Traceback (most recent call last):
File "./FoFiX.py", line 276, in <module>
main()
File "./FoFiX.py", line 175, in main
engine = GameEngine(config)
File "/opt/fofix/src/GameEngine.py", line 597, in __init__
self.data = Data(self.resource, self.svg)
File "/opt/fofix/src/Data.py", line 130, in __init__
self.loadImgDrawing(self, "star1", os.path.join("themes",themename,"star1.png"), textureSize = (128, 128))
File "/opt/fofix/src/Data.py", line 583, in loadImgDrawing
drawing = self.resource.load(target, name, lambda: ImgDrawing(self.svg, fileName), synch = True)
File "/opt/fofix/src/Resource.py", line 246, in load
return l.finish()
File "/opt/fofix/src/Resource.py", line 113, in load
self.result = self.function()
File "/opt/fofix/src/Data.py", line 583, in <lambda>
drawing = self.resource.load(target, name, lambda: ImgDrawing(self.svg, fileName), synch = True)
File "/opt/fofix/src/Svg.py", line 516, in __init__
self.texture = Texture(ImgData)
File "/opt/fofix/src/Texture.py", line 66, in __init__
self.loadFile(name)
File "/opt/fofix/src/Texture.py", line 70, in loadFile
self.loadImage(Image.open(name))
File "/opt/fofix/src/Texture.py", line 77, in loadImage
string = image.tostring('raw', 'RGBA', 0, -1)
File "/usr/lib/python2.7/site-packages/PIL/Image.py", line 699, in tostring
"Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.

If you make a bug report about this error, please include the contents of the following log file:
/home/malah/.fofix/fofix.log
The log file already includes the traceback given above.
Traceback (most recent call last):
File "./FoFiX.py", line 276, in <module>
main()
File "./FoFiX.py", line 175, in main
engine = GameEngine(config)
File "/opt/fofix/src/GameEngine.py", line 597, in __init__
self.data = Data(self.resource, self.svg)
File "/opt/fofix/src/Data.py", line 130, in __init__
self.loadImgDrawing(self, "star1", os.path.join("themes",themename,"star1.png"), textureSize = (128, 128))
File "/opt/fofix/src/Data.py", line 583, in loadImgDrawing
drawing = self.resource.load(target, name, lambda: ImgDrawing(self.svg, fileName), synch = True)
File "/opt/fofix/src/Resource.py", line 246, in load
return l.finish()
File "/opt/fofix/src/Resource.py", line 113, in load
self.result = self.function()
File "/opt/fofix/src/Data.py", line 583, in <lambda>
drawing = self.resource.load(target, name, lambda: ImgDrawing(self.svg, fileName), synch = True)
File "/opt/fofix/src/Svg.py", line 516, in __init__
self.texture = Texture(ImgData)
File "/opt/fofix/src/Texture.py", line 66, in __init__
self.loadFile(name)
File "/opt/fofix/src/Texture.py", line 70, in loadFile
self.loadImage(Image.open(name))
File "/opt/fofix/src/Texture.py", line 77, in loadImage
string = image.tostring('raw', 'RGBA', 0, -1)
File "/usr/lib/python2.7/site-packages/PIL/Image.py", line 699, in tostring
"Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.

I think you can see the solution used on https://aur.archlinux.org/packages/fretsonfire/

Linkid commented on 2015-08-06 13:35

Fix: there were some errors in the version 3.121 that were patched. So I manually added them.

Salamandar commented on 2015-08-05 21:07

Nope, still doesn't work…

Linkid commented on 2015-07-09 18:47

Fix: the new PKGBUILD should work.

Linkid commented on 2015-07-09 18:42

Fix: the new PKGBUILD on AUR4 should work.

RazZziel commented on 2015-04-08 13:10

Fails to build:

==> ERROR: Missing package() function in /tmp/yaourt-tmp-raziel/aur-fofix/./PKGBUILD
==> ERROR: Makepkg was unable to build fofix

oswald-p commented on 2014-02-08 10:08

Replacing "import Image" by "from PIL import Image" in video.py file fixes the error allowing to launch fofix.
Songs must be placed in /opt/fofix/data/songs directory with 777 settings (!)
The game is still unplayable as it crashes during sound initialization (I tryed solo>quickplay) returning this error:
"Fatal Python error: (pygame parachute) Floating Point Exception".
according to this : https://code.google.com/p/fofix/issues/detail?id=1278
it is probably due to pyvorbis.

alucryd commented on 2014-01-25 16:13

Merging into fofix.

MCMic commented on 2014-01-09 16:25

Thanks for looking into it. It seems replacing "import Image" by "from PIL import Image" fixes the error.

doorknob60 commented on 2014-01-08 23:12

And it looks like as of today, python2-imaging was removed from the official repos, and is now orphaned in AUR, and doesn't build. Hmm, not sure what to do here. Looking at the file list for pillow, it looks like it provides files relating to PIL and Imaging, but Fofix doesn't seem to accept them. I'll see what I can do, but no promises.

doorknob60 commented on 2014-01-08 23:04

I'm not sure if there's a way to make it work with pillow. Because pillow conflicts and provides python2-imaging, I would probably consider it a bug with the pillow package that it doesn't work with pillow, because it's not properly providing the other package. If anyone finds a way to easily patch fofix to work with pillow, I can switch the dependency over, but I would file a bug report since pillow isn't doing its job at "providing" imaging.

MCMic commented on 2014-01-08 22:59

I don't have python2-imaging, I have python2-pillow which provides python2-imaging and is needed by several other packages so I can't switch package :-/

Is there any way to make it work with python2-pillow?

doorknob60 commented on 2014-01-08 19:50

python2-imaging should contain that module, so I don't know what could be missing. I don't have time to troubleshoot it right now though, and might not until sometime next week.

MCMic commented on 2014-01-08 19:46

/usr/bin/fofix is missing a "!" on first line.
It should be "#!/bin/sh"

Even after fix, I get : "ImportError: No module named Image" so I guess there is a dependency missing.

kdb424 commented on 2013-12-13 05:06

Also note that I force reverted from pillow to pil, so that isn't an issue for me (though that does need fixed eventually)

kdb424 commented on 2013-12-13 05:02

Having an issue with a crash when song loads. It's numpy on 231 (around there). If you fix it so the game doesn't crash, the audio track doesn't play for guitar. If you don't fix it, it crashes on song load. I had to change to this just to keep it from crashing
...
import numpy
def zeros(size):
return numpy.zeros(size, dtype='h')
...

Vorzard commented on 2013-11-24 15:50

This is a duplicate package (https://aur.archlinux.org/packages/fofix/) and a dependency is missing (python2-numpy).

doorknob60 commented on 2013-11-17 21:26

Never mind, I think I fixed it :D Pyxml apperantly isn't required anymore, and it seems to work without it. As for python2-imaging, the python2-pillow package is a fork of it, and supposedly provides it. However, when I replace the imaging package with pillow, fofix fails to load. I consider this a bug with python2-pillow, because it does not properly provide the libraries fofix needs, and there's nothing I can do about that.

doorknob60 commented on 2013-11-17 21:18

I'm not sure if the pyxml package exists anymore. Apperantly, it was old, unmaintained code, and I didn't find any articles about Arch, but I think Fedora dropped it: https://fedoraproject.org/wiki/Features/RemovePyXML . I assume Arch must have done the same. You can try building it without the package, but that will probably fail. Unless they updated the Fofix code to run with a different library, it probably won't build unless someone makes a pyxml package (which I don't have time to mess with).

The problem is, that the Fofix code hasn't been updated in years, and it uses some obscure libraries, so I don't know how easy it will be to get working again.

blablubb1234 commented on 2013-10-14 21:47

Cannot install this package as "pyxml" is not available anymore :/
Furthermore python2-imaging conflicts with python2-pillow (which is, f.e., needed by calibre). A pity, because I really love Frets on Fire....

RazZziel commented on 2013-09-23 21:26

Fails to run:

Traceback (most recent call last):
File "./FoFiX.py", line 108, in <module>
from GameEngine import GameEngine
File "/opt/fofix/src/GameEngine.py", line 38, in <module>
from Video import Video
File "/opt/fofix/src/Video.py", line 28, in <module>
import Image
ImportError: No module named Image

Fixed it with:

yaourt -Rdd python2-pillow
yaourt -S python2-pil

doorknob60 commented on 2012-11-19 02:17

Whet exactly is wrong with this package right now? It's flagged, but all the dependencies seem to be referring to their proper python2 names, and it seems to work fine on my system as is. I don't have python2-rsvg installed, does it need it?

nico666 commented on 2012-10-29 19:34

needs to solve python-rsvg to python2-rsvg dependency issue:
https://mailman.archlinux.org/pipermail/arch-dev-public/2012-September/023558.html

doorknob60 commented on 2011-04-14 16:18

Oh, I've seen that bug plenty of times, and never really found any solutions. I'm pretty sure it's on their bugtracker, go look at that and see if it has any useful information.

matse commented on 2011-04-14 12:33

Another addition to my bug: Sometimes the songs really work! But in nine of ten times fofix crashes, what is really annoying.

matse commented on 2011-04-14 12:22

Another addition to my bug: Sometimes the songs really work! But in nine of ten times fofix crashes, what is really annoying.

matse commented on 2011-04-14 09:58

I get the following error when I try to play a lot of songs:

Fatal Python error: (pygame parachute) Segmentation Fault
/usr/bin/fofix: Zeile 3: 17540 Abgebrochen python2 ./FoFiX.py

(and the songs worked once under the windows version of fofix).
Using an up to date stable arch, advice is welcome ;)

doorknob60 commented on 2011-02-07 03:43

It works fine for me with a fully updated [testing] system.

Anonymous comment on 2011-02-06 19:17

i found the solution!... you have to downgrade this packages, blas and lapack to their previous version

Anonymous comment on 2011-02-06 04:23

I have the same trouble.. help!!

Anonymous comment on 2011-02-05 14:57

I get the following error:

[gert@boks ~]$ fofix
Traceback (most recent call last):
File "./FoFiX.py", line 108, in <module>
from GameEngine import GameEngine
File "/opt/fofix/src/GameEngine.py", line 32, in <module>
from numpy import array, float32
File "/usr/lib/python2.7/site-packages/numpy/__init__.py", line 136, in <module>
import add_newdocs
File "/usr/lib/python2.7/site-packages/numpy/add_newdocs.py", line 9, in <module>
from numpy.lib import add_newdoc
File "/usr/lib/python2.7/site-packages/numpy/lib/__init__.py", line 13, in <module>
from polynomial import *
File "/usr/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 11, in <module>
import numpy.core.numeric as NX
AttributeError: 'module' object has no attribute 'core'

doorknob60 commented on 2010-09-07 22:43

This package is replacing the fretsonfire-alarian-mod package. It's the same thing, just it's called fofix now (and has for a long time :P), so I uploaded a new one. The old one will be removed soon, so switch over!