FoFiX 4.0.0 Development Thread

Discussion particular to FoFiX, its development, and themes
Forum rules
Blue Heaven!
User avatar
death_au
Member
Posts: 3991
Joined: December 12th, 2007
Location: Australia
Reputation: 5
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby death_au » Tue Sep 29, 2009 11:36 pm

cmsk8ter wrote:it just takes me back to the main menu.
what should I do?
should I take the svn folder out?

Give that a go and see if it helps (it should).
It is a bug though and needs to be fixed
User avatar
cmsk8ter
Member
Posts: 211
Joined: February 8th, 2008
Location: Roswell
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby cmsk8ter » Tue Sep 29, 2009 11:41 pm

I still get the error

Spoiler:(W) PyOGG not found. OGG files will be fully decoded prior to playing; expect absurd memory usage.
(D) Checking MIDI output ports for a wavetable or synth for sound generation...
(D) MIDI output port count = 2
(D) MIDI Output port 0 found: Microsoft GS Wavetable Synth
(D) MIDI Output port 1 found: LoopBe Internal MIDI
(D) GameEngine class init (GameEngine.py)...
(D) FoFiX v4.0.0 development (r1913) starting up...
(D) pygame version: 1.9.1release-svn2575
(D) Initializing audio.
(D) Audio configuration: (44100, -16, 2)
(D) Initializing pygame.mixer & audio system at 44100 Hz.
(D) Initializing video.
(D) 1 joysticks found.
(D) 1 MIDI inputs found.
(D) Image not found: themes\Rock Band TB\spfill.png
(D) Image not found: themes\Rock Band TB\star3.png
(D) Image not found: themes\Rock Band TB\star4.png
(D) Image not found: themes\Rock Band TB\starfc.png
(D) Image not found: themes\Rock Band TB\submenuselect.png
(W) Rock Band TB\soundsattleused.ogg not found -- using staractive.ogg instead.
(W) Rock Band TB\sounds
escue.ogg not found -- using staractivate.ogg instead.
(W) Rock Band TB\sounds\coopfail.ogg not found -- using stardeactivate.ogg instead
(D) Default animated stage for Rock Band TB theme = Normal
(D) 9 guitscw sounds found in themes\Rock Band TB\sounds: guitscw1.ogg - guitscw9.ogg
(D) Ready.
(D) 8 bassscw sounds found in themes\Rock Band TB\sounds: bassscw1.ogg - bassscw8.ogg
(D) 8 drumscw sounds found in sounds: drumscw1.ogg - drumscw8.ogg
(D) 6 accept sounds found in themes\Rock Band TB\sounds: accept1.ogg - accept6.ogg
(D) 9 guitscw sounds found in themes\Rock Band TB\sounds: guitscw1.ogg - guitscw9.ogg
(D) View: Push: LoadingScreen
(D) View: Pop: LoadingScreen
(D) View: Push: MainMenu
(D) View: Push: Menu
(D) Graphic menu enabled for submenu: solo
(D) View: Push: Menu
(D) Image not found: themes\Rock Band TB\lobby\select.png
(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) Image not found: themes\Rock Band TB\lobby\creator_top.png
(D) Image not found: themes\Rock Band TB\lobby\lobby_top.png
(D) Image not found: themes\Rock Band TB\lobby\select.png
(D) Image not found: themes\Rock Band TB\lobby\information.png
(D) Image not found: themes\Rock Band TB\lobby\choosechar.png
(D) Image not found: themes\Rock Band TB\avatars\default.png
(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.20000000000000001, 0.11)
(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.88235294117647056, 0.7686274509803922, 0.20784313725490197)
(D) song_cd_xpos found: None
(D) song_cdscore_xpos found: None
(D) song_list_xpos found: 0.12
(D) song_listscore_xpos found: 0.8
(D) song_listcd_cd_xpos found: 0.78
(D) song_listcd_cd_ypos found: 0.615
(D) song_listcd_score_xpos found: 0.6
(D) song_listcd_score_ypos found: 0.515
(D) song_listcd_list_xpos found: 0.1
(D) Dialogs.loadCollection() function call...
(D) View: Push: LoadingSplashScreen
(D) Song.getAvailableLibraries function call...library = C:\Users\admin\Documents\Caleb\programs\FoFiX 4.0.0 beta\data\songs\The Beatles-Rock Band
(D) Dialogs.libraryListLoaded() function call...
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 1 - Beginner
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 2 - Apprentice
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 3 - Moderate
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 4 - Solid
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 5 - Tricky
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 6 - Challenging
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 7 - Demanding
(D) Dialogs.py: Finished inserting blank spaces in self.songs.
(D) Dialogs.py: Finished filtering doubled blank spaces in self.songs.
(D) Dialogs.songListLoaded.
(D) Image not found: C:\Users\admin\Documents\Caleb\programs\FoFiX 4.0.0 beta\data\songs\The Beatles-Rock Band\The Beatles - All You Need Is Love\label.png
(D) View: Pop: LoadingSplashScreen
(E) Loading error: Traceback (most recent call last):
File "C:\Users\admin\Documents\Caleb\programs\FoFiX 4.0.0 beta\src\GameEngine.py", line 1023, in main
done = Engine.run(self)
File "C:\Users\admin\Documents\Caleb\programs\FoFiX beta\src\Engine.py", line 136, in run
self._runTask(task, tick)
File "C:\Users\admin\Documents\Caleb\programs\FoFiX beta\src\Engine.py", line 124, in _runTask
task.run(ticks)
File "C:\Users\admin\Documents\Caleb\programs\FoFiX beta\src\SongChoosingScene.py", line 170, in run
selectedSong = Config.get("game", "selected_song"))
File "C:\Users\admin\Documents\Caleb\programs\FoFiX beta\src\Dialogs.py", line 5294, in chooseSong
d = SongChooser(engine, prompt, selectedLibrary = selectedLibrary, selectedSong = selectedSong)
File "C:\Users\admin\Documents\Caleb\programs\FoFiX beta\src\Dialogs.py", line 834, in __init__
imgDrawing = self.engine.data.getImgDrawing(os.path.join("themes",themename,"menu","icon",filename))
File "C:\Users\admin\Documents\Caleb\programs\FoFiX 4.0.0 beta\src\Data.py", line 576, in getImgDrawing
imgDrawing = ImgDrawing(self.svg, fileName1)
File "C:\Users\admin\Documents\Caleb\programs\FoFiX 4.0.0 beta\src\Svg.py", line 111, in __init__
self.texture = Texture(ImgData)
File "C:\Users\admin\Documents\Caleb\programs\FoFiX beta\src\Texture.py", line 67, in __init__
self.loadFile(name)
File "C:\Users\admin\Documents\Caleb\programs\FoFiX beta\src\Texture.py", line 71, in loadFile
self.loadImage(Image.open(name))
File "C:\Python24\Lib\site-packages\PIL\Image.py", line 1912, in open
return factory(fp, filename)
File "C:\Python24\Lib\site-packages\PIL\ImageFile.py", line 82, in __init__
self._open()
File "C:\Python24\Lib\site-packages\PIL\FpxImagePlugin.py", line 63, in _open
self.ole = OleFileIO(self.fp)
File "C:\Python24\Lib\site-packages\PIL\OleFileIO.py", line 260, in __init__
self.open(filename)
File "C:\Python24\Lib\site-packages\PIL\OleFileIO.py", line 293, in open
self.loaddirectory(i32(header, 48))
File "C:\Python24\Lib\site-packages\PIL\OleFileIO.py", line 339, in loaddirectory
fp = self._open(sect)
File "C:\Python24\Lib\site-packages\PIL\OleFileIO.py", line 405, in _open
self.sectorsize, self.fat)
File "C:\Python24\Lib\site-packages\PIL\OleFileIO.py", line 106, in __init__
sect = fat[sect]
OverflowError: long int too large to convert to int

