SVN - A tutorial to keep your FoFiX (or FretsOnFire) updated

Discussion particular to FoFiX, its development, and themes
Forum rules
This topic is 16 years and 1 month old. Instead of replying, please begin a new topic, or search for another related topic that may be more suitable.
trinidude4
Member
Posts: 395
Joined: March 22nd, 2008
Reputation: 0

Re: SVN - A tutorial to keep your FoFiX (or FretsOnFire) updated

Postby trinidude4 » Mon Dec 15, 2008 7:04 pm

raph666 wrote:Required modules (python 2.4):

  • PyGame:
    • win32
    • I can't find a working pygame package for pygame. If somebody can help, it is the only point missing in the Mac OS X instructions.
    • APT: python-pygame


The pygame package in fink, pygame-py24, doesn't work? I can't really test it because I don't use fink and I don't want to mess around with how I have things set up right now.

If you're trying to build it on a Leopard machine, pyobjc might give you problems. I'm gonna check how I got pyobjc installed on my machine. It's been a while since I had to install it.

Edit:
I might be way off here but this is worth a shot. You may need to install pyobjc 1.4 to get pygame to work on either a tiger or leopard machine. I don't think pyobjc 1.4 can be compiled on a leopard machine. It will work if compiled on a tiger machine and installed in leopard though. I found a precompiled version of pyobjc here: http://pythonmac.org/packages/py24-fat/dmg/pyobjc-1.4-python2.4-macosx10.4.dmg.
I don't know if the pkg installer will install it in the correct location so I extracted the necessary files and posted them here: http://www.mediafire.com/?m0djx5dmqyj
You just need to take the PyObjC folder and PyObjC.pth and put them in your python site-packages directory.
Then you can try to see if pygame works.
slugsey
Member
Posts: 7
Joined: October 30th, 2008
Reputation: 0

Re: SVN - A tutorial to keep your FoFiX (or FretsOnFire) updated

Postby slugsey » Tue Dec 16, 2008 3:32 am

I got the program up and running using the packages from fink (including pygame). However, I can only see the main menu screen for every theme. When I select one of the options, I don't get any text or menus showing up.

Any idea what the problem could be?
Image
Shoddy Battle - Free online Pokémon battle simulator
trinidude4
Member
Posts: 395
Joined: March 22nd, 2008
Reputation: 0

Re: SVN - A tutorial to keep your FoFiX (or FretsOnFire) updated

Postby trinidude4 » Tue Dec 16, 2008 7:17 am

slugsey wrote:I got the program up and running using the packages from fink (including pygame). However, I can only see the main menu screen for every theme. When I select one of the options, I don't get any text or menus showing up.

Any idea what the problem could be?


Are you using python 2.5 with py-opengl 2?
caiowatanabe
Member
Posts: 67
Joined: July 15th, 2008
Location: Brazil
Reputation: 0

Re: SVN - A tutorial to keep your FoFiX (or FretsOnFire) updated

Postby caiowatanabe » Tue Dec 16, 2008 7:44 am

sorry for the question but i'm new with this stuff...

i did the checkout but, there is not a FretsOnFire.exe file to run the game...

what can i do?
slugsey
Member
Posts: 7
Joined: October 30th, 2008
Reputation: 0

Re: SVN - A tutorial to keep your FoFiX (or FretsOnFire) updated

Postby slugsey » Tue Dec 16, 2008 2:54 pm

trinidude4 wrote:Are you using python 2.5 with py-opengl 2?


I'm using Python 2.5.1 and py-opengl claims to be version 2.0.1.09. The problem looks like it has to do with fonts, because I can see everything that is just a picture, but none of the menu text or song selection text. I can still select options in the menus, but I can't see what I am selecting. No errors show up in the error console except for a malloc error I got when I tried to play a song and the game crashed. Are there any text libraries that need to be installed? Or is that part of OpenGL?

EDIT: I got the text showing up now by installing py-opengl version 3.x (not available from fink). Unfortunately, when I go to play a song I hear cheering but nothing shows up and the game freezes with a bunch of malloc errors
Image
Shoddy Battle - Free online Pokémon battle simulator
LameAxe
Member
Posts: 7
Joined: December 9th, 2008
Reputation: 0

Re: SVN - A tutorial to keep your FoFiX (or FretsOnFire) updated

Postby LameAxe » Tue Dec 16, 2008 3:36 pm

caiowatanabe wrote:sorry for the question but i'm new with this stuff...

i did the checkout but, there is not a FretsOnFire.exe file to run the game...

what can i do?


If you have set it up properly (following the instructions on the first post) you should just be able to double click on FretsOnFire.py from the src folder and it will run the game, there is no need to worry about the FretsOnFire.exe as you have to build that yourself
caiowatanabe
Member
Posts: 67
Joined: July 15th, 2008
Location: Brazil
Reputation: 0

Re: SVN - A tutorial to keep your FoFiX (or FretsOnFire) updated

Postby caiowatanabe » Tue Dec 16, 2008 4:43 pm

LameAxe wrote:
caiowatanabe wrote:sorry for the question but i'm new with this stuff...

i did the checkout but, there is not a FretsOnFire.exe file to run the game...

what can i do?


If you have set it up properly (following the instructions on the first post) you should just be able to double click on FretsOnFire.py from the src folder and it will run the game, there is no need to worry about the FretsOnFire.exe as you have to build that yourself


i did what u said but, when i click on FretsOnFire.py, this screen appears

