FoFiX v3.1xx development thread

Discussion particular to FoFiX, its development, and themes
Forum rules
User avatar
bruce142
Member
Posts: 72
Joined: August 16th, 2008
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby bruce142 » Mon Jul 27, 2009 4:35 am

I've found this on the RequiredSourceModules page on FoFiX google code:
ctypes - required if you install pyOpenGL 3.0 or want shaders under pyOpenGL 2.x
(http://prdownloads.sourceforge.net/ctypes/ctypes-1.0.2.win32-py2.4.exe?download)


It seems that you use pyOpenGL 2.0 and didn't install ctypes that's why the game locks/freezes at the loading screen. If you don't plan to use shaders just deactivate them in the options menu and it may work too. (based on your fofixlog that is)
User avatar
fablaculp
Member
Posts: 114
Joined: August 15th, 2008
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby fablaculp » Mon Jul 27, 2009 9:30 am

bruce142 wrote:I've found this on the RequiredSourceModules page on FoFiX google code:
ctypes - required if you install pyOpenGL 3.0 or want shaders under pyOpenGL 2.x
(http://prdownloads.sourceforge.net/ctypes/ctypes-1.0.2.win32-py2.4.exe?download)


It seems that you use pyOpenGL 2.0 and didn't install ctypes that's why the game locks/freezes at the loading screen. If you don't plan to use shaders just deactivate them in the options menu and it may work too. (based on your fofixlog that is)


Well this isn't my problem.
In fact the game works fine in menus, but "ingame", i get horrible fps and it's completely unplayable, and even when the fretborad seems to move flawlessly, i can't get all the notes because of an extreme lag.
Using last SVN revision with the last french translation...
enterman
Member
Posts: 7
Joined: November 16th, 2008
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby enterman » Mon Jul 27, 2009 12:27 pm

WildSioux wrote:
enterman wrote:I'm having several issues with FoFiX in ubuntu 8.10 I have the game running completely maxed out in windows and it runs great but in linux it runs horrifically no matter how low I turn the graphics down. It's basically skipping a lot, making every song unplayable. It also plays no sound for the instruments. Vocals play fine but I hear no audio from drums, bass, and guitar. Anyone know how to fix this? I've messed with the audio settings and volume to no avail.


I'm not an expert on Ubuntu or any issue. But what do you have your sound device set to? Pulse, Alsa, Intel, etc??? If anything, change it off of Pulse to Alsa. Pulse is junk and this fixed a lot of sound issues I had. This may be the reason why you aren't hearing sound for the drums, bass and guitar. It may also fix your skipping issue.

As for the graphics...as others have pointed out. Update to the latest linux graphics driver for your card. I missed in the other threads why you have. But I still think the issue is with pulse.


I'm actually using OSS as that is the only sound architecture I can get 5.1 sound out of my creative card with. As I said earlier, I'm using the latest Nvidia graphics released for ubuntu.
User avatar
evil-doer
Member
Posts: 372
Joined: June 16th, 2008
Location: Canada
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby evil-doer » Tue Jul 28, 2009 10:21 am

i just upgraded to windows 7 x64 and got frets on fire all set up. got everything all how it was and it was running great, but all of a sudden im getting that "database locked" error. the last entry i found for this is back in may and it was supposedly fixed. any ideas?

ps im running the alpha from updated src.

heres the relevant part of the log:

Spoiler:(D) Retrieving sections from: ..\data\..\data\songs\Guitar Hero - Metallica\7.06-Dyers Eve\notes.mid
(E) Loading error: Traceback (most recent call last):
File "C:\Games\FoFiX\src\GameEngine.py", line 1004, in main
done = Engine.run(self)
File "C:\Games\FoFiX\src\Engine.py", line 136, in run
self._runTask(task, tick)
File "C:\Games\FoFiX\src\Engine.py", line 124, in _runTask
task.run(ticks)
File "C:\Games\FoFiX\src\SongChoosingScene.py", line 171, in run
selectedSong = Config.get("game", "selected_song"))
File "C:\Games\FoFiX\src\Dialogs.py", line 5329, in chooseSong
d = SongChooser(engine, prompt, selectedLibrary = selectedLibrary, selectedSong = selectedSong)
File "C:\Games\FoFiX\src\Dialogs.py", line 776, in __init__
self.loadCollection()
File "C:\Games\FoFiX\src\Dialogs.py", line 914, in loadCollection
self.engine.resource.load(self, "libraries", lambda: Song.getAvailableLibraries(self.engine, self.library), onLoad = self.libraryListLoaded, synch = True)
File "C:\Games\FoFiX\src\Resource.py", line 246, in load
return l.finish()
File "C:\Games\FoFiX\src\Resource.py", line 133, in finish
self.onLoad(self.result)
File "C:\Games\FoFiX\src\Dialogs.py", line 923, in libraryListLoaded
self.engine.resource.load(self, "songs", lambda: Song.getAvailableSongsAndTitles(self.engine, self.library, progressCallback=self.progressCallback), onLoad = self.songListLoaded, synch = True) # evilynux - Less BlackSOD[?]
File "C:\Games\FoFiX\src\Resource.py", line 246, in load
return l.finish()
File "C:\Games\FoFiX\src\Resource.py", line 113, in load
self.result = self.function()
File "C:\Games\FoFiX\src\Dialogs.py", line 923, in <lambda>
self.engine.resource.load(self, "songs", lambda: Song.getAvailableSongsAndTitles(self.engine, self.library, progressCallback=self.progressCallback), onLoad = self.songListLoaded, synch = True) # evilynux - Less BlackSOD[?]
File "C:\Games\FoFiX\src\Song.py", line 4413, in getAvailableSongsAndTitles
items = items + getAvailableSongs(engine, libName, includeTutorials, progressCallback=progressCallback)
File "C:\Games\FoFiX\src\Song.py", line 4201, in getAvailableSongs
if cache.execute('DELETE FROM `songinfo` WHERE `hash` NOT IN (' + ','.join("'%s'" % s.stateHash for s in songs) + ')').rowcount > 0:
OperationalError: database is locked

(E) OperationalError, <class 'sqlite3.OperationalError'>: database is lockedTraceback (most recent call last):
File "C:\Games\FoFiX\src\GameEngine.py", line 1031, in run
return self.mainloop()
File "C:\Games\FoFiX\src\GameEngine.py", line 1004, in main
done = Engine.run(self)
File "C:\Games\FoFiX\src\Engine.py", line 136, in run
self._runTask(task, tick)
File "C:\Games\FoFiX\src\Engine.py", line 124, in _runTask
task.run(ticks)
File "C:\Games\FoFiX\src\SongChoosingScene.py", line 171, in run
selectedSong = Config.get("game", "selected_song"))
File "C:\Games\FoFiX\src\Dialogs.py", line 5329, in chooseSong
d = SongChooser(engine, prompt, selectedLibrary = selectedLibrary, selectedSong = selectedSong)
File "C:\Games\FoFiX\src\Dialogs.py", line 776, in __init__
self.loadCollection()
File "C:\Games\FoFiX\src\Dialogs.py", line 914, in loadCollection
self.engine.resource.load(self, "libraries", lambda: Song.getAvailableLibraries(self.engine, self.library), onLoad = self.libraryListLoaded, synch = True)
File "C:\Games\FoFiX\src\Resource.py", line 246, in load
return l.finish()
File "C:\Games\FoFiX\src\Resource.py", line 133, in finish
self.onLoad(self.result)
File "C:\Games\FoFiX\src\Dialogs.py", line 923, in libraryListLoaded
self.engine.resource.load(self, "songs", lambda: Song.getAvailableSongsAndTitles(self.engine, self.library, progressCallback=self.progressCallback), onLoad = self.songListLoaded, synch = True) # evilynux - Less BlackSOD[?]
File "C:\Games\FoFiX\src\Resource.py", line 246, in load
return l.finish()
File "C:\Games\FoFiX\src\Resource.py", line 113, in load
self.result = self.function()
File "C:\Games\FoFiX\src\Dialogs.py", line 923, in <lambda>
self.engine.resource.load(self, "songs", lambda: Song.getAvailableSongsAndTitles(self.engine, self.library, progressCallback=self.progressCallback), onLoad = self.songListLoaded, synch = True) # evilynux - Less BlackSOD[?]
File "C:\Games\FoFiX\src\Song.py", line 4413, in getAvailableSongsAndTitles
items = items + getAvailableSongs(engine, libName, includeTutorials, progressCallback=progressCallback)
File "C:\Games\FoFiX\src\Song.py", line 4201, in getAvailableSongs
if cache.execute('DELETE FROM `songinfo` WHERE `hash` NOT IN (' + ','.join("'%s'" % s.stateHash for s in songs) + ')').rowcount > 0:
OperationalError: database is locked

