FoFiX v3.1xx development thread

Discussion particular to FoFiX, its development, and themes
Forum rules
Zippity Do Dah
Legwon
Member
Posts: 78
Joined: March 26th, 2009
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby Legwon » Fri May 29, 2009 8:43 pm

jstump91 wrote:r1587: Top-level error handling has been fixed to reset the game state upon error. This means that errors during gameplay should not infinitely loop and inflate the logfile to an enormous size anymore.

This also means that some errors that previously were just logged and ignored will trigger full error handling. Some bugs that were obscured by this behavior may make an appearance now; I was not able to test everything.

well looks like it works Jstump..lol
i just received the database locked again.. but with a connection lost error.
heres the log.

Code: Select all

(W) Missing pyaudio - microphone support will not be possible
(D) GameEngine class init (GameEngine.py)...
(D) FoFiX v3.120 alpha (r1589) starting up...
(D) pygame version: 1.8.1release
(D) Initializing audio.
(D) Audio configuration: (44100, -16, 2)
(D) Initializing pygame.mixer & audio system at 44100 Hz.
(D) Initializing video.
(D) Compiling shader "stage" from ..\data\shaders\lightning.vert and ..\data\shaders\lightning.frag.
(D) Compiling shader "sololight" from ..\data\shaders\lightning.vert and ..\data\shaders\lightning.frag.
(D) Compiling shader "tail" from ..\data\shaders\lightning.vert and ..\data\shaders\lightning.frag.
(D) Compiling shader "tail2" from ..\data\shaders\rockbandtail.vert and ..\data\shaders\rockbandtail.frag.
(D) Compiling shader "notes" from ..\data\shaders\metal.vert and ..\data\shaders\metal.frag.
(D) Compiling shader "neck" from ..\data\shaders\neck.vert and ..\data\shaders\neck.frag.
(D) Compiling shader "cd" from ..\data\shaders\cd.vert and ..\data\shaders\cd.frag.
(D) 1 joysticks found.
(W) MegaLight\sounds\ failsound.ogg not found -- using general failsound.ogg instead.
(W) MegaLight\sounds\starpowerready.ogg not found -- using starpower.ogg instead.
(W) MegaLight\sounds\crowdcheers.ogg not found -- using data\sounds\crowdcheers.ogg instead.
(W) MegaLight\sounds\staractivate.ogg not found -- using starpower.ogg instead.
(W) MegaLight\sounds\stardeactivate.ogg not found -- sound disabled.
(W) MegaLight\sounds
escue.ogg not found -- using starpower.ogg instead.
(W) MegaLight\sounds\coopfail.ogg not found -- using out.ogg instead
(D) Default animated stage for MegaLight theme = Normal
(D) Ready.
(D) 6 guitscw sounds found in sounds: guitscw1.ogg - guitscw6.ogg
(D) 6 bassscw sounds found in sounds: bassscw1.ogg - bassscw6.ogg
(D) 8 drumscw sounds found in sounds: drumscw1.ogg - drumscw8.ogg
(D) 6 guitscw sounds found in sounds: guitscw1.ogg - guitscw6.ogg
(D) View: Push: LoadingScreen
(D) View: Pop: LoadingScreen
(D) View: Push: MainMenu
(D) View: Push: Menu
(D) View: Push: Menu
(D) View: Push: ControlActivator
(D) View: Pop: ControlActivator
(D) Starting server.
(D) Connecting to host 127.0.0.1.
(D) View: Pop all
(D) View: Pop: MainMenu
(D) View: Pop: Menu
(D) View: Pop: Menu
(D) View: Pop: MainMenu
(D) Session #1 connected.
(D) View: Pop: Menu
(D) View: Push: Lobby
(D) Connected as session #1.
(D) 1 phrases taught.
(D) 2 phrases taught.
(D) Learned about World.CreatePlayer, 1 phrases now known.
(D) 1 phrases taught.
(D) Learned about World.PlayerJoined, 1 phrases now known.
(D) Learned about World.StartGame, 2 phrases now known.
(D) 2 phrases taught.
(D) 3 phrases taught.
(D) 4 phrases taught.
(D) 5 phrases taught.
(D) Learned about World.GameStarted, 2 phrases now known.
(D) View: Pop: Lobby
(D) Learned about World.SceneCreated, 3 phrases now known.
(D) Song select submenu position tuple: (0.10000000000000001, 0.074999999999999997)
(D) Learned about World.EnterScene, 4 phrases now known.
(D) Learned about World.SceneEntered, 5 phrases now known.
(D) View: Push: SongChoosingSceneClient
(D) Songlist artist colors: (0.25098039215686274, 0.50196078431372548, 1.0) / (0.25098039215686274, 0.50196078431372548, 1.0)
(D) song_cd_xpos found: None
(D) song_cdscore_xpos found: None
(D) song_list_xpos found: None
(D) song_listscore_xpos found: None
(D) song_listcd_cd_xpos found: 0.25
(D) song_listcd_cd_ypos found: 0.6
(D) song_listcd_score_xpos found: 0.1
(D) song_listcd_score_ypos found: 0.5
(D) song_listcd_list_xpos found: 0.5
(D) Dialogs.loadCollection() function call...
(D) View: Push: LoadingSplashScreen
(D) Song.getAvailableLibraries function call...library = songs\Puppetz Hero 3
(D) Dialogs.libraryListLoaded() function call...
(D) Retrieving parts from: F:\FoFiX\songs\Puppetz Hero 3\1.1\notes.mid
(D) Retrieving difficulties from: F:\FoFiX\songs\Puppetz Hero 3\1.1\notes.mid
(D) Retrieving sections from: F:\FoFiX\songs\Puppetz Hero 3\1.1\notes.mid
(E) Loading error: Traceback (most recent call last):
  File "F:\FoFiX\src\GameEngine.py", line 986, in main
    done = Engine.run(self)
  File "F:\FoFiX\src\Engine.py", line 136, in run
    self._runTask(task, tick)
  File "F:\FoFiX\src\Engine.py", line 124, in _runTask
    task.run(ticks)
  File "F:\FoFiX\src\SongChoosingScene.py", line 169, in run
    selectedSong    = Config.get("game", "selected_song"))
  File "F:\FoFiX\src\Dialogs.py", line 5153, in chooseSong
    d = SongChooser(engine, prompt, selectedLibrary = selectedLibrary, selectedSong = selectedSong)
  File "F:\FoFiX\src\Dialogs.py", line 776, in __init__
    self.loadCollection()
  File "F:\FoFiX\src\Dialogs.py", line 959, in loadCollection
    self.engine.resource.load(self, "libraries", lambda: Song.getAvailableLibraries(self.engine, self.library), onLoad = self.libraryListLoaded, synch = True)
  File "F:\FoFiX\src\Resource.py", line 243, in load
    return l.finish()
  File "F:\FoFiX\src\Resource.py", line 130, in finish
    self.onLoad(self.result)
  File "F:\FoFiX\src\Dialogs.py", line 968, 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 "F:\FoFiX\src\Resource.py", line 243, in load
    return l.finish()
  File "F:\FoFiX\src\Resource.py", line 112, in load
    self.result = self.function()
  File "F:\FoFiX\src\Dialogs.py", line 968, 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 "F:\FoFiX\src\Song.py", line 4369, in getAvailableSongsAndTitles
    items = getAvailableSongs(engine, library, includeTutorials, progressCallback=progressCallback)
  File "F:\FoFiX\src\Song.py", line 4177, 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, pysqlite2._sqlite.OperationalError: database is lockedTraceback (most recent call last):
  File "F:\FoFiX\src\GameEngine.py", line 1013, in run
    return self.mainloop()
  File "F:\FoFiX\src\GameEngine.py", line 986, in main
    done = Engine.run(self)
  File "F:\FoFiX\src\Engine.py", line 136, in run
    self._runTask(task, tick)
  File "F:\FoFiX\src\Engine.py", line 124, in _runTask
    task.run(ticks)
  File "F:\FoFiX\src\SongChoosingScene.py", line 169, in run
    selectedSong    = Config.get("game", "selected_song"))
  File "F:\FoFiX\src\Dialogs.py", line 5153, in chooseSong
    d = SongChooser(engine, prompt, selectedLibrary = selectedLibrary, selectedSong = selectedSong)
  File "F:\FoFiX\src\Dialogs.py", line 776, in __init__
    self.loadCollection()
  File "F:\FoFiX\src\Dialogs.py", line 959, in loadCollection
    self.engine.resource.load(self, "libraries", lambda: Song.getAvailableLibraries(self.engine, self.library), onLoad = self.libraryListLoaded, synch = True)
  File "F:\FoFiX\src\Resource.py", line 243, in load
    return l.finish()
  File "F:\FoFiX\src\Resource.py", line 130, in finish
    self.onLoad(self.result)
  File "F:\FoFiX\src\Dialogs.py", line 968, 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 "F:\FoFiX\src\Resource.py", line 243, in load
    return l.finish()
  File "F:\FoFiX\src\Resource.py", line 112, in load
    self.result = self.function()
  File "F:\FoFiX\src\Dialogs.py", line 968, 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 "F:\FoFiX\src\Song.py", line 4369, in getAvailableSongsAndTitles
    items = getAvailableSongs(engine, library, includeTutorials, progressCallback=progressCallback)
  File "F:\FoFiX\src\Song.py", line 4177, 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