(E) OverflowError, exceptions.OverflowError: long int too large to convert to intTraceback (most recent call last):
File "C:\Users\admin\Documents\Caleb\programs\FoFiX 4.0.0 beta\src\GameEngine.py", line 1050, in run
return self.mainloop()
File "C:\Users\admin\Documents\Caleb\programs\FoFiX 4.0.0 beta\src\GameEngine.py", line 1023, in main
done = Engine.run(self)
File "C:\Users\admin\Documents\Caleb\programs\FoFiX beta\src\Engine.py", line 136, in run
self._runTask(task, tick)
File "C:\Users\admin\Documents\Caleb\programs\FoFiX beta\src\Engine.py", line 124, in _runTask
task.run(ticks)
File "C:\Users\admin\Documents\Caleb\programs\FoFiX beta\src\SongChoosingScene.py", line 170, in run
selectedSong = Config.get("game", "selected_song"))
File "C:\Users\admin\Documents\Caleb\programs\FoFiX beta\src\Dialogs.py", line 5294, in chooseSong
d = SongChooser(engine, prompt, selectedLibrary = selectedLibrary, selectedSong = selectedSong)
File "C:\Users\admin\Documents\Caleb\programs\FoFiX beta\src\Dialogs.py", line 834, in __init__
imgDrawing = self.engine.data.getImgDrawing(os.path.join("themes",themename,"menu","icon",filename))
File "C:\Users\admin\Documents\Caleb\programs\FoFiX 4.0.0 beta\src\Data.py", line 576, in getImgDrawing
imgDrawing = ImgDrawing(self.svg, fileName1)
File "C:\Users\admin\Documents\Caleb\programs\FoFiX 4.0.0 beta\src\Svg.py", line 111, in __init__
self.texture = Texture(ImgData)
File "C:\Users\admin\Documents\Caleb\programs\FoFiX beta\src\Texture.py", line 67, in __init__
self.loadFile(name)
File "C:\Users\admin\Documents\Caleb\programs\FoFiX beta\src\Texture.py", line 71, in loadFile
self.loadImage(Image.open(name))
File "C:\Python24\Lib\site-packages\PIL\Image.py", line 1912, in open
return factory(fp, filename)
File "C:\Python24\Lib\site-packages\PIL\ImageFile.py", line 82, in __init__
self._open()
File "C:\Python24\Lib\site-packages\PIL\FpxImagePlugin.py", line 63, in _open
self.ole = OleFileIO(self.fp)
File "C:\Python24\Lib\site-packages\PIL\OleFileIO.py", line 260, in __init__
self.open(filename)
File "C:\Python24\Lib\site-packages\PIL\OleFileIO.py", line 293, in open
self.loaddirectory(i32(header, 48))
File "C:\Python24\Lib\site-packages\PIL\OleFileIO.py", line 339, in loaddirectory
fp = self._open(sect)
File "C:\Python24\Lib\site-packages\PIL\OleFileIO.py", line 405, in _open
self.sectorsize, self.fat)
File "C:\Python24\Lib\site-packages\PIL\OleFileIO.py", line 106, in __init__
sect = fat[sect]
OverflowError: long int too large to convert to int