User avatar
blazingamer
Member
Posts: 2018
Joined: November 17th, 2007
Location: Pennsylvania
Reputation: 0
Contact:

Re: FoFiX v3.1xx development thread

Postby blazingamer » Tue Jul 28, 2009 10:52 am

If you have song caching on, try turning it off. That database error sounds like it might be related to the cache file in your library being a read-only file for some reason, which FOF does not like, it should be read and write.
User avatar
evil-doer
Member
Posts: 372
Joined: June 16th, 2008
Location: Canada
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby evil-doer » Tue Jul 28, 2009 11:03 am

blazingamer wrote:If you have song caching on, try turning it off. That database error sounds like it might be related to the cache file in your library being a read-only file for some reason, which FOF does not like, it should be read and write.


the .fofix-cache files? none of them are read only.

it was working fine for a while. launched it many times and played quite a few songs and just happened all of a sudden, now i cant play at all.
i have a lot of songs, disabling the cache means i have to wait like half an hour before i can play. while i do do a fresh rebuild if ive added any new songs or anything, i havent touched it since the last rebuild.
User avatar
Rock Gode
Member
Posts: 8
Joined: March 16th, 2009
Reputation: 0
Contact:

Re: FoFiX v3.1xx development thread

Postby Rock Gode » Tue Jul 28, 2009 6:00 pm