edit: same with r1591.
ps. the pitchbend is wild :thumbup:
Watch the demoscene
User avatar
fenolftalein
Member
Posts: 305
Joined: March 30th, 2008
Location: Moscow
Reputation: 0
Contact:

Re: FoFiX v3.1xx development thread

Postby fenolftalein » Fri May 29, 2009 9:29 pm

trinidude4 wrote:I'm updating Shaders.py to make some fixes for Macs. The main thing is that Mac doesn't support EXT_TEXTURE3D and glTexImage3DEXT(). It does support glTexImage3D() though. There are some other little changes that need to be made in Shaders.py for Mac support.

I've changed your code, so please check if new rev works.

---- EDIT ----

Legwon wrote: i just received the database locked again.. but with a connection lost error.

Ok, I've found a solution. It was very-very easy, but i spent over an hour to find it. Thanks to Django developers. =)
Sqlite3 (pysqlite2 too) module has a very nice param "timeout" in sqlite3.Connection function, that sets timeout for connection in ms. The problem is that default value is only 5 ms, and sometimes it causes "database locked" error, especially for slow HDDs. 20 should be enough for everyone, even if hard drive is really slow, and it doesn't hit perfomance, so i don't think that we need this feature optional.
Hope, we don't see " database locked" error anymore.
trinidude4
Member
Posts: 395
Joined: March 22nd, 2008
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby trinidude4 » Fri May 29, 2009 11:21 pm