(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) 6 phrases taught.
(N) OverflowError: long int too large to convert to int
(D) View: Push: MessageScreen
(D) View: Pop: MessageScreen
(D) View: Pop: Menu
(D) View: Pop: MainMenu
(D) View: Pop: Menu

Image
Blue Heaven!
User avatar
death_au
Member
Posts: 3991
Joined: December 12th, 2007
Location: Australia
Reputation: 5
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby death_au » Wed Sep 30, 2009 12:00 am

This may not be exactly related, but are you sure you've set up the required source modules correctly. I noticed a warning at the top of your log there:
your logfile wrote:(W) PyOGG not found. OGG files will be fully decoded prior to playing; expect absurd memory usage.

If pyOGG is not setup properly, chances are something else isn't setup properly.

EDIT: Actually, you might want to clear your .fofix-cache files and see if that helps, too.
User avatar
cmsk8ter
Member
Posts: 211
Joined: February 8th, 2008
Location: Roswell
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby cmsk8ter » Wed Sep 30, 2009 12:41 am

ive done the cache thing a couple of times. but i installed pyogg twice already. im going to try it again
Image
The tux power
User avatar
Borisdsp
Member
Posts: 287
Joined: July 23rd, 2008
Location: España
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby Borisdsp » Wed Sep 30, 2009 5:57 am

Hey! I am an alpha tester again! I want to report more things for FOFiX 4.0 to be a more stable release! :thumbup:
Alpha testing too mean testing all the new features, so, how did I test the video support? you were talking a lot some time ago?
Team Meteorito Official Member
Blue Heaven!
User avatar
death_au
Member
Posts: 3991
Joined: December 12th, 2007
Location: Australia
Reputation: 5
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby death_au » Wed Sep 30, 2009 3:19 pm

Borisdsp wrote:Hey! I am an alpha tester again! I want to report more things for FOFiX 4.0 to be a more stable release! :thumbup:
Alpha testing too mean testing all the new features, so, how did I test the video support? you were talking a lot some time ago?

There are tester files for video and animation, but there is nothing to test in-game yet.
User avatar
cmsk8ter
Member
Posts: 211
Joined: February 8th, 2008
Location: Roswell
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby cmsk8ter » Wed Sep 30, 2009 3:25 pm

I go to my "Python24" file under my computer under local disk C. (C:Python24\) and I click on removepyogg.exe to reinstall pyogg and it says "This program is normally started by windows" why isnt my pyogg working for FoFiX? is this maybe part of it?

EDIT

I can play perfectly with Megalight theme
Image
max_rodolfo
Member
Posts: 69
Joined: September 24th, 2009
Reputation: 0

Re: FoFiX 4.0.0 Development Thread

Postby max_rodolfo » Wed Sep 30, 2009 4:02 pm

