FoFiX 4.0.0 Development Thread

Discussion particular to FoFiX, its development, and themes
Forum rules
This topic is 2 years and 3 months old. Instead of replying, please begin a new topic, or search for another related topic that may be more suitable.
I'm Brazilian
User avatar
Italo_Hellboy
Member
Posts: 195
Joined: June 23rd, 2008
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby Italo_Hellboy » Mon Oct 12, 2009 10:15 am

i put the icon folder in setlist folder but i can't see icons in songs screen
Sorry for bad english !! I'm Brazilian
Image
FoFiX Dev/Mod Squad
User avatar
jstump91
Member
Posts: 837
Joined: September 21st, 2008
Location: Baltimore, MD (US)
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby jstump91 » Mon Oct 12, 2009 6:20 pm

I just committed support for a new audio streaming module, which will be used in preference to the pyogg/pyvorbis-based one if it is present. The new code will soon add a lot more capabilities for how the game manipulates song audio streams (such as being able to apply conversions and effects and seek all tracks forward for section practice mode), but for now it just looks enough like the StreamingOggSound class in Audio.py that ordinary gameplay works with it.

I am deliberately not providing binaries of the new module yet because a lot of it is likely to change, but if you have a working C compiler, a copy of the Python headers, and development files for SDL, SDL_mixer, libogg, libvorbis, and libvorbisfile, "python setup.py install" will do the right thing from an svn checkout of http://svn.jstump.com/r/oggstreamer/trunk/. Do not ask us for help compiling and installing the module. When it has developed enough that the C code is unlikely to need further change, I will make and release Windows binaries of the module, but for now, you will have to live with compiling it yourself.