http://img175.imageshack.us/img175/2895 ... honss7.png
LameAxe
Member
Posts: 7
Joined: December 9th, 2008
Reputation: 0

Re: SVN - A tutorial to keep your FoFiX (or FretsOnFire) updated

Postby LameAxe » Tue Dec 16, 2008 4:51 pm

caiowatanabe wrote:
LameAxe wrote:
caiowatanabe wrote:sorry for the question but i'm new with this stuff...

i did the checkout but, there is not a FretsOnFire.exe file to run the game...

what can i do?


If you have set it up properly (following the instructions on the first post) you should just be able to double click on FretsOnFire.py from the src folder and it will run the game, there is no need to worry about the FretsOnFire.exe as you have to build that yourself


i did what u said but, when i click on FretsOnFire.py, this screen appears

http://img175.imageshack.us/img175/2895 ... honss7.png


I assume you have installed all the required modules as per http://code.google.com/p/fofix/wiki/Req ... rceModules and you have always run an SVN update after checking out FoFix
caiowatanabe
Member
Posts: 67
Joined: July 15th, 2008
Location: Brazil
Reputation: 0

Re: SVN - A tutorial to keep your FoFiX (or FretsOnFire) updated

Postby caiowatanabe » Tue Dec 16, 2008 5:24 pm

downloaded the modules from the first post and checked for updates sometimes
trinidude4
Member
Posts: 395
Joined: March 22nd, 2008
Reputation: 0

Re: SVN - A tutorial to keep your FoFiX (or FretsOnFire) updated

Postby trinidude4 » Tue Dec 16, 2008 5:31 pm

slugsey wrote:
trinidude4 wrote:Are you using python 2.5 with py-opengl 2?


I'm using Python 2.5.1 and py-opengl claims to be version 2.0.1.09. The problem looks like it has to do with fonts, because I can see everything that is just a picture, but none of the menu text or song selection text. I can still select options in the menus, but I can't see what I am selecting. No errors show up in the error console except for a malloc error I got when I tried to play a song and the game crashed. Are there any text libraries that need to be installed? Or is that part of OpenGL?

EDIT: I got the text showing up now by installing py-opengl version 3.x (not available from fink). Unfortunately, when I go to play a song I hear cheering but nothing shows up and the game freezes with a bunch of malloc errors


You can still use pyopengl 2 if you use a work around for now. You have to edit Font.py to force it to use the render24 function instead of the render function. The easiest way to do that is to change any "2.4" you find in Font.py to "2.5".

I avoid using pyopengl 3 for now since it makes the game laggy.
caiowatanabe
Member
Posts: 67
Joined: July 15th, 2008
Location: Brazil
Reputation: 0

Re: SVN - A tutorial to keep your FoFiX (or FretsOnFire) updated

Postby caiowatanabe » Tue Dec 16, 2008 5:49 pm

LameAxe wrote:I assume you have installed all the required modules as per http://code.google.com/p/fofix/wiki/Req ... rceModules and you have always run an SVN update after checking out FoFix
[/quote][/quote]

am i supposed to do like the google steps?
LameAxe
Member
Posts: 7
Joined: December 9th, 2008
Reputation: 0

Re: SVN - A tutorial to keep your FoFiX (or FretsOnFire) updated

Postby LameAxe » Tue Dec 16, 2008 5:50 pm

caiowatanabe wrote:
LameAxe wrote:I assume you have installed all the required modules as per http://code.google.com/p/fofix/wiki/Req ... rceModules and you have always run an SVN update after checking out FoFix


am i supposed to do like the google steps?


I followed them and I have the latest version up and running without any problems :thumbup:
caiowatanabe
Member
Posts: 67
Joined: July 15th, 2008
Location: Brazil
Reputation: 0

Re: SVN - A tutorial to keep your FoFiX (or FretsOnFire) updated

Postby caiowatanabe » Tue Dec 16, 2008 6:11 pm

LameAxe wrote:
caiowatanabe wrote:
LameAxe wrote:I assume you have installed all the required modules as per http://code.google.com/p/fofix/wiki/Req ... rceModules and you have always run an SVN update after checking out FoFix


am i supposed to do like the google steps?


I followed them and I have the latest version up and running without any problems :thumbup:


thx it worked but look how the game looks

http://img255.imageshack.us/img255/768/fofixznz9.png
slugsey
Member
Posts: 7
Joined: October 30th, 2008
Reputation: 0

Re: SVN - A tutorial to keep your FoFiX (or FretsOnFire) updated

Postby slugsey » Tue Dec 16, 2008 6:16 pm

Oh, heh making those changes to Font.py worked beatifully. I don't know about all of those hardcoded checks for version though :p. Thanks a lot for the help. I guess it does work for OS X after all.

EDIT: OK it hasn't given up the fight yet. Now the guitar track doesn't sound while playing a song. Or am I just an idiot and managed to change some setting in a menu?
Last edited by slugsey on Tue Dec 16, 2008 6:52 pm, edited 1 time in total.
Image
Shoddy Battle - Free online Pokémon battle simulator
abloobloo
User avatar
RedShadow
Member
Posts: 2393
Joined: June 9th, 2008
Location: Forsaken Fortress
Reputation: 2
Contact:

Re: SVN - A tutorial to keep your FoFiX (or FretsOnFire) updated

Postby RedShadow » Tue Dec 16, 2008 6:22 pm

Is it posible to use Python 3.0??

And after i got python what do i do??

Return to “FoFiX”

Who is online

Users browsing this forum: No registered users and 7 guests