User avatar
Franciscus
Posts: 4571
Joined: Fri Apr 20, 2007 8:31 pm
Location: Portugal

Wed Jun 16, 2010 7:33 am

Thanks Gray, I am sure that will work beautifully! Will try it later today.

I also hope Calvinus sees this and somehow can work a way to make WW1.exe work in single core, to avoid this kind of problem for the future.

But I am certain we solved the problem for now ! :thumbsup:

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Wed Jun 16, 2010 8:05 am

I run the game on XP and Vista with a Core Duo and a Core Quad.
Ok I'm going to test the BATch also on XP and Vista without any problem.
If it works, I will put this BATch in next patch! :thumbsup:

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Wed Jun 16, 2010 8:19 am

On XP I get:

Invalid switch - "/affinity".


But the batch works fine in the end and the game starts...

I will try tonight on Vista. :)

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Wed Jun 16, 2010 8:28 am

deleted

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Wed Jun 16, 2010 8:35 am

Gray_Lensman wrote:The only issue with the particular .bat file I posted is it specifically requires that the OS (operating system) be in the C:\ drive. (I took the line directly from Franciscus' specific post.)

You might try editing it as I described earlier by changing it to read:



That should allow for those rare instances where someone might have his/her OS (operating system) on a drive other than C:\

i.e. I'm pretty sure that Windows knows where and can run cmd.exe no matter where it's located, so the full strict pathname should not be required. To be sure... Test it.


Yes it work.

User avatar
Moff Jerjerrod
Sergeant
Posts: 71
Joined: Wed May 28, 2008 2:39 am
Location: New England

Wed Jun 16, 2010 12:13 pm

This is excellent news Franciscus and explains why I'm still having very little mouse jerkiness and map scroll twitch.

I have an AMD Phenom X Quad Core 2.33GHz in my rig. I haven't tried disable vertical sync yet however I'll know now that if I still have issues I need to either set affinity myself via the batch procedure or wait for the next patch.

Great find!!!!!! :)

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Wed Jun 16, 2010 12:36 pm

Moff Jerjerrod wrote:This is excellent news Franciscus and explains why I'm still having very little mouse jerkiness and map scroll twitch.

I have an AMD Phenom X Quad Core 2.33GHz in my rig. I haven't tried disable vertical sync yet however I'll know now that if I still have issues I need to either set affinity myself via the batch procedure or wait for the next patch.

Great find!!!!!! :)


Why don't you try the batch now? The more feedbacks we get, the better is for everybody. ;)

User avatar
Moff Jerjerrod
Sergeant
Posts: 71
Joined: Wed May 28, 2008 2:39 am
Location: New England

Wed Jun 16, 2010 3:10 pm

calvinus wrote:Why don't you try the batch now?


If I give you my boss's email can you explain to her the need for me to go home and help the WW1G team? :D

But seriously yes, I will try the batch file tonight when I get home. I can't wait to see the results and I will post here and share with you. ;)

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Wed Jun 16, 2010 4:02 pm

deleted

User avatar
Franciscus
Posts: 4571
Joined: Fri Apr 20, 2007 8:31 pm
Location: Portugal

Wed Jun 16, 2010 4:26 pm

Hold your horses, folks.

