I read that this game is Open Source, meaning you can look at the source code and learn from it.
However, I have found no way to interpret .pyd file extensions, which is what FoF uses. Any advice I can get?
"Open Source", but how to view files?
Forum rules
- Before posting in this section please make sure your question has not already been answered:
- Read the FAQs and stickied topics. In particular: /******READ THIS POST BEFORE POSTING IN THIS SECTION!******\
- Visit the Wiki: http://fretsonfire.wikidot.com/
- Please try to search the forums before posting
- Questions about FoFiX?
- For general help, visit the project's Wiki: http://code.google.com/p/fofix/w/list
- Problem running FoFiX from git? Ask ALL your questions in the FoFiX forum
This topic is 11 years and 7 months old. Instead of replying, please begin a new topic, or search for another related topic that may be more suitable.
Still Alive
-
- Moderator
- Posts: 1852
- Joined: July 25th, 2007
- Location: USA
- Reputation: 27
- Contact:
Re: "Open Source", but how to view files?
You need to download the uncompiled files. In order to run from source you would need to download a few other things.
For standard Frets on Fire here's a link: http://fretsonfire.sourceforge.net/docu ... on/source/
For standard Frets on Fire here's a link: http://fretsonfire.sourceforge.net/docu ... on/source/
Re: "Open Source", but how to view files?
Hey, xLixingx . What do you want from viewing "source code" fo this game?
So i think you now that is .pyd files are compiled C-code its look like .dll in win.
"Old fof" locate on a Sourceforge hosting, "FoFiX" - on GitHub.
Are you programmer (on beginner stage i think)?
So i think you now that is .pyd files are compiled C-code its look like .dll in win.
"Old fof" locate on a Sourceforge hosting, "FoFiX" - on GitHub.
Are you programmer (on beginner stage i think)?
Re: "Open Source", but how to view files?
I have programmed some things in Java, and I have basic understanding of Java and Python, but I am working on something that isn't as simple.
And I will be sure to look for everything you two provided me with (I am posting this on a mobile device).
And I will be sure to look for everything you two provided me with (I am posting this on a mobile device).
Re: "Open Source", but how to view files?
I know double posting is a horrible thing, but any idea as to if it will work with the most recent build of Python? I believe it is 3.2
Re: "Open Source", but how to view files?
For some reasons code works only on python 2.6.x
On python 3.2 don't. (but you can try to port\compile all dependent modules(and of course game code) for python 3.2...
issues, bugs and troubles guaranteed )
On python 3.2 don't. (but you can try to port\compile all dependent modules(and of course game code) for python 3.2...
issues, bugs and troubles guaranteed )
Re: "Open Source", but how to view files?
So you can take the source code, and attempt to replicate it in 3.2.x, in some way?
Re: "Open Source", but how to view files?
Yes, you can make a fork and develop its like you wish. Nothing's impossible, but you must know what you do.
Please don't waste your time at this try I Am sure this take a lot of time(and maybe you cannot build necessary modules for 3.2).
But who knows :)
Please don't waste your time at this try I Am sure this take a lot of time(and maybe you cannot build necessary modules for 3.2).
But who knows :)
Re: "Open Source", but how to view files?
So long story short, I need to download/install all the programs listed in the sourceforge for FoF listed here, for Python 2.6, then what? Open up the pyd files in...what? Python Idle?
Re: "Open Source", but how to view files?
long story too long =\
here is my opinion how to:
First of all run the game from source, if you want the original FOF no problem - <download> (By the way you can choose any branch).
Then gather the environment to chosen python. And you can safely try to run it from source (FretsOnFire.py launch the game).
As soon as we do these things, you are ready to assemble the environment for python 3.2
First time doing this(for 2.4 or 2.6) to make sure it that the build works for the overall confidence.
After? Happy porting and nice day.
here is my opinion how to:
First of all run the game from source, if you want the original FOF no problem - <download> (By the way you can choose any branch).
Then gather the environment to chosen python. And you can safely try to run it from source (FretsOnFire.py launch the game).
As soon as we do these things, you are ready to assemble the environment for python 3.2
First time doing this(for 2.4 or 2.6) to make sure it that the build works for the overall confidence.
After? Happy porting and nice day.
not a robot
- raph666
- Administrator
- Posts: 2426
- Joined: March 9th, 2007
- Location: dans la mer du nord
- Reputation: 20
- Contact:
Re: "Open Source", but how to view files?
xLixingx wrote: then what? Open up the pyd files in...what? Python Idle?
No, open .py files with the text editor/IDE of your choice. Even recent web browsers can show you the code. (ex: https://fretsonfire.svn.sourceforge.net ... sOnFire.py )
If you don't want to modify it and just look at it, you don't need anything else.
If you're interested working on the FoFiX source, read the instructions on this page:
https://github.com/stump/fofix/blob/mas ... mkd#readme
If you want to work on the "vanilla" Frets On Fire, this could be a good place to start:
viewtopic.php?f=11&t=24798
Re: "Open Source", but how to view files?
Thank you all for your help.
I will get started on looking and such with the codes as soon as I can
Have a :)
I will get started on looking and such with the codes as soon as I can
Have a :)
Who is online
Users browsing this forum: No registered users and 17 guests