Difference between revisions of "Installation Instructions"

From WikiManual
Jump to: navigation, search
(Regional settings)
(Windows 8)
 
(11 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Installing Darwinbots is usually quite easy.  Occassionally, the programmers will make a mess of things, making new installations more difficult.
+
== Win XP / Win Vista / Windows 7 ==
  
There is a step by step guide for installation [[Step By Step Installation Guide | here]]
+
=== Install in user directory ===
 
+
Installing Darwinbots in the Program Files directory is not recommended. Unless you are running as an Administrator, and/or UAC is turned off, Darwinbots will run into errors when tries some file operations (ex. Auto-Saves of sims). It is instead recommended to install to a non-protected directory such as C:\Users\USERNAME\Darwinbots2
== New Installations ==
 
 
 
For a completely new installation it is necessary to download '''version 2.1''' and run the setup file before upgrading to later versions.<br>
 
This will set up all of the necessary directories and install the program. It will also add a number of activeX files to the Windows\system32 directory.
 
 
 
The download is available at the current [[Main FTP|Downloads]] or you can also try the [http://digilander.libero.it/darwinbots/download.html old FTP].
 
  
 
== Upgrading ==
 
== Upgrading ==
Line 14: Line 8:
 
The Darwinbots community is quite active, and major releases are made public generally every month.  Each new version contains substantial improvements.  Don't cheat your Darwinbots experience!  Be sure to have the latest version installed.
 
The Darwinbots community is quite active, and major releases are made public generally every month.  Each new version contains substantial improvements.  Don't cheat your Darwinbots experience!  Be sure to have the latest version installed.
  
Upgrading Darwinbots is quite easy, as all you need is the new sysvars file and executable.  New patches are listed on the [http://www.darwinbots.com/FTP FTP] and [[FTP|Wiki FTP]] in chronological order, so newer releases are generally listed last for a section.  Each release comes with a code archive and patch, downloadable seperately.
+
Upgrading Darwinbots is quite easy, as all you need is the new sysvars file and executable.  New patches are listed on [[FTP| Downloads]] in chronological order, so newer releases are generally listed last for a section.  Each release comes with a code archive and patch, downloadable separately.
  
 
Newer releases are, obviously, of higher numbers.  Thus 2.36 comes after 2.35 but before 2.4.
 
Newer releases are, obviously, of higher numbers.  Thus 2.36 comes after 2.35 but before 2.4.
  
Note that the old FTP is no longer updated.
+
After downloading the zip of the new version, unzip it to your Darwinbots folder. (typically C:\Program Files\DarwinBotsII or C:\Users\USERNAME\)  Yes, you must do this manually.  The developers are far too busy with real programming to figure out how to implement an autopatcher.
 
 
After downloading the zip of the new version, unzip it to your Darwinbots folder. (typically C:\Program Files\DarwinBotsII)  Yes, you must do this manually.  The developers are far too busy with real programming to figure out how to implement an autopatcher.
 
 
 
When you unzip your new version of DarwinBots, "sysvars2.21.txt" will automatically overwrite the existing version if you have one. This is okay since the '''sysvars files are backward compatible'''.
 
  
 
== Final Note ==
 
== Final Note ==
Line 33: Line 23:
 
== Regional settings ==
 
== Regional settings ==
 
Darwinbots is pretty stupid and assumes that you're using the American decimal system, where numbers look like this: 123,456.789 (123 thousand...).  If you don't live in America, and you're used to numbers looking like this: 123.456,789, Darwinbots will run, but there will be a few random errors in the user interface.  To fix this, go to your Windows Control Panel->Regional and Language Options-> and make sure the number blank says "123,456,789.00".  If it doesn't, change your region to one that does (such as English(United States)).
 
Darwinbots is pretty stupid and assumes that you're using the American decimal system, where numbers look like this: 123,456.789 (123 thousand...).  If you don't live in America, and you're used to numbers looking like this: 123.456,789, Darwinbots will run, but there will be a few random errors in the user interface.  To fix this, go to your Windows Control Panel->Regional and Language Options-> and make sure the number blank says "123,456,789.00".  If it doesn't, change your region to one that does (such as English(United States)).
 
== Vista problems ==
 
If you have problems running under Vista (missing COMDLG32.OCX), you'll need to run the program as an administrator.
 
  
 
== Windows 95 Potential Compatibility Warning ==
 
== Windows 95 Potential Compatibility Warning ==
Line 41: Line 28:
  
 
== Installing DarwinBots under Linux ==
 
== Installing DarwinBots under Linux ==
 +
 +
''Note: This information is no longer current, although it may be of some use.''
  
 
DarwinBots can run under Linux using the wine Windows emulator, although the simulation speed may be slower and bugs and crashes may happen. Following these steps will usually make it work:
 
DarwinBots can run under Linux using the wine Windows emulator, although the simulation speed may be slower and bugs and crashes may happen. Following these steps will usually make it work:
  
 
*Install the Wine package.
 
*Install the Wine package.
*Get the libraries MSVBVM60.dll, scrrun.dll and wininet.dll from reliable sources. If DB crashes when you try to run it, you'll problably need a few more dlls.
+
*Get the libraries MSVBVM60.dll, scrrun.dll and wininet.dll from reliable sources. If DB crashes when you try to run it, you'll probably need a few more dlls.
 
*Place those files at the folder /(username)/.wine/drive_c/windows/system32.  
 
*Place those files at the folder /(username)/.wine/drive_c/windows/system32.  
 
*Open a terminal window and go to the system32 folder.
 
*Open a terminal window and go to the system32 folder.
*Write "wine regsrv32 scrrun.dll". This will register the dll in the Wine Windows registry.
+
*Write "wine regsvr32 scrrun.dll". This will register the dll in the Wine Windows registry.  If this doesn't work, try "regedit scrrun.dll".
 
*Now, do "winecfg", select "wininet" at Libraries and specify it to be run first as native.
 
*Now, do "winecfg", select "wininet" at Libraries and specify it to be run first as native.
 
*Get the DB installer, place the setup.exe file somewhere in the drive_c folder.
 
*Get the DB installer, place the setup.exe file somewhere in the drive_c folder.
Line 56: Line 45:
  
 
--[[User:MacadamiaNuts|MacadamiaNuts]] 17:17, 10 November 2007 (MST)
 
--[[User:MacadamiaNuts|MacadamiaNuts]] 17:17, 10 November 2007 (MST)
 +
 +
'''Installing on Ubuntu 10.04 (the easy way):'''
 +
 +
*Install the Wine package
 +
*Get [http://wiki.winehq.org/winetricks Winetricks] to install vb6run
 +
*Double click setup.exe to install the old version. Then you can drop the newer executables and run them with wine.
 +
 +
 
Return to [[Main Page]]
 
Return to [[Main Page]]

Latest revision as of 19:57, 25 September 2014

Win XP / Win Vista / Windows 7

Install in user directory

Installing Darwinbots in the Program Files directory is not recommended. Unless you are running as an Administrator, and/or UAC is turned off, Darwinbots will run into errors when tries some file operations (ex. Auto-Saves of sims). It is instead recommended to install to a non-protected directory such as C:\Users\USERNAME\Darwinbots2

Upgrading

The Darwinbots community is quite active, and major releases are made public generally every month. Each new version contains substantial improvements. Don't cheat your Darwinbots experience! Be sure to have the latest version installed.

Upgrading Darwinbots is quite easy, as all you need is the new sysvars file and executable. New patches are listed on Downloads in chronological order, so newer releases are generally listed last for a section. Each release comes with a code archive and patch, downloadable separately.

Newer releases are, obviously, of higher numbers. Thus 2.36 comes after 2.35 but before 2.4.

After downloading the zip of the new version, unzip it to your Darwinbots folder. (typically C:\Program Files\DarwinBotsII or C:\Users\USERNAME\) Yes, you must do this manually. The developers are far too busy with real programming to figure out how to implement an autopatcher.

Final Note

New versions almost always have bugs. The first week or so after a new release is filled with the programmers releasing minor updates almost daily. These updates are noted by the suffix numbers of the version. Thus, 2.37.0 was the initial release of 2.37 2.37.4 is the 4th bug fix version released.

We know it's a pain to download a new patch almost every day. But it's only through community bug testing that the bugs can be isolated at all.

Anything with the same first 3 digits (that is, all versions of 2.XX) have the same features and differ only in minor bug fixing.

Regional settings

Darwinbots is pretty stupid and assumes that you're using the American decimal system, where numbers look like this: 123,456.789 (123 thousand...). If you don't live in America, and you're used to numbers looking like this: 123.456,789, Darwinbots will run, but there will be a few random errors in the user interface. To fix this, go to your Windows Control Panel->Regional and Language Options-> and make sure the number blank says "123,456,789.00". If it doesn't, change your region to one that does (such as English(United States)).

Windows 95 Potential Compatibility Warning

A user running Windows 95 reports that installing Darwinbots will overwrite an older version of comdlg32.dll with a newer and Windows 95 incompatible version. If you experience this problem (frequently receive the error <<Can't find comdlg32.dll>> or <<comdlg32.dll linked to missing export shell32.dll>> when you run just about any program) please report them in the forum for proper debugging.

Installing DarwinBots under Linux

Note: This information is no longer current, although it may be of some use.

DarwinBots can run under Linux using the wine Windows emulator, although the simulation speed may be slower and bugs and crashes may happen. Following these steps will usually make it work:

  • Install the Wine package.
  • Get the libraries MSVBVM60.dll, scrrun.dll and wininet.dll from reliable sources. If DB crashes when you try to run it, you'll probably need a few more dlls.
  • Place those files at the folder /(username)/.wine/drive_c/windows/system32.
  • Open a terminal window and go to the system32 folder.
  • Write "wine regsvr32 scrrun.dll". This will register the dll in the Wine Windows registry. If this doesn't work, try "regedit scrrun.dll".
  • Now, do "winecfg", select "wininet" at Libraries and specify it to be run first as native.
  • Get the DB installer, place the setup.exe file somewhere in the drive_c folder.
  • Go to that folder and type wine setup.exe. This will install the old DB version and some needed files. Then you can drop the newer executables and run them with wine. If you aren't comfortable using the terminal, you can load a wine file explorer running "winefile". You can also configure how wine emulates Windows for the DB executables with "winecfg", although the Windows 2000 default setting seems to work well.

If you are on a Gnome desktop, avoid using Gedit to edit the code of your robots, as it will enter incompatible line breaks.

--MacadamiaNuts 17:17, 10 November 2007 (MST)

Installing on Ubuntu 10.04 (the easy way):

  • Install the Wine package
  • Get Winetricks to install vb6run
  • Double click setup.exe to install the old version. Then you can drop the newer executables and run them with wine.


Return to Main Page