Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Tools

Development::Tools 3rd Party Tools for EQEMu (DB management tools, front ends, etc...)

Reply
 
Thread Tools Display Modes
  #1  
Old 09-24-2009, 02:23 AM
Speedz's Avatar
Speedz
Hill Giant
 
Join Date: Oct 2004
Location: Ocean Park, WA
Posts: 186
Default

fyi to those interested, I am in the process of adding an auto cpu affinity option.

This is taking me a little time to research how I want to do this especially since I don't know the code needed. I have found a utility called psexec from sysinternals but I prefer to do it within a single application (ie. within my code) I hate relying on outside apps to do what I want.

Basically if I can find a way to do it internally I will have it check for multiple cores and display check boxes that correspond to each core and allow the user to tic the core they want the game to run on.

I am considering having it select core 0 by default. To make it simple for quick starting.

Thoughts or links to sites that would help? Any would be appreciated.
__________________
Just another face in the crowd..
Reply With Quote
  #2  
Old 09-24-2009, 08:02 AM
leslamarch
Discordant
 
Join Date: Sep 2006
Location: Green Bay, WI
Posts: 436
Default

Maybe something like this?


Code:
{
    Process game = new Process();
    game.StartInfo.FileName = "eqgame.exe";
    game.StartInfo.Arguments = "patchme";
    game.Start();
    game.ProcessorAffinity = (IntPtr)1;
}
Reply With Quote
  #3  
Old 09-24-2009, 08:51 AM
Speedz's Avatar
Speedz
Hill Giant
 
Join Date: Oct 2004
Location: Ocean Park, WA
Posts: 186
Default

@leslamarch Again you saved the day. I found anything but this method in my searches. I am going to have to buy you a beer sometime lol.
__________________
Just another face in the crowd..
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:51 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3