Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> Tech Support >> RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE Page: <<   < prev  1 2 [3]
Login
Message << Older Topic   Newer Topic >>
RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE - 7/30/2009 2:39:26 PM   
USSAmerica


Posts: 18715
Joined: 10/28/2002
From: Graham, NC, USA
Status: offline

quote:

ORIGINAL: myros

For some reason using the CMD options or even the bat file suggested doesnt work for me. The command box flashes up then vanishes with no game starting. This is on XP home edition (regular 32 bit).

So I went ahead and downloaded that little tool and hacked the original game .exe file. What a difference it makes ... startup took about 2 seconds, compared to about 15 normaly. I guess AE doesnt like to use multiple cores to much.

Nice job on finding this tweek.


myros, I'm seeing the same thing when I try the shortcut with the cmd options. The "hacked" .exe file does work great for me, for both AE and WitP Classic, but I just would feel more comfortable setting the affinity in the shortcut. I'm on XP Pro, 32 bit, with an Intel dual core laptop.

_____________________________

Mike

"Good times will set you free" - Jimmy Buffett

"They need more rum punch" - Me


Artwork by The Amazing Dixie

(in reply to myros)
Post #: 61
RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE - 7/30/2009 3:01:10 PM   
jazman

 

Posts: 369
Joined: 1/20/2007
From: Crush Depth
Status: offline
I just tried my script on my laptop at work. It's Windows XP 32-bit (Intel CPU). The /affinity switch doesn't work. It works on XP x64, probably because it shares its codebase with Windows Server 2003, so that affinity stuff is built in to the cmd.exe. Is this /affinity switch available on 32-bit Vista?

