Would you like to react to this message? Create an account in a few clicks or log in to continue.

Help with a bat file

Go down

Help with a bat file Empty Help with a bat file

Post by Kefrem on Mon Dec 15, 2008 1:19 pm

Ok need help again...the damn toolset wont run on my pc due to windows v(p)ista. i had a .bat file my friend had sent me the line of code for to force it to run on one cpu, and when i used it the toolset ran fine.

The Amethyst Dragon or anyone out there know the command line for a bat file that will force it to run in single cpu mode?
Kefrem
Kefrem
Pureblooded Aenean
Pureblooded Aenean

Male Number of posts : 755
Location : The Free city of Greyhawk
Main Character : Ignatius and Sykee
Other Character : Shi'ssar
Other Character. : Spyder
Other Character.. : Tarn
NWN Username : Kefremthemagus
Registration date : 2008-10-06

http://www.rebellegion.com/forum/costume.php?mode=view&c=688&bu=

Back to top Go down

Help with a bat file Empty Re: Help with a bat file

Post by The Amethyst Dragon on Mon Dec 15, 2008 1:36 pm

I'm on Vista with a dual-core laptop.

I don't use a batch file for the toolset, but do have an extra line in my nwtoolset.ini file...it's in the main NWN directory/folder.

Open the file in Notepad, and under the [Start Up] section, try adding the line:
CPU Affinity=0

Save the file, and next time you run the toolset, it should only be using the first cpu core.

_________________
.
------------------------------------- The Amethyst Dragon -------------------------------------
Creator of Aenea | Custom Content Maker | Dungeon Master | Builder | Scripter | Writer | Player | Sleepless
The Amethyst Dragon
The Amethyst Dragon
Ludicrous Level
Ludicrous Level

. : Creator of Aenea / Dungeon Master
Male Number of posts : 7839
Age : 45
Location : probably on the computer or wrangling his offspring
NWN Username : amethystdragon
DM Name : The Amethyst Dragon
Time Zone : GMT - 6:00 (Wisconsin)
Registration date : 2008-06-02

http://www.amethyst-dragon.com/nwn

Back to top Go down

Help with a bat file Empty Re: Help with a bat file

Post by Svair on Mon Dec 15, 2008 2:19 pm

The Amethyst Dragon wrote:I'm on Vista with a dual-core laptop.

I don't use a batch file for the toolset, but do have an extra line in my nwtoolset.ini file...it's in the main NWN directory/folder.

Open the file in Notepad, and under the [Start Up] section, try adding the line:
CPU Affinity=0

Save the file, and next time you run the toolset, it should only be using the first cpu core.

I have a similar setup (dual-core laptop w/ Vista), and I use the above line in my ini file as well.

I get about 20 fps most of the time with the lowest video settings.
Svair
Svair
Epic Level
Epic Level

Male Number of posts : 1177
Age : 49
Location : Seattle, WA
Main Character : Karamip Ningle
Other Character : Phyllick Delucian
NWN Username : S'Vair
. : Help with a bat file Forum_donor
Registration date : 2008-06-03

Back to top Go down

Help with a bat file Empty Re: Help with a bat file

Post by RayvenNightkind on Mon Dec 15, 2008 3:08 pm

Svair wrote:
I have a similar setup (dual-core laptop w/ Vista), and I use the above line in my ini file as well.

I get about 20 fps most of the time with the lowest video settings.

What section of the file do ya have that? Anything if it'll help. I'm running Vista myself as well.
RayvenNightkind
RayvenNightkind
Epic Level
Epic Level

Male Number of posts : 1119
Age : 45
Location : Park View (Eldridge), Iowa
Main Character : Sir Rayvensclaw Nightkind Leader of the Clan of Night
Paladin/Champion of Dalix/Wizard
NWN Username : Rayven Nightkind
Time Zone : GMT - 6:00
Registration date : 2008-09-04

Back to top Go down

Help with a bat file Empty Re: Help with a bat file

Post by MannyJabrielle on Mon Dec 15, 2008 3:31 pm

For the nwn client edit, it's the nwnplayer.ini, under the [Game Options] section, and would be entered as Client CPU Affinity=0
MannyJabrielle
MannyJabrielle
Ludicrous Level
Ludicrous Level

. : Dungeon Master
Male Number of posts : 5927
Main Character : See the "A-Team" thread in the Biographies forum.
DM Name : Dungeon-Master Gaelen
Time Zone : GMT -5:00(EST)
Registration date : 2008-07-05

Back to top Go down

Help with a bat file Empty Re: Help with a bat file

Post by RayvenNightkind on Mon Dec 15, 2008 3:48 pm

MannyJabrielle wrote:For the nwn client edit, it's the nwnplayer.ini, under the [Game Options] section, and would be entered as Client CPU Affinity=0

Sweet, thanks! Editing now.

Edit: It's already set that way, lol.
RayvenNightkind
RayvenNightkind
Epic Level
Epic Level

Male Number of posts : 1119
Age : 45
Location : Park View (Eldridge), Iowa
Main Character : Sir Rayvensclaw Nightkind Leader of the Clan of Night
Paladin/Champion of Dalix/Wizard
NWN Username : Rayven Nightkind
Time Zone : GMT - 6:00
Registration date : 2008-09-04

Back to top Go down

Help with a bat file Empty Re: Help with a bat file

Post by Kefrem on Mon Dec 15, 2008 9:44 pm

Hmm...i decided to try one last thing i hadnt tried, i took the individual nwntoolset.exe file...pinned it to quicklaunch...right cliked on properties and selected xp compatibility mode and it seems to have worked...which is puzzling as it didnt last time i tried it. Guess ill have to work in it and see if it maintains its non crashability.
Kefrem
Kefrem
Pureblooded Aenean
Pureblooded Aenean

Male Number of posts : 755
Location : The Free city of Greyhawk
Main Character : Ignatius and Sykee
Other Character : Shi'ssar
Other Character. : Spyder
Other Character.. : Tarn
NWN Username : Kefremthemagus
Registration date : 2008-10-06

http://www.rebellegion.com/forum/costume.php?mode=view&c=688&bu=

Back to top Go down

Help with a bat file Empty Re: Help with a bat file

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum