Package Details: fofix 3.121-8

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: 53
Popularity: 0.589472
First Submitted: 2010-09-07 22:42
Last Updated: 2015-08-06 13:42

Latest Comments

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.

All comments