fenolftalein wrote:
trinidude4 wrote:I'm updating Shaders.py to make some fixes for Macs. The main thing is that Mac doesn't support EXT_TEXTURE3D and glTexImage3DEXT(). It does support glTexImage3D() though. There are some other little changes that need to be made in Shaders.py for Mac support.

I've changed your code, so please check if new rev works.


It doesn't work anymore. Macs don't have the glTexImage3DEXT() function defined. You may also have to define any constants that have EXT in them.
Watch the demoscene
User avatar
fenolftalein
Member
Posts: 305
Joined: March 30th, 2008
Location: Moscow
Reputation: 0
Contact:

Re: FoFiX v3.1xx development thread

Postby fenolftalein » Fri May 29, 2009 11:39 pm

Ok, fixed.
Sexier than you
User avatar
p_025
Member
Posts: 187
Joined: February 17th, 2008
Location: somewhere
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby p_025 » Sat May 30, 2009 1:48 am

fenolftalein wrote:Ok, I've found a solution. It was very-very easy, but i spent over an hour to find it. Thanks to Django developers. =)
Sqlite3 (pysqlite2 too) module has a very nice param "timeout" in sqlite3.Connection function, that sets timeout for connection in ms. The problem is that default value is only 5 ms, and sometimes it causes "database locked" error, especially for slow HDDs. 20 should be enough for everyone, even if hard drive is really slow, and it doesn't hit perfomance, so i don't think that we need this feature optional.
Hope, we don't see " database locked" error anymore.

