Thursday, 26 June 2008

Celebration day. 90 days without crashes!

When purging my backups i realized that yesterday it was 90 days since the last toolset crash. I know I may upset the Eight Gods of System Crashes by saying so and that I probably will regret it soon. During this period of peace I have done 1 542 saves without a toolset crash! That's about 462 Terrabytes written down to disk.

I believe this is why it has worked so fine for me:
  1. I'm using Directory Mode so the toolset don't have to pack/un-pack a huge .mod-file during every save.
  2. I'm not using HAK-packs during development. Every file resides in the override folder until the game is finished.
  3. When working with the toolset. I kill my Antivirus and deactivate my Internet connection. If I need Internet access I use Terminal Server Client to a computer with the connection.
  4. Only two programs are allowed to be started simultaneously. The NWN2Toolset and the NWN2Main, no mail, no paint, no notepad, nothing. I even stop some of the memory intensives WinXP services that usually run via a script.
  5. I have an egg cooking timer that beeps every two hours. Then I save and exit both the toolset and the client to get rid of memory leaks. If I see that WinXP don't get it back I sometimes restart the whole OS.
You may thing this routine is complicated. Well, I'm pretty used to it now and it's a LOT LESS WORK THAN REPAIRING and REBUILDING a crashed module.

Now I'm off to work and I'll buy myself some nice cake to celebrate this joyful event :)

Have a nice day everybody, and thanks for reading, as always.
/Amraphael

5 comments:

Wyrin said...

Disabling antivirus is definitely the biggie for me. And yeah, I only use other programs outside the toolset if i'm workign on a small test-bed module - otherwise email checks etc can wait! Plus restartign the PC after a period of time in the toolset is a good way to go too!

So think you've covered my tips for me!

Ernie Noa said...

I think I am due for serious toolset crash. It's been a long while.

Jclef said...

Good for you, Ampraphael!

I'm going to use some of these tips - particularly the anti-virus/internet deal.

Anonymous said...

Amraphael, that is more or less my NWN2 modding setup too. And although I have had some angry "bla bla bla"-exception windows popping up now and then, I have had very few crash-out-of-ts crashes during the first half of this year *knock on wood*!

IL :)

Amraphael said...

While playing around with Wyrin's DA2 mod I learned a lot about repairing broken modules. It's not as scary as one could think. I seems that how bad the crash seems you can always recover the most things that have been saved even if the module has been corrupted.