So if you have 32-bit AMD, I suggest just setting it in Task Manager manually while the game is starting. It takes all of 20 seconds, and since you're doing it while the game is starting, it's no time wasted. (I don't have a 32-bit Windows XP box with AMD cpu to test this.)




(in reply to USSAmerica)
Post #: 62
RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE - 7/30/2009 3:17:50 PM   
Zacktar


Posts: 169
Joined: 6/23/2009
Status: offline
Wow! Many thanks for this!

(in reply to jazman)
Post #: 63
RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE - 7/30/2009 5:04:40 PM   
pndrev

 

Posts: 42
Joined: 3/10/2008
Status: offline
A note: You (well, I anyway) don't need the whole C:\Windows....cmd.exe part.

My current shortcut looks like this:
"F:\WitPAE\War in the Pacific Admiral Edition.exe" -dual -deepColor -w -r /high /affinity 1


And it works perfectly.

I'm still interested if that -dual and the /affinity have any contradictory effects, though.

(in reply to Zacktar)
Post #: 64
RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE - 7/30/2009 5:25:23 PM   
jazman

 

Posts: 369
Joined: 1/20/2007
From: Crush Depth
Status: offline
How come -dual doesn't seem to do anything?

(in reply to pndrev)
Post #: 65
RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE - 7/30/2009 6:58:57 PM   
LarryP


Posts: 3783
Joined: 5/15/2005
From: Carson City, NV
Status: offline
quote:

ORIGINAL: pndrev

My current shortcut looks like this:
"F:\WitPAE\War in the Pacific Admiral Edition.exe" -dual -deepColor -w -r /high /affinity 1

I used this command and I see roads on the map now? Is that what the -r is for? I see nothing in the manual about this option.

(in reply to pndrev)
Post #: 66
RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE - 7/30/2009 7:09:40 PM   
uncc


Posts: 448
Joined: 6/1/2002
From: Virginia, USA
Status: offline
quote:

ORIGINAL: LarryP

quote:

ORIGINAL: pndrev

My current shortcut looks like this:
"F:\WitPAE\War in the Pacific Admiral Edition.exe" -dual -deepColor -w -r /high /affinity 1

I used this command and I see roads on the map now? Is that what the -r is for? I see nothing in the manual about this option.


-r is covered in the Whats New pdf. (well its mentioned at least...)

_____________________________

It is seldom that liberty of any kind is lost all at once -- David Hume, Scottish philosopher (1711 - 1776)

(in reply to LarryP)
Post #: 67
RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE - 7/30/2009 7:09:51 PM   
jazman

 

Posts: 369
Joined: 1/20/2007
From: Crush Depth
Status: offline

quote:

ORIGINAL: LarryP

quote:

ORIGINAL: pndrev

My current shortcut looks like this:
"F:\WitPAE\War in the Pacific Admiral Edition.exe" -dual -deepColor -w -r /high /affinity 1

I used this command and I see roads on the map now? Is that what the -r is for? I see nothing in the manual about this option.


Yes, command line options are in the "What's New" document. And aren't those roads lovely?

(in reply to LarryP)
Post #: 68
RE: Got a Quad Core? Here's how to speed up WITP:AE - 7/30/2009 11:52:11 PM   
Chad Harrison


Posts: 1395
Joined: 4/2/2003
From: Boise, ID - USA
Status: offline

quote:

ORIGINAL: jazman

I have a dual-core AMD system, it's WinXP x64.

Once you've seen it go fast, you can never go back. I'll even hold your hand to help you get it working. But you can try out the two approaches already described here: the imagecfg hack (which looks easier), or the batch script I just put up (which may be just as easy, now that I've done it for you). Either one should work for you. My script you may need to modify, as I've stated.



Thanks for the reply and the offer.

Its still sitting on the floor and I dont have time to switch over until I get back from vacation. This will be one of the first things I try to get working at that point.

Thanks again.

(in reply to jazman)
Post #: 69
RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE - 7/31/2009 1:12:16 AM   
wdolson

 

Posts: 10398
Joined: 6/28/2006
From: Near Portland, OR
Status: offline

quote:

ORIGINAL: jazman

How come -dual doesn't seem to do anything?


-dual currently fixes one problem we saw during development. We're working on a fix right now that will add some things to the -dual switch and you won't have to hack the exe with an external utility.

So far we've found two different problems going on, which is why the affinity fix works for some people, but not for all. This isn't unique to AE or even WitP. Lots of programs have had problems with multi-core processors. Most of the problems have been with games, but other programs have been affected too.

These problems don't plague all multi-core machines either. AE runs the same speed on my dual core and single core systems of the same vintage.

Bill

_____________________________

WitP AE - Test team lead, programmer

(in reply to jazman)
Post #: 70
RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE - 7/31/2009 1:19:04 AM   
wdolson

 

Posts: 10398
Joined: 6/28/2006
From: Near Portland, OR
Status: offline

quote:

ORIGINAL: pndrev

A note: You (well, I anyway) don't need the whole C:\Windows....cmd.exe part.

My current shortcut looks like this:
"F:\WitPAE\War in the Pacific Admiral Edition.exe" -dual -deepColor -w -r /high /affinity 1


And it works perfectly.

I'm still interested if that -dual and the /affinity have any contradictory effects, though.



It won't. They do different things at the moment.

Bill

_____________________________

WitP AE - Test team lead, programmer

(in reply to pndrev)
Post #: 71
RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE - 7/31/2009 2:41:02 AM   
USSAmerica


Posts: 18715
Joined: 10/28/2002
From: Graham, NC, USA
Status: offline

quote:

ORIGINAL: pndrev

A note: You (well, I anyway) don't need the whole C:\Windows....cmd.exe part.

My current shortcut looks like this:
"F:\WitPAE\War in the Pacific Admiral Edition.exe" -dual -deepColor -w -r /high /affinity 1


And it works perfectly.

I'm still interested if that -dual and the /affinity have any contradictory effects, though.




The game works perfectly for you, but if you take a look at the WitP AE.exe process in Task Manager, right click on the process and select Set Affinity, does it show only CPU 0 checked?

I tried adding the /high /affinity 1 parameters to the end of my shortcut, but the .exe process still uses both of my CPUs. For me, that really shows the game down in windowed mode, compared to when I run the "hacked" .exe that I created from the initial poster. That one runs only with CPU 0. I am very happy with that result, but I would be more comfortable if I could get one of the shortcut parameter methods to work, rather than relying on a (probably very reliable) modified .exe.

Besides, I'm learning a ton by following along with this thread.

_____________________________

Mike

"Good times will set you free" - Jimmy Buffett

"They need more rum punch" - Me


Artwork by The Amazing Dixie

(in reply to pndrev)
Post #: 72
RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE - 7/31/2009 5:45:58 AM   
Kitakami


Posts: 1302
Joined: 5/3/2002
From: The bridge of the DNTK Kitakami
Status: offline

quote:

ORIGINAL: pndrev

A note: You (well, I anyway) don't need the whole C:\Windows....cmd.exe part.

My current shortcut looks like this:
"F:\WitPAE\War in the Pacific Admiral Edition.exe" -dual -deepColor -w -r /high /affinity 1


And it works perfectly.

I'm still interested if that -dual and the /affinity have any contradictory effects, though.



Interestingly, this syntax did not work as well as the other one in my Win 7 64-bit system.
Current shortcut:

C:\Windows\System32\cmd.exe /C START "War in the Pacific Admiral Edition" /high /affinity 1 "C:\Matrix Games\War in the Pacific Admiral's Edition\War in the Pacific Admiral Edition.exe" -dual -wd -deepColor -r

I guess we have to experiment until we find the one that works for each of us.

_____________________________

Tenno Heika Banzai!

(in reply to pndrev)
Post #: 73
RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE - 7/31/2009 9:57:33 AM   
pndrev

 

Posts: 42
Joined: 3/10/2008
Status: offline

quote:

ORIGINAL: Kitakami


Interestingly, this syntax did not work as well as the other one in my Win 7 64-bit system.
Current shortcut:

C:\Windows\System32\cmd.exe /C START "War in the Pacific Admiral Edition" /high /affinity 1 "C:\Matrix Games\War in the Pacific Admiral's Edition\War in the Pacific Admiral Edition.exe" -dual -wd -deepColor -r

I guess we have to experiment until we find the one that works for each of us.


Yeah, mine was for Vista 32-bit.

I guess until everyone is on 64-bit systems, Vista or newer, there will be a heck of a lot confusion and testing for game developers everywhere. ;)

(in reply to Kitakami)
Post #: 74
RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE - 7/31/2009 2:49:41 PM   
jazman

 

Posts: 369
Joined: 1/20/2007
From: Crush Depth
Status: offline

quote:

ORIGINAL: pndrev

A note: You (well, I anyway) don't need the whole C:\Windows....cmd.exe part.

My current shortcut looks like this:
"F:\WitPAE\War in the Pacific Admiral Edition.exe" -dual -deepColor -w -r /high /affinity 1




You're passing "/high" and "/affinity 1" as options into "War in the Pacific Admiral Edition.exe" and I don't see how that works to accomplish what we've been discussing. Sure, it runs, but "/high" and "/affinity 1" are options for cmd.exe, not "War in the Pacific Admiral Edition.exe".

(in reply to pndrev)
Post #: 75
RE: Got a Quad Core? Here's how to speed up WITP:AE - 7/31/2009 8:18:14 PM   
madgamer2

 

Posts: 1235
Joined: 11/24/2004
Status: offline
you should be able to enable onboard video in the bios which on most new Mobo's will disable the video card. I has been my experience that on board video no matter how good will cause games to run slower but you can try it and see.

Madgamer

(in reply to fcam1387)
Post #: 76
RE: Got a Quad Core? Here's how to speed up WITP:AE - 8/5/2009 3:47:37 AM   
2ndACR


Posts: 5665
Joined: 8/31/2003
From: Irving,Tx
Status: offline
Okay, so if I have a Intel Core 2 Quad Q9300......what should my target line say on my shortcut?

I have enough computer skill to be very dangerous to my PC, so be gentle.

"C:\Matrix Games\War in the Pacific Admiral's Edition\autorun.exe"

That is what it says right now.......I want to run on all 4 and highest priority setting or realtime (I guess that is the fastest).

Any help will be great.

P.S. I am running Vista 64 bit with a NVIDIA 9800GT

< Message edited by 2ndACR -- 8/5/2009 3:50:27 AM >

(in reply to madgamer2)
Post #: 77
RE: Got a Quad Core? Here's how to speed up WITP:AE - 8/5/2009 10:58:32 AM   
Reg


Posts: 2787
Joined: 5/26/2000
From: NSW, Australia
Status: offline

CPU Affinity is built into the latest hot fix (V1.080). Install this hotfix and you do don't need to do anything to get this performance improvement.

Have fun,

_____________________________

Cheers,
Reg.

(One day I will learn to spell - or check before posting....)
Uh oh, Firefox has a spell checker!! What excuse can I use now!!!

(in reply to 2ndACR)
Post #: 78
RE: Got a Quad Core? Here's how to speed up WITP:AE - 8/5/2009 12:29:42 PM   
davidjruss


Posts: 235
Joined: 5/25/2002
From: Derby, England
Status: offline
I tried installing the 1.080 hotfix and in my game I now have graphical glitches where the terrian under a base pop-up box will be picked up and be deposited on the screen when another base is moused over.

I have re-installed another copy of AE without the hotfox as a temporary measure at present. Just hoping techinical can do something.

DavidR

(in reply to Reg)
Post #: 79
RE: Got a Quad Core? Here's how to speed up WITP:AE - 8/5/2009 12:48:04 PM   
Erik Rutins

 

Posts: 37503
Joined: 3/28/2000
From: Vermont, USA
Status: offline
Post a DxDiag please. Also, are you using any command-line switches? Is this Windowed or Full Screen mode?

_____________________________

Erik Rutins
CEO, Matrix Games LLC




For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.

(in reply to davidjruss)
Post #: 80
RE: Got a Quad Core? Here's how to speed up WITP:AE - 8/5/2009 1:00:02 PM   
davidjruss


Posts: 235
Joined: 5/25/2002
From: Derby, England
Status: offline
Erik,

Herewith dxdiag as requested.

Command line switches used are -dual -altFont -deepColor -fd

Fullscreen used , windowed mode has problems.

Also please see thread "Base mousing graphical glitch" in tech support for screen shot , other peoples views and a suggestion from yourself that unfortunately has not worked.

DavidR

Attachment (1)

(in reply to Erik Rutins)
Post #: 81
RE: Got a Quad Core? Here's how to speed up WITP:AE - 8/5/2009 1:05:52 PM   
Erik Rutins

 

Posts: 37503
Joined: 3/28/2000
From: Vermont, USA
Status: offline
Ok, first try adding the -dd_def switch please. Second, try removing the -dual switch. Try those in sequence and let me know if either helps. I assume from your post that you already tried setting the process priority to High?

Your sound drivers are from 2007, that's the only driver update I'd suggest at this point.

_____________________________

Erik Rutins
CEO, Matrix Games LLC




For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.

(in reply to davidjruss)
Post #: 82
RE: Got a Quad Core? Here's how to speed up WITP:AE - 8/5/2009 2:12:06 PM   
davidjruss


Posts: 235
Joined: 5/25/2002
From: Derby, England
Status: offline
Erik,

As per other thread your suggestion of -dd_def switch seems to have cured this particular graphics glitch. Will advise if anything adverse occurs.

Many thanks.

DavidR

(in reply to Erik Rutins)
Post #: 83
RE: Got a Quad Core? Here's how to speed up WITP:AE - 8/6/2009 4:42:41 AM   
mojoman68

 

Posts: 6
Joined: 5/20/2009
Status: offline
Is there a list of switches and what their resulting actions are out there?

Have AMD 3.2 quad with 8 gig of ram on Vista64. I built this because AE was coming and Witp use to bring my laptop to its knees. AE smokes on this! Like 30 second turns...

Props to you guys!

(in reply to davidjruss)
Post #: 84
RE: Got a Quad Core? Here's how to speed up WITP:AE - 8/6/2009 8:25:13 AM   
McSeem

 

Posts: 39
Joined: 3/1/2004
From: Moscow, Russia
Status: offline
Freeze on combat screen only.
Starting picture of combat is freezed and combat sounds heards, one core is utilized 100%.
Other modes works with good performance.
Both on home and corporate computers.
parameters: -w -deepColor -altFont -dual.
Solution: when combat screen started, go to the Process Explorer (or Task Manager) and set affinity for more than one core, after combat turn it back.
Here is dxdiag from corporate computer.

Attachment (1)

(in reply to mojoman68)
Post #: 85
RE: Got a Quad Core? Here's how to speed up WITP:AE - 1/13/2011 8:39:06 AM   
littleike

 

Posts: 159
Joined: 10/3/2007
Status: offline
If you want to use only a core of a multiprocessor system try to use this little program.

http://www.activeplus.com/Products/RunFirst


I have used it with Steel Panthers to eliminate a mouse issue on the bombardament screen.

His use is very simple:

-Put the program in the main game directory
-Create a shortcut on the desktop
-Add to his destination path in properties the name of the witpae exe

(See this example, this is for steel panthers)

"D:\Matrix Games\Steel Panthers World At War\RunFirst .exe" mech.exe

I have the the -cpu2 swith on my laptop with xp pro and witpae run smoothly but if you have troubles try this solution.



< Message edited by littleike -- 1/13/2011 8:46:18 AM >
Post #: 86
RE: Got a Quad Core? Here's how to speed up WITP:AE - 1/13/2011 8:59:16 AM   
wdolson

 

Posts: 10398
Joined: 6/28/2006
From: Near Portland, OR
Status: offline
This is a very old thread that was brought to the top of the stack by a spammer.  We built command line switches into the first patch that deal with the multi core issues.  There are now several switches that deal with different problems.

There are actually two multi core issues, one is with certain graphic cards and some DirectX calls (used by AE) and the other is specific to Intel processors.  The first problem can hit either AMD or Intel processor systems.

Bill


_____________________________

WitP AE - Test team lead, programmer

(in reply to littleike)
Post #: 87
Page:   <<   < prev  1 2 [3]
All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> Tech Support >> RE: Got a Dual/Quad Core? Here's how to speed up WITP:AE Page: <<   < prev  1 2 [3]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.156