See FoFiX issue 419 for more details. (You may remember that as the pitchbend issue; the new pitchbending support will be going into this module once this module's basic functionality all works, so I decided to incorporate this module into that issue.)


Please do not latch onto this and suggest that we rewrite the entire game in C or C++ now that we are replacing one class with C code. Violators will receive warnings.
jstump91, a.k.a. john.stumpo, a.k.a. stump
jstump.com | stump's blog | FoFiX development | My own code
Can't find a Windows build of the Python module you need? Try my mediafire!
Don't say "Python can't do [insert task here]." Python can do anything with the right modules - said modules may just not have been written yet.
"Python - why settle for snake oil when you can have the whole snake?" --Mark Jackson
Did you search before you posted? Did you read the rules for the subforum you are posting in?
Mr. Fansonfire
User avatar
lordhardware
Member
Posts: 1600
Joined: November 2nd, 2008
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby lordhardware » Mon Oct 12, 2009 8:49 pm

Ok so... i followed all the instructions in the "working under svn" wiki, and it keeps saying im missing modules...

i do not understand?
WIP:
"Check Your Hardware: Modern Hits" 11/20
"Check Your Hardware: Australian Anthems" 4/20
"Check Your Hardware: Alternative" 4/20
"Check Your Hardware: Classic Beats" 2/20
"Check Your Hardware: Electronic" 2/10
"Check Your Hardware: Rap" 1/10
FoFiX Dev/Mod Squad
User avatar
jstump91
Member
Posts: 837
Joined: September 21st, 2008
Location: Baltimore, MD (US)
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby jstump91 » Mon Oct 12, 2009 8:54 pm

lordhardware wrote:Ok so... i followed all the instructions in the "working under svn" wiki, and it keeps saying im missing modules...

i do not understand?


It would be helpful if you listed which modules it said were missing.
jstump91, a.k.a. john.stumpo, a.k.a. stump
jstump.com | stump's blog | FoFiX development | My own code
Can't find a Windows build of the Python module you need? Try my mediafire!
Don't say "Python can't do [insert task here]." Python can do anything with the right modules - said modules may just not have been written yet.
"Python - why settle for snake oil when you can have the whole snake?" --Mark Jackson
Did you search before you posted? Did you read the rules for the subforum you are posting in?
Mr. Fansonfire
User avatar
lordhardware
Member
Posts: 1600
Joined: November 2nd, 2008
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby lordhardware » Mon Oct 12, 2009 9:02 pm

jstump91 wrote:
lordhardware wrote:Ok so... i followed all the instructions in the "working under svn" wiki, and it keeps saying im missing modules...

i do not understand?


It would be helpful if you listed which modules it said were missing.


well it seems i fixed the module missing problem... but now it says it needs to update Rockband 1 and that i have files missing O_O
WIP:
"Check Your Hardware: Modern Hits" 11/20
"Check Your Hardware: Australian Anthems" 4/20
"Check Your Hardware: Alternative" 4/20
"Check Your Hardware: Classic Beats" 2/20
"Check Your Hardware: Electronic" 2/10
"Check Your Hardware: Rap" 1/10
User avatar
Azzco
Member
Posts: 1308
Joined: August 15th, 2007
Location: Trelleborg, Scania, Sweden
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby Azzco » Mon Oct 12, 2009 9:17 pm

lordhardware wrote:
jstump91 wrote:
lordhardware wrote:Ok so... i followed all the instructions in the "working under svn" wiki, and it keeps saying im missing modules...

i do not understand?


It would be helpful if you listed which modules it said were missing.


well it seems i fixed the module missing problem... but now it says it needs to update Rockband 1 and that i have files missing O_O

Come on work with us, which files are missing, copy paste the exact output.
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.
Mr. Fansonfire
User avatar
lordhardware
Member
Posts: 1600
Joined: November 2nd, 2008
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby lordhardware » Mon Oct 12, 2009 10:00 pm

Azzco wrote:Come on work with us, which files are missing, copy paste the exact output.



Sorry heres what it says

Code: Select all

C:\Program Files\FoFiX v3.120\Fofix source\src\scripts>call ClearCompiledPycs

C:\Program Files\FoFiX v3.120\Fofix source\src\scripts>cd ..

C:\Program Files\FoFiX v3.120\Fofix source\src>del *.pyc
Could Not Find C:\Program Files\FoFiX v3.120\Fofix source\src\*.pyc

C:\Program Files\FoFiX v3.120\Fofix source\src>del *.pyo
Could Not Find C:\Program Files\FoFiX v3.120\Fofix source\src\*.pyo

C:\Program Files\FoFiX v3.120\Fofix source\src>del *.bak
Could Not Find C:\Program Files\FoFiX v3.120\Fofix source\src\*.bak

C:\Program Files\FoFiX v3.120\Fofix source\src>cd midi

C:\Program Files\FoFiX v3.120\Fofix source\src\midi>del *.pyc
Could Not Find C:\Program Files\FoFiX v3.120\Fofix source\src\midi\*.pyc

C:\Program Files\FoFiX v3.120\Fofix source\src\midi>del *.pyo
Could Not Find C:\Program Files\FoFiX v3.120\Fofix source\src\midi\*.pyo

C:\Program Files\FoFiX v3.120\Fofix source\src\midi>del *.bak
Could Not Find C:\Program Files\FoFiX v3.120\Fofix source\src\midi\*.bak

C:\Program Files\FoFiX v3.120\Fofix source\src\midi>cd ..

C:\Program Files\FoFiX v3.120\Fofix source\src>rd /s /q build
The system cannot find the file specified.

C:\Program Files\FoFiX v3.120\Fofix source\src>python FoFiX.py
WIP:
"Check Your Hardware: Modern Hits" 11/20
"Check Your Hardware: Australian Anthems" 4/20
"Check Your Hardware: Alternative" 4/20
"Check Your Hardware: Classic Beats" 2/20
"Check Your Hardware: Electronic" 2/10
"Check Your Hardware: Rap" 1/10
User avatar
Azzco
Member
Posts: 1308
Joined: August 15th, 2007
Location: Trelleborg, Scania, Sweden
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby Azzco » Mon Oct 12, 2009 10:11 pm

lordhardware wrote:

Code: Select all

C:\Program Files\FoFiX v3.120\Fofix source\src\scripts>call ClearCompiledPycs

C:\Program Files\FoFiX v3.120\Fofix source\src\scripts>cd ..

C:\Program Files\FoFiX v3.120\Fofix source\src>del *.pyc
Could Not Find C:\Program Files\FoFiX v3.120\Fofix source\src\*.pyc

C:\Program Files\FoFiX v3.120\Fofix source\src>del *.pyo
Could Not Find C:\Program Files\FoFiX v3.120\Fofix source\src\*.pyo

C:\Program Files\FoFiX v3.120\Fofix source\src>del *.bak
Could Not Find C:\Program Files\FoFiX v3.120\Fofix source\src\*.bak

C:\Program Files\FoFiX v3.120\Fofix source\src>cd midi

C:\Program Files\FoFiX v3.120\Fofix source\src\midi>del *.pyc
Could Not Find C:\Program Files\FoFiX v3.120\Fofix source\src\midi\*.pyc

C:\Program Files\FoFiX v3.120\Fofix source\src\midi>del *.pyo
Could Not Find C:\Program Files\FoFiX v3.120\Fofix source\src\midi\*.pyo

C:\Program Files\FoFiX v3.120\Fofix source\src\midi>del *.bak
Could Not Find C:\Program Files\FoFiX v3.120\Fofix source\src\midi\*.bak

C:\Program Files\FoFiX v3.120\Fofix source\src\midi>cd ..

C:\Program Files\FoFiX v3.120\Fofix source\src>rd /s /q build
The system cannot find the file specified.

C:\Program Files\FoFiX v3.120\Fofix source\src>python FoFiX.py

Correct me if I'm wrong but that isn't anything to be concerned with, .pyc and .pyo are "compiled" python files which aren't necessary to run the code (python can be run from source code unlike most other languages) and .bak is just backup files generated automatically.
Also the script is trying to delete them, so why would it matter if they're there to begin?

I'm not quite sure what's going on at "C:\Program Files\FoFiX v3.120\Fofix source\src>rd /s /q build" I'm just assuming that it's a script to build fofix to a binary.

In any case...
What happens after
C:\Program Files\FoFiX v3.120\Fofix source\src>python FoFiX.py
Where the program is actually run. Does it start at all? Is there anything in the logs, and what was the problem again?
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.
Mr. Fansonfire
User avatar
lordhardware
Member
Posts: 1600
Joined: November 2nd, 2008
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby lordhardware » Mon Oct 12, 2009 10:15 pm

no no the dialog just sat like that indefinitely.


i set a clean Install Folder as the SVN Checkout folder and for some reason the program started straight away when i compiled it.

problem solved? although i dont understand was was wrong to begin with.
WIP:
"Check Your Hardware: Modern Hits" 11/20
"Check Your Hardware: Australian Anthems" 4/20
"Check Your Hardware: Alternative" 4/20
"Check Your Hardware: Classic Beats" 2/20
"Check Your Hardware: Electronic" 2/10
"Check Your Hardware: Rap" 1/10
Bridged To The Sun.
User avatar
acrox999
Member
Posts: 3597
Joined: March 22nd, 2008
Location: /opt/bin/fretsonfire
Reputation: 1
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby acrox999 » Mon Oct 12, 2009 10:24 pm

Well, that's not a problem actually. The game can run fine. Its not an error, I think.
Mr. Fansonfire
User avatar
lordhardware
Member
Posts: 1600
Joined: November 2nd, 2008
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby lordhardware » Mon Oct 12, 2009 10:45 pm

acrox999 wrote:Well, that's not a problem actually. The game can run fine. Its not an error, I think.


the game can run fine NOW... it wasnt running in the folder i originally set it to

---
New problem... now every time i try to run a song under rev1950 im getting this error:

Code: Select all

IO Error 2: [no path exists]


ive set the setlist path, it doesnt matter what song i choose
WIP:
"Check Your Hardware: Modern Hits" 11/20
"Check Your Hardware: Australian Anthems" 4/20
"Check Your Hardware: Alternative" 4/20
"Check Your Hardware: Classic Beats" 2/20
"Check Your Hardware: Electronic" 2/10
"Check Your Hardware: Rap" 1/10
FoFiX Dev/Mod Squad
User avatar
jstump91
Member
Posts: 837
Joined: September 21st, 2008
Location: Baltimore, MD (US)
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby jstump91 » Mon Oct 12, 2009 11:16 pm

lordhardware wrote:New problem... now every time i try to run a song under rev1950 im getting this error:

Code: Select all

IO Error 2: [no path exists]


ive set the setlist path, it doesnt matter what song i choose


In ***** FORUM RULES • PLEASE READ BEFORE POSTING HERE! *****, jstump91 wrote:
  • Know your log file. It's called "fofix.log". It is here:
    1. in Windows: Your game folder
    2. in GNU/Linux: ~/.fofix
    3. in Mac OS X: ~/Library/Logs.
    Always post it whenever you are reporting an error. Use a spoiler, collapse or code tag, because it's often long.
jstump91, a.k.a. john.stumpo, a.k.a. stump
jstump.com | stump's blog | FoFiX development | My own code
Can't find a Windows build of the Python module you need? Try my mediafire!
Don't say "Python can't do [insert task here]." Python can do anything with the right modules - said modules may just not have been written yet.
"Python - why settle for snake oil when you can have the whole snake?" --Mark Jackson
Did you search before you posted? Did you read the rules for the subforum you are posting in?
Mr. Fansonfire
User avatar
lordhardware
Member
Posts: 1600
Joined: November 2nd, 2008
Reputation: 0
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby lordhardware » Tue Oct 13, 2009 1:58 am

jstump91 wrote:
lordhardware wrote:New problem... now every time i try to run a song under rev1950 im getting this error:

Code: Select all

IO Error 2: [no path exists]


ive set the setlist path, it doesnt matter what song i choose


In ***** FORUM RULES • PLEASE READ BEFORE POSTING HERE! *****, jstump91 wrote:
  • Know your log file. It's called "fofix.log". It is here:
    1. in Windows: Your game folder
    2. in GNU/Linux: ~/.fofix
    3. in Mac OS X: ~/Library/Logs.
    Always post it whenever you are reporting an error. Use a spoiler, collapse or code tag, because it's often long.



there is no log file... i looked...

running it from source means it its not exiting properly and is also not making a log file
WIP:
"Check Your Hardware: Modern Hits" 11/20
"Check Your Hardware: Australian Anthems" 4/20
"Check Your Hardware: Alternative" 4/20
"Check Your Hardware: Classic Beats" 2/20
"Check Your Hardware: Electronic" 2/10
"Check Your Hardware: Rap" 1/10
Blue Heaven!
User avatar
death_au
Member
Posts: 3991
Joined: December 12th, 2007
Location: Australia
Reputation: 7
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby death_au » Tue Oct 13, 2009 4:26 am

The log file gets made as soon as you start. If you see so much as a blank screen when starting FoFiX, sources or not, you get a log file. It may not contain anything useful, it might get cut off abruptly, but it exists.

If you're running from source, it'll probably be in the src folder with all the py files.
Bridged To The Sun.
User avatar
acrox999
Member
Posts: 3597
Joined: March 22nd, 2008
Location: /opt/bin/fretsonfire
Reputation: 1
Contact:

Re: FoFiX 4.0.0 Development Thread

Postby acrox999 » Tue Oct 13, 2009 4:38 am

death_au wrote:The log file gets made as soon as you start. If you see so much as a blank screen when starting FoFiX, sources or not, you get a log file. It may not contain anything useful, it might get cut off abruptly, but it exists.

If you're running from source, it'll probably be in the src folder with all the py files.

I was about to tell him this. :wink: You said you've used the SVN for 5 months but you don't know where the log files are when running from sources?

---- EDIT ----

BTW, the new song database system(which I just tested), is fine. Except it attemp to cache the song folders everytime we enter the databas or after playing a song.

Return to “FoFiX”

Who is online

Users browsing this forum: No registered users and 28 guests