Deleting scripts takes ages?
Moderator: Event DM
- Jonezie
- Team Member; Retired with Honors
- Posts: 3905
- Joined: Wed Jun 09, 2004 7:05 am
- Location: Melbourne (GMT +10)
Deleting scripts takes ages?
Is it just me, or does everyone else have to sit through a 5 minute pause after a script has been deleted?
The mod is 30 Mb, but this seems a bit...excessive. I'm running a 2.8Ghz P4 with 512Mb RAM on WinXP Pro.
The mod is 30 Mb, but this seems a bit...excessive. I'm running a 2.8Ghz P4 with 512Mb RAM on WinXP Pro.
- Tristan_Durst
- Scholar of Fools
- Posts: 384
- Joined: Tue Nov 02, 2004 5:38 am
- Location: Florida
-
- Apprentice Scholar
- Posts: 853
- Joined: Mon Apr 07, 2003 12:08 pm
- Location: GMT+1/+2 dst
- Contact:
use the export function, select the script and right click to delete it, goes much faster this way, same goes for all items that you want to remove from the mod.
or when a module is opened in the toolset all resources are listed in the module\temp0 folder. When you delete it there and save the module it should be gone as well.
or when a module is opened in the toolset all resources are listed in the module\temp0 folder. When you delete it there and save the module it should be gone as well.
- Sindol
- Team Member; Retired with Honors
- Posts: 6479
- Joined: Mon Jan 06, 2003 4:23 pm
- Location: Nijmegen - Netherlands (GMT+1)
- Contact:
Scripts can be deleted in the blink of an eye really. When you click delete it asks two questions iirc:
1. Really delete this script? YES
2. Delete all applied instances of this script as well? NO
Exit script. Takes a few seconds at most for me. The important bit is answering "no" on the second question. The downside of this is that you'll have to manually remove the script from all places where you applied it. This usually takes less time than letting the toolset do it though. Asssuming that you know exactly where the script was applied, this works very well.
For the other resources, there's no such option: removing an NPC will always cause the toolset to check all areas and encounters for the use of this NPC... takes forever. Alustriel already posted some nice tricks for getting rid of those though.
When deleting from the temp0 folder while you have the mod open: Make a backup of your mod before you do this though, it's been known to corrupt the module on some rare occasions.
1. Really delete this script? YES
2. Delete all applied instances of this script as well? NO
Exit script. Takes a few seconds at most for me. The important bit is answering "no" on the second question. The downside of this is that you'll have to manually remove the script from all places where you applied it. This usually takes less time than letting the toolset do it though. Asssuming that you know exactly where the script was applied, this works very well.
For the other resources, there's no such option: removing an NPC will always cause the toolset to check all areas and encounters for the use of this NPC... takes forever. Alustriel already posted some nice tricks for getting rid of those though.
When deleting from the temp0 folder while you have the mod open: Make a backup of your mod before you do this though, it's been known to corrupt the module on some rare occasions.
So much fun,
yet so little time to enjoy it.
- Sindol
yet so little time to enjoy it.
- Sindol
- Nob
- Lore Council Member
- Posts: 7930
- Joined: Mon Jun 30, 2003 1:19 am
- DM Avatar: Dead but still a Dreamer
Open the module with NWHak...and delete the nss and ncs files directly.
Works pretty well too. Though I see Alu's posted other tips, heh.
Works pretty well too. Though I see Alu's posted other tips, heh.
"Andrinor grant me the patience not to kill those who screw things up through stupidity, the power to incinerate those who screw things up on purpose, and the wisdom to distinguish between one and the other." -The War Mage's Serenity Prayer
- Gorgon
- Father of Avlis EE
- Posts: 6637
- Joined: Fri Oct 17, 2003 10:14 pm
- Timezone: PST -8
- Location: Vancouver, BC, Canada
Got any other useful tips? This one little thread probably could have saved me hours, and I'm a novice at the toolset.
"God not only plays dice, he throws them in the corner where you can't see them."
-- Stephen William Hawking (1942-2018) --
Sprucing up ye olde NWN | NWN:EE Wiki | ~Avlis Theme Song~
-- Stephen William Hawking (1942-2018) --
Sprucing up ye olde NWN | NWN:EE Wiki | ~Avlis Theme Song~