"Open Source", but how to view files?

Help center. Members helping members
Forum rules
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.
xLixingx
Member
Posts: 20
Joined: August 10th, 2012
Reputation: 0

"Open Source", but how to view files?

Postby xLixingx » Mon Aug 27, 2012 9:43 pm

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?
Still Alive
wolferacing
Moderator
Posts: 1852
Joined: July 25th, 2007
Location: USA
Reputation: 27
Contact:

Re: "Open Source", but how to view files?

Postby wolferacing » Mon Aug 27, 2012 10:32 pm

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/
L0fka
Member
Posts: 57
Joined: February 20th, 2011
Reputation: 0

Re: "Open Source", but how to view files?

Postby L0fka » Thu Aug 30, 2012 9:51 am

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)?
xLixingx
Member
Posts: 20
Joined: August 10th, 2012
Reputation: 0

Re: "Open Source", but how to view files?

Postby xLixingx » Thu Aug 30, 2012 7:51 pm

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).
xLixingx
Member
Posts: 20
Joined: August 10th, 2012
Reputation: 0

Re: "Open Source", but how to view files?

Postby xLixingx » Sat Sep 01, 2012 8:49 am

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
L0fka
Member
Posts: 57
Joined: February 20th, 2011
Reputation: 0

Re: "Open Source", but how to view files?

Postby L0fka » Sat Sep 01, 2012 6:21 pm

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 :rolleyes: )
xLixingx
Member
Posts: 20
Joined: August 10th, 2012
Reputation: 0

Re: "Open Source", but how to view files?

Postby xLixingx » Sat Sep 01, 2012 10:03 pm

So you can take the source code, and attempt to replicate it in 3.2.x, in some way?
L0fka
Member
Posts: 57
Joined: February 20th, 2011
Reputation: 0

Re: "Open Source", but how to view files?

Postby L0fka » Sun Sep 02, 2012 2:05 am

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 :)
xLixingx
Member
Posts: 20
Joined: August 10th, 2012
Reputation: 0

Re: "Open Source", but how to view files?

Postby xLixingx » Sun Sep 02, 2012 7:06 pm

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?
L0fka
Member
Posts: 57
Joined: February 20th, 2011
Reputation: 0

Re: "Open Source", but how to view files?

Postby L0fka » Mon Sep 03, 2012 9:31 am

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.
not a robot
User avatar
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?

Postby raph666 » Tue Sep 04, 2012 10:07 am

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
xLixingx
Member
Posts: 20
Joined: August 10th, 2012
Reputation: 0

Re: "Open Source", but how to view files?

Postby xLixingx » Wed Sep 05, 2012 7:46 pm

Thank you all for your help.
I will get started on looking and such with the codes as soon as I can
Have a :)

Return to “Tech Support”

Who is online

Users browsing this forum: No registered users and 17 guests