novasdream / tibiaapi

Automatically exported from code.google.com/p/tibiaapi
MIT License
0 stars 1 forks source link

Run Tibia client on only one processor's core #211

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
OpenMC() in Client.cs put somewhere: p.ProcessorAffinity = (IntPtr)1;

Original issue reported on code.google.com by muttd...@gmail.com on 21 Aug 2010 at 6:19

GoogleCodeExporter commented 8 years ago
Why is this necessary?

Original comment by ian320 on 23 Aug 2010 at 7:21

GoogleCodeExporter commented 8 years ago
Well, it Tibia will use less processor affinity - so you have better support 
for running other games (playing NBA 2k10 with tibia processor affinity set to 
2 is impossible)

Original comment by muttd...@gmail.com on 23 Aug 2010 at 7:26

GoogleCodeExporter commented 8 years ago
I can see the usefulness of this, especially for testing and such. But does it 
degrade game performance? It should probably just be optional.

Original comment by ian320 on 23 Aug 2010 at 7:49

GoogleCodeExporter commented 8 years ago
Yeah, maybe checkbox in ClientChooser: "Use only one core". For me it degrades 
game performance - I have 2,66 GHZ Core 2 Duo, 2 GB Ram, ATI HD 2600 XT, with 
this setting I have 60-80 fps on 1680x1050, but without it I have max 50 fps

Original comment by muttd...@gmail.com on 23 Aug 2010 at 7:53

GoogleCodeExporter commented 8 years ago
Added in r834. I didn't test it, so open a new issue if you have any problems.

Original comment by joebingham07@gmail.com on 29 Sep 2010 at 6:25