Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: DF crashes when I embark  (Read 1463 times)

thb

  • Escaped Lunatic
    • View Profile
DF crashes when I embark
« on: August 23, 2008, 01:46:31 pm »

Hello,

I've searched for a similar post but haven't found one. On one of my computers, DF crashes as soon as I try to embark. World generation works fine, and I've tried with 3 different world. When I choose to (e)bark, I can reach the screen "play now" or "prepare", and if I choose "play now", the game seems to compute for 5 seconds then a general protection fault crashes it.
I've tried with versions 40c, 40a and 39something, same result.

Feel free to ask for more details, and thanks in advance.
Logged

Splendiferous

  • Bay Watcher
  • Psychotic. Primate.
    • View Profile
Re: DF crashes when I embark
« Reply #1 on: August 23, 2008, 01:49:51 pm »

My guess would be a problem with your computer, or possibly there was a problem downloading your game. if I were you, I would just wipe the program and retry.
Logged
"He returns once every thousand years! Or if the stars align! Or whenever he's bored."

thb

  • Escaped Lunatic
    • View Profile
Re: DF crashes when I embark
« Reply #2 on: August 23, 2008, 05:28:28 pm »

I've already installed 3 different versions, so I think the problem comes from the computer itself or something installed on it. There is nothing very special about it ; the antivirus is Dr Web.
Logged

Tormy

  • Bay Watcher
  • I shall not pass?
    • View Profile
Re: DF crashes when I embark
« Reply #3 on: August 23, 2008, 06:10:30 pm »

Comp specs / OS? However this sounds like some software related problem so....
I think that you should resintall the operating system on that comp. Did you ever run registry cleaner or something like that?
Also some anti-adware/malware tools are able to completly screw windows.
Logged

thb

  • Escaped Lunatic
    • View Profile
Re: DF crashes when I embark
« Reply #4 on: August 24, 2008, 03:46:58 am »

Computer is a laptop (Acer 3023 wlmi - Sempron Mobile) upgraded with 2GB RAM, running WinXP SP2 up to date. There is no resident anti-adware. The same problem arises if I close all the tray programs and most running processes.
I'll try with another OS on the same hardware and tell you if it works any better.
If anyone has experienced the same kind of crash, any help is welcome.
Logged

thb

  • Escaped Lunatic
    • View Profile
Re: DF crashes when I embark
« Reply #5 on: August 24, 2008, 03:50:42 am »

Problem solved.

I wiped the DF directory and reinstalled 40c, it worked fine... I had already done so three times, don't know it works now.
Logged

Tormy

  • Bay Watcher
  • I shall not pass?
    • View Profile
Re: DF crashes when I embark
« Reply #6 on: August 24, 2008, 06:35:25 am »

Problem solved.

I wiped the DF directory and reinstalled 40c, it worked fine... I had already done so three times, don't know it works now.

Yep, you better reinstall your OS, this is some software/registry oriented OS problem imho.
Logged

Stromko

  • Bay Watcher
    • View Profile
Re: DF crashes when I embark
« Reply #7 on: August 24, 2008, 06:50:10 am »

They weren't being installed to the same directory, right? Some games tell you to just unzip a patch into the base directory to upgrade, but DF doesn't, doing so will cause glitches. What's even trickier, sometimes you delete things from the DF directory and so naturally there'd be no conflicts, except sometimes there are STILL conflicts. Maybe DF has so much data that sometime we accidently place a new file before the old one is truly deleted (even though the OS says it is), and being that the data is rather compressed and non-redundant, just a few errors from this process make the new data noticably corrupt.

Best thing is to make a fresh directory for every instance of dwarf fortress, which essentially makes it a fresh, separate, clean install. Dwarf Fortress should leave your registry alone, it's really just an .exe that accesses various folders rather than an 'installed' game so it shouldn't get any deeper than that. Since a single save file is bigger than a fresh install of dwarf fortress, there isn't much of a downside to having multiple installs. I've never had a DF install go bad on its own, but when modding or switching saves or using utilities it's a good idea to keep backups and only have one active world per .exe.

Just to be on the safe side, if I wanted to do a lot in a given world (multiple forts, adventurers, etc), I'd make a new folder each time I started a new fort, and each time I abandoned a fort and started playing as an adventurer. That way, if something goes wrong, I can still go back to one of the older folders and the old save files are still there, unaffected.

The last time I had a broken install of DF that wouldn't boot, I'd recently been playing as an adventurer and had been making multiple backup saves. Sometimes I'd even go back to an older save because I decided to do something different at a critical juncture, and even though it appeared I cleanly deleted the saves before pasting every time, there must've actually been old (hidden) data that caused the data being copied over it to be corrupted.
« Last Edit: August 24, 2008, 07:02:31 am by Stromko »
Logged