I just tried both batch files versions provided by Gray, both in my WinX desktop and in my Win7 laptop, and although the game starts alright, in fact the affinity is NOT set to just one CPU, and the lag is still there (you can check affinity by Ctrl-Alt-Del when the game is on and checking affinity of ww1.exe.
I can not understand why :confused:

With my cumbersome method, ww1.exe is in fact assigned to just one CPU, and I get no lag. There is something wrong with the batch file, but I can not understand what..., because the line regarding affinity is the same...?

In fact, if the batch is changed to just:
C:\Windows\System32\cmd.exe /C start /affinity 1,
a command window opens and if I type ww1.exe it starts with affinity set to just a core.

But if the batch is:
C:\Windows\System32\cmd.exe /C start /affinity 1
ww1.exe

, the game starts, but with affinity set to all cpus ??

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Wed Jun 16, 2010 4:47 pm

deleted

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Wed Jun 16, 2010 4:52 pm

deleted

User avatar
Franciscus
Posts: 4571
Joined: Fri Apr 20, 2007 8:31 pm
Location: Portugal

Wed Jun 16, 2010 4:56 pm

Gray_Lensman wrote:For a quick experimental test, try a .bat file with a single "combined" line:




Neither works... C or K mean anything ? Drive letters ?

FYI, my game is installed in D:\AgeOD\World War One

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Wed Jun 16, 2010 5:04 pm

deleted

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Wed Jun 16, 2010 5:16 pm

deleted

User avatar
Franciscus
Posts: 4571
Joined: Fri Apr 20, 2007 8:31 pm
Location: Portugal

Wed Jun 16, 2010 5:21 pm

When I type cmd /C Start /?, what I get is a window similar to yours (although somethings are not in English :D

I do not know however what to do next... Regarding affinity, it does not tell anything relevant, other that it sets affinity...

Later tonight I will be back on this.

Regards
Attachments
cmd_start.png

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Wed Jun 16, 2010 5:38 pm

deleted

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Wed Jun 16, 2010 6:05 pm

deleted

User avatar
Franciscus
Posts: 4571
Joined: Fri Apr 20, 2007 8:31 pm
Location: Portugal

Wed Jun 16, 2010 6:20 pm

I will try later tonight, thanks Gray. In the meantime, maybe Calvinus or other programmer could also help ?

User avatar
Nikel
Posts: 2920
Joined: Sun Apr 20, 2008 8:38 pm

Wed Jun 16, 2010 6:27 pm

Typing in the target of the shortcut the following, it works. No need to type manually ww1.exe everytime

C:\Windows\System32\cmd.exe /C start /affinity 1 WW1.exe


It will remove the icon though, to restore it click on change icon and point to ww1.exe

I wonder if this problem is related with i7 processors that have virtual cores and not with W7



Calvinus, IIRC your first versions supported multicore CPUs, but you removed that feature because it created problems. Will you add that feature again?, as an option of course ;)

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Wed Jun 16, 2010 6:29 pm

On Vista (Core Quad), this batch seems to work fine:

@echo off
cmd.exe /C start /affinity 1 WW1.exe

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Wed Jun 16, 2010 6:32 pm

deleted

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Wed Jun 16, 2010 6:42 pm

Gray_Lensman wrote:Are we sure it works to correct the lag problem? See Franciscus' post #69 above. In it he states that he still had mouse lag issues.

edit> Now you guys got me wishing I had a multicore processor with Windows7 to experiment with. :bonk:


No I'm not sure, and I do not want Win7! :mdr:

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Wed Jun 16, 2010 7:09 pm

Gray_Lensman wrote:Are we sure it works to correct the lag problem? See Franciscus' post #69 above. In it he states that he still had mouse lag issues.

edit> Now you guys got me wishing I had a multicore processor with Windows7 to experiment with. :bonk:


If I run my bat and then I examine WW1.EXE process in Task Manager, I see the game is executed on one CPU only. :blink:

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Wed Jun 16, 2010 7:27 pm

deleted

AndrewKurtz
Posts: 1167
Joined: Tue Jan 30, 2007 2:49 am
Location: Greenville, SC

Wed Jun 16, 2010 7:30 pm

calvinus wrote:No I'm not sure, and I do not want Win7! :mdr:


I hated Vista. But IMHO, W7 blows XP away.

User avatar
Franciscus
Posts: 4571
Joined: Fri Apr 20, 2007 8:31 pm
Location: Portugal

Wed Jun 16, 2010 8:15 pm

Good news :thumbsup:

Calvinus's batch:

@echo off
cmd.exe /C start /affinity 1 WW1.exe


works perfectly on my laptop. WW1 is launched, using a single core, no lag, and afterwards I see no after effects - for instance, I closed WW1, and launched this session of firefox, that is using all cores.

On the contrary, Gray's suggestion does not work:

cmd.exe /K start /affinity 1
WW1.exe


Game is not launched at all...

But I think Clavinus found the correct batch. Good to me, at least :coeurs: :coeurs:

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Wed Jun 16, 2010 8:20 pm

Franciscus wrote:Good news :thumbsup:

Calvinus's batch:

@echo off
cmd.exe /C start /affinity 1 WW1.exe


works perfectly on my laptop. WW1 is launched, using a single core, no lag, and afterwards I see no after effects - for instance, I closed WW1, and launched this session of firefox, that is using all cores.

On the contrary, Gray's suggestion does not work:

cmd.exe /K start /affinity 1
WW1.exe


Game is not launched at all...

But I think Clavinus found the correct batch. Good to me, at least :coeurs: :coeurs:


Excellent!

I already included the batch in 1.08H

Now we have a new option in Start Menu of Windows:

[Launch] World War One (single CPU mode)

User avatar
Franciscus
Posts: 4571
Joined: Fri Apr 20, 2007 8:31 pm
Location: Portugal

Wed Jun 16, 2010 8:23 pm

calvinus wrote:Excellent!

I already included the batch in 1.08H

Now we have a new option in Start Menu of Windows:

[Launch] World War One (single CPU mode)


Great ! I am really happy. I HAD to make this work !! :wacko:

Happy as a little boy :happyrun: :happyrun:

Thanks, Calvinus, Gray, Nikel for your help :coeurs: :coeurs:

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Wed Jun 16, 2010 8:27 pm

Let's wait also the feedbacks of AC67, Andrew Kurtz & CO.

Return to “WW1 Technical support / Aide technique”

Who is online

Users browsing this forum: No registered users and 2 guests