• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu

to all board members

Started by TheJamsh, August 18, 2008, 04:33:56 PM

Previous topic - Next topic

Steeveeo

Quote from: TheJamsh on August 21, 2008, 02:55:46 AM
3.0ghz proccesor. lovely.

do you run it in high priority on one CPU or not?
I set (in localprefs) to have all the play code in high priority on one core, networking and sound in normal priority on the second.

(Click it for more art, y'know you wanna!)

Gone to college, but I now have internet.

TheJamsh



BZII Expansion Pack Development Leader. Coming Soon.

Steeveeo

Quote from: TheJamsh on August 21, 2008, 08:27:21 AM
how is that done?

From Gameprefs.ini

// Some threading and multi-CPU tuning values. For all priority
// values, they can be one of the following values:
// -2 : THREAD_PRIORITY_LOWEST
// -1 : THREAD_PRIORITY_BELOW_NORMAL
//  0 : THREAD_PRIORITY_NORMAL
//  1 : THREAD_PRIORITY_ABOVE_NORMAL
//  2 : THREAD_PRIORITY_HIGHEST
// Values outside of -2..2 are treated as 0.
MainThreadPriority = 0
NetworkThreadPriority = 1
OggDecodeThreadPriority = 1

// Thread affinity masks. These are bitfields, with 1 being the first
// CPU in the system, 2 the second CPU, 4 the third CPU, etc. If a
// mask specified here refers to a CPU that doesn't exist, it is
// treated as 1
MainThreadAffinityMask = 2
NetworkThreadAffinityMask = 2
OggDecodeThreadAffinityMask = 1

(Click it for more art, y'know you wanna!)

Gone to college, but I now have internet.

TheJamsh

now i know what the localprefs file is used for... probably easier to edit that than the gameprefs file directly :S


BZII Expansion Pack Development Leader. Coming Soon.

Red Devil

Editing Gameprefs.ini will give you bad assets (that's why it's read-only).
What box???