That's good. I'd like to think it's not because my hard drive is slow, but more because I have a **** ton of songs from the RB ultra-mega thread, and I still haven't got all the DLC.

EDIT: Wait, no it won't be because of the RB songs, I've got RB1 RB2 and their DLC in the same folder and i usually use that, and it is by far the largest songs folder I have.
Also, I still get the locked database error, if I've got list all songs enabled. :(

Spoiler:(E) Loading error: Traceback (most recent call last):
File "C:\Games\FoFiX\src\GameEngine.py", line 986, 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 169, in run
selectedSong = Config.get("game", "selected_song"))
File "C:\Games\FoFiX\src\Dialogs.py", line 5153, 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 959, 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 243, in load
return l.finish()
File "C:\Games\FoFiX\src\Resource.py", line 130, in finish
self.onLoad(self.result)
File "C:\Games\FoFiX\src\Dialogs.py", line 968, 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 243, in load
return l.finish()
File "C:\Games\FoFiX\src\Resource.py", line 112, in load
self.result = self.function()
File "C:\Games\FoFiX\src\Dialogs.py", line 968, 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 4387, in getAvailableSongsAndTitles
items = items + getAvailableSongs(engine, libName, includeTutorials, progressCallback=progressCallback)
File "C:\Games\FoFiX\src\Song.py", line 4177, 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 1013, in run
return self.mainloop()
File "C:\Games\FoFiX\src\GameEngine.py", line 986, 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 169, in run
selectedSong = Config.get("game", "selected_song"))
File "C:\Games\FoFiX\src\Dialogs.py", line 5153, 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 959, 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 243, in load
return l.finish()
File "C:\Games\FoFiX\src\Resource.py", line 130, in finish
self.onLoad(self.result)
File "C:\Games\FoFiX\src\Dialogs.py", line 968, 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 243, in load
return l.finish()
File "C:\Games\FoFiX\src\Resource.py", line 112, in load
self.result = self.function()
File "C:\Games\FoFiX\src\Dialogs.py", line 968, 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 4387, in getAvailableSongsAndTitles
items = items + getAvailableSongs(engine, libName, includeTutorials, progressCallback=progressCallback)
File "C:\Games\FoFiX\src\Song.py", line 4177, 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

(D) View: Pop all
(D) View: Pop: SongChoosingSceneClient
(D) View: Pop: LoadingSplashScreen
(D) Disconnecting.
(N) Connection lost.
(D) View: Push: MessageScreen
(D) View: Pop: MessageScreen
(D) View: Pop all
(D) View: Push: MainMenu
(D) View: Push: Menu
(D) Stopping server.
(D) 9 phrases taught.
(D) 10 phrases taught.
(N) OperationalError: database is locked

Desktop:
OS: Windows XP Professional, Service Pack 3 (Build 2600); Windows 7 Ultimate x64 Beta (Build 7048) | CPU: Intel Core 2 Duo E6600 (2 CPUs, 2.40GHz) | RAM: 2x Corsair XMS 2GiB DDR2, 2x Corsair XMS 1GiB DDR2 (6GiB total, 3.25 recognized by XP) | Video: EVGA NVidia GeForce 8800GT 512MiB | Audio: Sound Blaster X-Fi XtremeMusic
Watch the demoscene
User avatar
fenolftalein
Member
Posts: 305
Joined: March 30th, 2008
Location: Moscow
Reputation: 0
Contact:

