[Help needed] Forcing Fofix all cores usage after startup?

Help center. Members helping members
Forum rules
This topic is 12 years and 11 months old. Instead of replying, please begin a new topic, or search for another related topic that may be more suitable.
DiabolikOnFire
Member
Posts: 9
Joined: June 12th, 2008
Reputation: 0

[Help needed] Forcing Fofix all cores usage after startup?

Postby DiabolikOnFire » Thu Jun 21, 2012 5:56 pm

Got a strange problem here ever since my last format/windows reinstall.

Before the format, Fofix 3121 py2.6 was running fine. After... Well, things got a bit strange. The audio started getting glitchy in the menus and songs. It started to echo/play slowly in small chunks as if someone was playing a song in a player and hitting the pause button repeatedly really fast.

I tried everything to cure the issue, driver changes, updates, rollbacks for almost everything, from the motherboard to the sound card via the graphics card and whatnot.

The only thing that finally fixed it was forcing the game to use all 4 cores. BUT, there's a problem... The program is stubborn... and reverts back automatically after each end of song to using only 1 core, bringing back the glitching. I play a song using 4 cores, it ends, but when the score screen comes up, bang, glitchy again, and sure enough I hit ctrl-alt-del and the stubborn thing is back on 1 core only :(.

Is there any way to force Fofix to use all the processor cores ALL THE TIME? Without having to alt-tab after each end of song to set the affinities back to all processors?

*********************
UPDATE
*********************

I fiddled around a bit with the source code and found in ressource.py where the affinity was set. Disabling it breaks the game on startup. BUT, I tried to get the game to reenable all cores AFTER startup, say when the song list loads, so even if the program resets to 1 core after a song, once back in the song list, it would set itself back to all cores for another song and bugless gameplay.

My attempts at modifying the code have been less than fruitfull to say the least.

The program starts, but I got 2 problems...

1st problem, I have no idea how to change the win32process.SetProcessAffinityMask(handle, 1) command so the program uses more than 1 core.

2nd problem, I tried to put the value at 2 in the ressource.py and sure enough, the program starts on the second processor instead of the first one... BUT when I try to get the program to change cores midgame, say at the song list load, it doesn't work.

Common guys, I'm really trying hard here to resolve the problem and help myself, anyone cares to help someone who would help himself?

-- Edit: Fri Jun 22, 2012 12:15 pm --

Nevermind, setting the game to "pure speed" seems to have fixed the problem -_-.

Strange phenomenon still... Might be worth it to investigate what is causing this to get rid of it in 4.0.

If you guys want me to try to investigate the problem, just whistle.

Cheers!

Return to “Tech Support”

Who is online

Users browsing this forum: No registered users and 5 guests