How i can download?
User avatar
worldrave
Member
Posts: 1363
Joined: August 8th, 2007
Location: GA
Reputation: 0

Re: FoFiX 4.0.0 Development Thread

Postby worldrave » Wed Sep 30, 2009 4:52 pm

Read the 1st post. Question is already answered there.
User avatar
lvl4573r
Member
Posts: 77
Joined: May 24th, 2008
Location: Somewere
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby lvl4573r » Thu Oct 01, 2009 6:19 am

Help! Theres something wrong with my FoFiX. Recently, its been working extra well (average fps over 40, minimum amount of stutters, etc). I think it wants me to thank all the developers for all their great work.

Wat do?!
Bridged To The Sun.
User avatar
acrox999
Member
Posts: 3597
Joined: March 21st, 2008
Location: /opt/bin/fretsonfire
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby acrox999 » Thu Oct 01, 2009 9:02 am

lvl4573r wrote:Help! Theres something wrong with my FoFiX. Recently, its been working extra well (average fps over 40, minimum amount of stutters, etc). I think it wants me to thank all the developers for all their great work.

Wat do?!

What problem?

@Borisdsp : AFAIK, you can test with AnimationPlayerTest.py and VideoPlayerTest.py but the testing video files isn't uploaded in the SVN, so you can just read what the error told you and make the video file yourself. I never did this before, just thought of it, since I got the error.
ecreif
Member
Posts: 8
Joined: September 7th, 2008
Location: Germany
Reputation: 0

Re: FoFiX 4.0.0 Development Thread

Postby ecreif » Fri Oct 02, 2009 5:17 am

hi

i am a c++ game developer.
i love the game but i have trouble with performance. i only got around 20fps
thats way to low to play accurately.
i think the lack of performance is due to python or libs that are used by python
so i decided to ask if it is possible or appreciated for the fofix developers to use a c++ lib for time critical functions..
i really would like to write such a lib and help increasing the performance of fofix.
is there any interest?

ecreif
User avatar
Azzco
Member
Posts: 1307
Joined: August 15th, 2007
Location: Trelleborg, Scania, Sweden
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby Azzco » Fri Oct 02, 2009 9:26 am

ecreif wrote:so i decided to ask if it is possible or appreciated for the fofix developers to use a c++ lib for time critical functions..
is there any interest?

I think you'll get some positive feedback on this once some of the devs gets up. ;)

When C++ has been mentioned before it's usually ended up in flame wars, but then it's mostly been talk about rewriting the entire game to C++ and not just parts of it like you suggest.
I really hope we can see this getting worked on and improve performance, and if you didn't know they're rewriting large parts of the game with PyOpengl 3 in mind and other nifty stuff.
Image
(k)Ubuntu 8.10 skyscraper 2.6.27-11-generic i686 GNU/Linux KDE 4.2.0
It's not like I dislike sleeping, I really do like it to be honest. It's the whole wake up/go to sleep business I don't like.
User avatar
cmsk8ter
Member
Posts: 211
Joined: February 8th, 2008
Location: Roswell
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby cmsk8ter » Fri Oct 02, 2009 10:33 am

ecreif wrote:hi

i am a c++ game developer.
i love the game but i have trouble with performance. i only got around 20fps
thats way to low to play accurately.
i think the lack of performance is due to python or libs that are used by python
so i decided to ask if it is possible or appreciated for the fofix developers to use a c++ lib for time critical functions..
i really would like to write such a lib and help increasing the performance of fofix.
is there any interest?

ecreif


these guys are trying to make a new FOF with C++., maybe you can help
http://www.fretsonfire.net/forums/viewtopic.php?f=4&t=37534
Image
ecreif
Member
Posts: 8
Joined: September 7th, 2008
Location: Germany
Reputation: 0

Re: FoFiX 4.0.0 Development Thread

Postby ecreif » Fri Oct 02, 2009 12:37 pm

cmsk8ter wrote:these guys are trying to make a new FOF with C++., maybe you can help
viewtopic.php?f=4&t=37534


i dont want to rewrite the whole fof.. i dont think it is necessary and it is too much work imo. my idea is just to write certain slow code parts in c++ so we have all advantages of python as well as the advantages of c++. it isnt difficult all i need is a fof developer who knows those slow parts and is willing to replace these parts with my fast functions from the lib. i am a bit lazy so i dont want to do it all by myself (learning python and understanding the fof code etc). i think its possible and it would make the game alot faster. i am pretty sure because python has only little advantage of cache performance, ssl and python compiler are not close as good as c++ compiler.

ecreif

Return to “FoFiX”

Who is online

Users browsing this forum: No registered users and 6 guests