Re: FoFiX v3.1xx development thread

Postby fenolftalein » Sat May 30, 2009 2:31 am

p_025 wrote:EDIT: Wait, no it won't be because of the RB songs, I've got RB1 RB2 and their DLC in the same folder and i usually use that, and it is by far the largest songs folder I have.
Also, I still get the locked database error, if I've got list all songs enabled. :(

Try new rev. If you'll get rhis error again, open Song.py, line 185
and increase timeout value.

---- EDIT ----

If you get "database locked" error (e.g. you store many songs in one folder), go to

Code: Select all

Settings -> Advanced -> Debug

and increase Cache TimeOut.
Default value is 100 ms, but you can increase it up to 3 seconds.
I don't know if too high value may slow down songlist loading.

---- EDIT ----

Final revision:
TimeOut is flexible - you don't need to setup anything. If you open a directory with lots of songs, timeout will be increased automatically.
The tux power
User avatar
Borisdsp
Member
Posts: 287
Joined: July 23rd, 2008
Location: España
Reputation: 0
Contact:

Re: FoFiX v3.1xx development thread

Postby Borisdsp » Sat May 30, 2009 4:56 am

I am having problems with Guitar Hero battle
http://code.google.com/p/fofix/issues/detail?id=795
EDIT: Thanks for fixing, now it works!
Team Meteorito Official Member
Yay plastic toys!
User avatar
Maurice10
Member
Posts: 67
Joined: January 26th, 2009
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby Maurice10 » Sat May 30, 2009 9:29 am

Since a few revisions my sidebars.png or whatever is a little too small on drums.
User avatar
evil-doer
Member
Posts: 372
Joined: June 16th, 2008
Location: Canada
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby evil-doer » Sat May 30, 2009 10:40 am

kristijan_mkd wrote:New neck.py by blazin makes my neck jump up or down at some time i cannot say its on every X secconds but i can clearly see that it's not SCROLLING smooth.. :sleep:


is this being looked into at all? this post is from 3 weeks ago and talk about fixing it has seemed to gone away. im just wondering because a LOT of people use the blank necks and you cant see the scrolling problem with those (altho you can with the overdrive overlay).

and thats another thing, is the neck selection broken for others too? it doesnt seem to matter which one i pick, it always gives me the flames one.
Dr. Professor Logic
User avatar
Lysdestic
Member
Posts: 2927
Joined: December 14th, 2007
Reputation: 0
Contact:

Re: FoFiX v3.1xx development thread

Postby Lysdestic » Sat May 30, 2009 10:47 am

evil-doer wrote:
kristijan_mkd wrote:New neck.py by blazin makes my neck jump up or down at some time i cannot say its on every X secconds but i can clearly see that it's not SCROLLING smooth.. :sleep:


is this being looked into at all? this post is from 3 weeks ago and talk about fixing it has seemed to gone away. im just wondering because a LOT of people use the blank necks and you cant see the scrolling problem with those (altho you can with the overdrive overlay).

and thats another thing, is the neck selection broken for others too? it doesnt seem to matter which one i pick, it always gives me the flames one.


God dammit.

I love your Tool avatar and everything, but damn man, are you listening? I would expect a Tool fan to have a better attention span and ability to listen closely.

Neck Jump -- It's here, I promise. They know about it, really! I swear! FoFiX issue 743

Of course, I believe I told you that the last time you brought it up. Then again, you were too busy ignoring Slash and p_025 in relation to their separate issue to catch my post.

As far as the neck selection, which again, I personally mentioned a few pages back. Right after Pascal added the new necks. Default Neck in options only applies to new profiles! You must change the neck in your character profile for it to take effect.

rm -Rf svn plzkthxbai
WildSioux
Member
Posts: 81
Joined: January 14th, 2009
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby WildSioux » Sat May 30, 2009 11:16 am