Error Starting FoFiX v3.120 alpha r1778

Spoiler:Traceback (most recent call last):
File "FoFiX.py", line 274, in ?
File "FoFiX.py", line 137, in main
File "GameEngine.pyo", line 547, in __init__
File "Video.pyo", line 130, in setMode
AttributeError: 'module' object has no attribute 'CreateIconFromResource'


Please Help me!

PS.: Excuse me for bad english, I'm Brazilian! :smile:
Image
Image
I am Brazilian :2thumbsup:
feras23
Member
Posts: 5
Joined: July 22nd, 2009
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby feras23 » Tue Jul 28, 2009 7:47 pm

hi.. i get an error every time that i try to run fofix.exe, heres the fofix.exe.txt file:
Traceback (most recent call last):
File "FoFiX.py", line 274, in ?
File "FoFiX.py", line 137, in main
File "GameEngine.pyo", line 541, in __init__
File "Video.pyo", line 131, in setMode
pywintypes.error: (6, 'CreateIconFromResource', 'Controlador no v\xe1lido.')


And the Fofix.txt file:
(D) Checking MIDI output ports for a wavetable or synth for sound generation...
(D) MIDI output port count = 1
(D) MIDI Output port 0 found: Sint. SW de tabla de ondas GS
(D) GameEngine class init (GameEngine.py)...
(D) FoFiX v3.120 beta 2 starting up...
(D) pygame version: 1.7.1release
(D) Initializing audio.
(D) Audio configuration: (44100, -16, 1)
(D) Initializing pygame.mixer & audio system at 44100 Hz.
(D) Initializing video.



Ty. :D
Last edited by feras23 on Tue Jul 28, 2009 7:59 pm, edited 1 time in total.
User avatar
Rock Gode
Member
Posts: 8
Joined: March 16th, 2009
Reputation: 0
Contact:

Re: FoFiX v3.1xx development thread

Postby Rock Gode » Tue Jul 28, 2009 7:56 pm

feras23 wrote:hi.. i get an error every time that i try to run fofix.exe, heres the fofix.es.txt file:
Traceback (most recent call last):
File "FoFiX.py", line 274, in ?
File "FoFiX.py", line 137, in main
File "GameEngine.pyo", line 541, in __init__
File "Video.pyo", line 131, in setMode
pywintypes.error: (6, 'CreateIconFromResource', 'Controlador no v\xe1lido.')


