From: pico <pi...@te...> - 2008-10-05 19:46:58
Attachments:
Mod.py.patch
|
Hi I'm trying to get the latest FOF working from Subversion source. I'm having quite a few problems getting it running. I have a few questions. 1) Is the latest subversion source ( in a working condition, or is it in a broken state? 2) Is it possible to run FOF without making a build? (with make -f Makefile.unix) The first error I get trying to run FOF from source is: Traceback (most recent call last): File "./FretsOnFire.py", line 74, in <module> engine = GameEngine(config) File "/home/pico/games/fretsonfire_source/trunk/src/GameEngine.py", line 180, in __init__ Mod.init(self) File "/home/pico/games/fretsonfire_source/trunk/src/Mod.py", line 32, in init for m in getAvailableMods(engine): File "/home/pico/games/fretsonfire_source/trunk/src/Mod.py", line 41, in getAvailableMods return [m for m in os.listdir(modPath) if os.path.isdir(os.path.join(modPath, m)) and not m.startswith(".")] OSError: [Errno 2] No such file or directory: '../data/mods' Obviously this can be solved by creating a mods directory under data, but I think FOF should not fail when it's missing. I've added a patch that I used to fix this. The next problem that I run into is: Traceback (most recent call last): File "./FretsOnFire.py", line 74, in <module> engine = GameEngine(config) File "/home/pico/games/fretsonfire_source/trunk/src/GameEngine.py", line 192, in __init__ self.data = Data(self.resource, self.svg) File "/home/pico/games/fretsonfire_source/trunk/src/Data.py", line 48, in __init__ self.loadSvgDrawing(self, "star1", "star1.svg", textureSize = (128, 128)) File "/home/pico/games/fretsonfire_source/trunk/src/Data.py", line 108, in loadSvgDrawing drawing.convertToTexture(textureSize[0], textureSize[1]) File "/home/pico/games/fretsonfire_source/trunk/src/Svg.py", line 577, in convertToTexture quality = self.context.getRenderingQuality() File "/home/pico/games/fretsonfire_source/trunk/src/Svg.py", line 118, in getRenderingQuality q = self.drawBoard.RenderingQuality() AttributeError: GOpenGLBoard instance has no attribute 'RenderingQuality' What has to be done to fix this? I guess DummyAmanith.py needs more methods added to it so that it looks like the real Amanith library? Thanks Pico |