No need to jump on him Lysdestic. A simple reply from the devs in that issue 743 would be nice. But it does seem like they are ignoring all these neck bugs.

On another bug note, is anyone else having the problem with the "Stage Shaders" turning all white after playing for about 30 minutes? I don't know if it is me, my card getting hot (the warmest it ever gets is 50c...not that when the threshold is 120c). So there must be a bug with the shaders for the stage. The whole top middle of the screen turns white and flashes.

This happens on the RB2 theme (not sure about the others as I mainly have RB2 set).
linuxmint 7 (Jaunty 9.04), KDE 4.2.3, 32-bit with python2.6 installed running FoFiX-SVN. P4-2.4Ghz, 1gig ram, BFG Nvidia 8400 GS (512mb) - beta driver 185.18.14, 2x X-ploder guitars.
User avatar
evil-doer
Member
Posts: 372
Joined: June 16th, 2008
Location: Canada
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby evil-doer » Sat May 30, 2009 11:19 am

Lysdestic wrote:You must change the neck in your character profile for it to take effect.


i do that and it still ends up as the flame one. also the neck selection screen seems to be broken. sometimes you see a plain black one but it disapears as you scroll. its odd.

edit: heres an animation to show what i mean.

Image
Last edited by evil-doer on Sat May 30, 2009 11:33 am, edited 1 time in total.
Sexier than you
User avatar
p_025
Member
Posts: 187
Joined: February 17th, 2008
Location: somewhere
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby p_025 » Sat May 30, 2009 11:27 am

I tried to preview a song (I believe it does have a preview.ogg) and got this. I loled.

Spoiler:(D) loadSong function call (song.py)...
(E) Loading error: Traceback (most recent call last):
File "C:\Games\FoFiX\src\GameEngine.py", line 988, in main
done = Engine.run(self)
File "C:\Games\FoFiX\src\Engine.py", line 133, in run
self._runTask(task)
File "C:\Games\FoFiX\src\Engine.py", line 124, in _runTask
task.run(ticks)
File "C:\Games\FoFiX\src\Resource.py", line 252, in run
loader.finish()
File "C:\Games\FoFiX\src\Resource.py", line 112, in load
self.result = self.function()
File "C:\Games\FoFiX\src\Dialogs.py", line 1519, in <lambda>
self.songLoader = self.engine.resource.load(self, None, lambda: Song.loadSong(self.engine, song, playbackOnly = True, library = self.library), synch = False, onLoad = self.songLoaded) #Blazingamer - asynchronous preview loading allows "Loading Preview..." to correctly disappear.
File "C:\Games\FoFiX\src\Song.py", line 4047, in loadSong
song = Song(engine, infoFile, songFile, guitarFile, rhythmFile, noteFile, scriptFile, part, drumFile, crowdFile)
File "C:\Games\FoFiX\src\Song.py", line 2632, in __init__
self.music = Audio.Music(songTrackName)
File "C:\Games\FoFiX\src\Audio.py", line 103, in __init__
pygame.mixer.music.load(fileName)
error: Couldn't read from 'C:\Games\FoFiX\data\songs\Rock Band\5.5 Cream - Crossroads\guitar.ogg'