And the Fofix.txt file:
(D) Checking MIDI output ports for a wavetable or synth for sound generation...
(D) MIDI output port count = 1
(D) MIDI Output port 0 found: Sint. SW de tabla de ondas GS
(D) GameEngine class init (GameEngine.py)...
(D) FoFiX v3.120 beta 2 starting up...
(D) pygame version: 1.7.1release
(D) Initializing audio.
(D) Audio configuration: (44100, -16, 1)
(D) Initializing pygame.mixer & audio system at 44100 Hz.
(D) Initializing video.



Ty. :D




Yes!
this is my problem
Yes!
this is my problem
Same

And formerly worked right

PS.: Excuse me for bad english, I'm Brazilian! :smile:
Image
Image
I am Brazilian :2thumbsup:
weirdpeople
Member
Posts: 1105
Joined: August 16th, 2008
Location: Texas
Reputation: 15
Contact:

Re: FoFiX v3.1xx development thread

Postby weirdpeople » Wed Jul 29, 2009 12:50 pm

Dang the development of fofix has slowed to almost a halt what happened the final 3.120 was going to be out a month ago seriously what happened
Developer of clone hero, and Former FoFiX developer
Cavush
Member
Posts: 3
Joined: July 28th, 2009
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby Cavush » Wed Jul 29, 2009 1:50 pm

Hey, not sure if this is the correct place to ask this, pretty new to all of this :)
I've installed FoFiX today (pretty awesome !), and I noticed that sometimes, can't pinpoint when, some of the notes appear white. Happens during the song.
I did try to run a search on this, came up with pretty much nothing.

Is this a problem already being addressed? or is it supposed to be like that?

Thanks !
Dared00
Member
Posts: 188
Joined: August 27th, 2008
Location: Poland
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby Dared00 » Wed Jul 29, 2009 1:58 pm

White notes? Probably they are overdrive notes.
Dr. Professor Logic
User avatar
Lysdestic
Member
Posts: 2939
Joined: December 14th, 2007
Reputation: 7
Contact:

Re: FoFiX v3.1xx development thread

Postby Lysdestic » Wed Jul 29, 2009 2:00 pm

Cavush wrote:Hey, not sure if this is the correct place to ask this, pretty new to all of this :)
I've installed FoFiX today (pretty awesome !), and I noticed that sometimes, can't pinpoint when, some of the notes appear white. Happens during the song.
I did try to run a search on this, came up with pretty much nothing.

Is this a problem already being addressed? or is it supposed to be like that?

Thanks !


...Uh? Starpower notes?

Yeah, probably shouldn't fix that.

weirdpeople wrote:Dang the development of fofix has slowed to almost a halt what happened the final 3.120 was going to be out a month ago seriously what happened


Look outside. See the trees? The Sun? Drive by your local school and/or university. See the empty parking lots? It's summer, it's bound to slow down to some extent.

Don't get me wrong, the lack of development bums me out a bit too, but it is the summer, this is free, and the developers do have lives.

Personally, I've just dug out some old and new games (Fallout 3 wins, totally.) and have just pulled back a little. By the time I finish with whatever other stuff I have going, I'm sure development will be at a steady clip again.
NNdimethyltryptamine
User avatar
Electro Tomato
Member
Posts: 3617
Joined: July 15th, 2008
Location: Albuquerque, New Mexico, US of A
Reputation: 1
Contact:

Re: FoFiX v3.1xx development thread

Postby Electro Tomato » Wed Jul 29, 2009 2:05 pm

Lysdestic develops?

Mind =/= Blown
Dr. Professor Logic
User avatar
Lysdestic
Member
Posts: 2939
Joined: December 14th, 2007
Reputation: 7
Contact:

Re: FoFiX v3.1xx development thread

Postby Lysdestic » Wed Jul 29, 2009 2:07 pm

Electro Tomato wrote:Lysdestic develops?

Mind =/= Blown


I don't believe I said that. However, I've done some minor code edits. My main focus is the wiki and testing before new releases.

Return to “FoFiX”

Who is online

Users browsing this forum: No registered users and 12 guests