(E) error, <class 'pygame.error'>: Couldn't read from 'C:\Games\FoFiX\data\songs\Rock Band\5.5 Cream - Crossroads\guitar.ogg'Traceback (most recent call last):
File "C:\Games\FoFiX\src\GameEngine.py", line 1015, in run
return self.mainloop()
File "C:\Games\FoFiX\src\GameEngine.py", line 988, in main
done = Engine.run(self)
File "C:\Games\FoFiX\src\Engine.py", line 133, in run
self._runTask(task)
File "C:\Games\FoFiX\src\Engine.py", line 124, in _runTask
task.run(ticks)
File "C:\Games\FoFiX\src\Resource.py", line 252, in run
loader.finish()
File "C:\Games\FoFiX\src\Resource.py", line 112, in load
self.result = self.function()
File "C:\Games\FoFiX\src\Dialogs.py", line 1519, in <lambda>
self.songLoader = self.engine.resource.load(self, None, lambda: Song.loadSong(self.engine, song, playbackOnly = True, library = self.library), synch = False, onLoad = self.songLoaded) #Blazingamer - asynchronous preview loading allows "Loading Preview..." to correctly disappear.
File "C:\Games\FoFiX\src\Song.py", line 4047, in loadSong
song = Song(engine, infoFile, songFile, guitarFile, rhythmFile, noteFile, scriptFile, part, drumFile, crowdFile)
File "C:\Games\FoFiX\src\Song.py", line 2632, in __init__
self.music = Audio.Music(songTrackName)
File "C:\Games\FoFiX\src\Audio.py", line 103, in __init__
pygame.mixer.music.load(fileName)
error: Couldn't read from 'C:\Games\FoFiX\data\songs\Rock Band\5.5 Cream - Crossroads\guitar.ogg'

(D) View: Pop all
(D) View: Pop: SongChoosingSceneClient
(D) View: Pop: SongChooser
(D) Disconnecting.
(N) Connection lost.
(D) View: Push: MessageScreen
(E) Loading error: Traceback (most recent call last):
File "C:\Games\FoFiX\src\GameEngine.py", line 988, in main
done = Engine.run(self)
File "C:\Games\FoFiX\src\Engine.py", line 133, in run
self._runTask(task)
File "C:\Games\FoFiX\src\Engine.py", line 124, in _runTask
task.run(ticks)
File "C:\Games\FoFiX\src\View.py", line 125, in run
layer.hidden()
File "C:\Games\FoFiX\src\Dialogs.py", line 1153, in hidden
self.songLoader.stop() # evilynux - cancel() became stop()
AttributeError: 'Loader' object has no attribute 'stop'

(E) Recursive exception:Traceback (most recent call last):
File "C:\Games\FoFiX\src\GameEngine.py", line 1015, in run
return self.mainloop()
File "C:\Games\FoFiX\src\GameEngine.py", line 988, in main
done = Engine.run(self)
File "C:\Games\FoFiX\src\Engine.py", line 133, in run
self._runTask(task)
File "C:\Games\FoFiX\src\Engine.py", line 124, in _runTask
task.run(ticks)
File "C:\Games\FoFiX\src\View.py", line 125, in run
layer.hidden()
File "C:\Games\FoFiX\src\Dialogs.py", line 1153, in hidden
self.songLoader.stop() # evilynux - cancel() became stop()
AttributeError: 'Loader' object has no attribute 'stop'

(E) Loading error: Traceback (most recent call last):
File "C:\Games\FoFiX\src\GameEngine.py", line 988, 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 169, in run
selectedSong = Config.get("game", "selected_song"))
File "C:\Games\FoFiX\src\Dialogs.py", line 5158, in chooseSong
_runDialog(engine, d)
File "C:\Games\FoFiX\src\Dialogs.py", line 5115, in _runDialog
engine.run()
File "C:\Games\FoFiX\src\GameEngine.py", line 1045, in run
self.disconnect(session)
File "C:\Games\FoFiX\src\GameEngine.py", line 783, in disconnect
self.removeTask(session)
File "C:\Games\FoFiX\src\Engine.py", line 79, in removeTask
task.stopped()
File "C:\Games\FoFiX\src\Session.py", line 157, in stopped
self.close()
File "C:\Games\FoFiX\src\Network.py", line 144, in close
self.handle_close()
File "C:\Games\FoFiX\src\Network.py", line 152, in handle_close
return self.handleClose()
File "C:\Games\FoFiX\src\Session.py", line 208, in handleClose
self.broker.signalMessage(0, ConnectionLost())
File "C:\Games\FoFiX\src\Session.py", line 66, in signalMessage
handler.handleMessage(sender, message)
File "C:\Games\FoFiX\src\Session.py", line 87, in handleMessage
return f(sender, **message.__dict__)
File "C:\Games\FoFiX\src\GameTask.py", line 72, in handleConnectionLost
Dialogs.showMessage(self.engine, _("Connection lost."))
File "C:\Games\FoFiX\src\Dialogs.py", line 5264, in showMessage
_runDialog(engine, d)
File "C:\Games\FoFiX\src\Dialogs.py", line 5115, in _runDialog
engine.run()
File "C:\Games\FoFiX\src\GameEngine.py", line 1032, in run
sys.exit(1)
SystemExit: 1



After further testing, this only happens with songs from the GH, GH2, GH80s, or GH On Tour packs fromMrFaust. How odd. :S My RB1 previews load fine.

EDIT:
evil-doer wrote:edit: heres an animation to show what i mean.

Hey, I thought I was the only one having that problem. Also, notice the arrows disappear when the random image is selected?

EDIT2: Okay, now none of the previews are working, with or without preview.ogg. :(
Desktop:
OS: Windows XP Professional, Service Pack 3 (Build 2600); Windows 7 Ultimate x64 Beta (Build 7048) | CPU: Intel Core 2 Duo E6600 (2 CPUs, 2.40GHz) | RAM: 2x Corsair XMS 2GiB DDR2, 2x Corsair XMS 1GiB DDR2 (6GiB total, 3.25 recognized by XP) | Video: EVGA NVidia GeForce 8800GT 512MiB | Audio: Sound Blaster X-Fi XtremeMusic
I forget. LETS ROCK!
User avatar
jfosheezy
Member
Posts: 920
Joined: June 22nd, 2008
Location: The deepest pits of hell
Reputation: 1

Re: FoFiX v3.1xx development thread

Postby jfosheezy » Sat May 30, 2009 12:26 pm

I have a good idea and it is a simple one.
we could add a C at the end of a text position in the theme ini like so
loading_Y_C = .3
the "C" would mean center so that the text middle would always be in the same spot. we could also do it on all text like the game results part that shows what song you played so if it has a long title you could put the C in and it would center it so it looks a lot better.
sorry if im explaining this badly
ImageImage
Image
Image
Image
Image
The Man, The Moose
User avatar
amak11
Member
Posts: 3140
Joined: May 13th, 2008
Location: Nowhere, and somewhere
Reputation: 6
Contact:

Re: FoFiX v3.1xx development thread

Postby amak11 » Sat May 30, 2009 12:34 pm

I got idea when it comes to the themes. We can add loading animaitions to them. just like the hit glow and flame animations.

I will try and explain. You know how GH and RB both have the animated loading screens wheather it is GH3 with the flying tatoo thing or RB 1 in the bottom corner seeing a band play. It shouldn't take to much. A switch can be added to the theme.ini.
loadanime=true/false
Disclaimer: If you take the above text seriously, then you are an even greater idiot then I
Image


Image





letylovesjb27 in the Taylor Swift - Fearless Album thread wrote::DDDDDDDDDD thanks soooooooo much, I love all Taylor´s songs and this is already the first place where I finally found them!
Waitin for the others! xoxo



Code: Select all

<@away_xbox> Looks like it's your lucky day Amak11 >:) Since i don't see Amak here ill choose somebody else....
* @away_xbox straps 15 sticks of TNT to Amak11's body. The display reads [58] seconds.
<@away_xbox> Diffuse the timer by cutting the correct wire. There are 14 wires. They are Green White Peenus Indigo Black Gold Grey Brown Violet Turquoise Teal Magenta Mauve and Yellow.
<Amak11> oh really
<Belisario93> hmm
<Amak11> !cutwire Peenus
<@away_xbox> ...snip....
<@away_xbox> Amak11 cut the Peenus wire. This has defused the timer on the TNT! Just try and get it off you without setting it off, ok?


Return to “FoFiX”

Who is online

Users browsing this forum: No registered users and 4 guests