Difference between revisions of "Main FTP"

From WikiManual
Jump to: navigation, search
Line 50: Line 50:
  
 
Upgrading Darwinbots is quite easy, as all you need is the new sysvars file and executable.  New patches are listed here in chronological order, so newer releases are generally listed last for a section.
 
Upgrading Darwinbots is quite easy, as all you need is the new sysvars file and executable.  New patches are listed here in chronological order, so newer releases are generally listed last for a section.
 
 
  
 
== Bots ==
 
== Bots ==
Line 65: Line 63:
  
 
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'''.
 
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'''.
 +
 +
== 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)).
  
 
== Final Note ==
 
== Final Note ==
Line 72: Line 73:
  
 
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.
 
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)).
 
  
 
== See Also ==
 
== See Also ==

Revision as of 21:17, 16 December 2009

Main Install

Run the main install for DarwinBots 2.1 We are working on an installer for the latest version below, but at the moment, this is the only version for which an installer exists. It creates some directories and installs some runtimes and thus must be installed before you can use any of the newer versions below. See the installation instructions. The version installed with this main install works, but it is ancient (several years old) so you will want to immediatly download one of the newer releases below.

Recent Releases

To update to the latest release, simply copy the file(s) included in a new release into your install location (by default c:\Program File\DarwinbotsII\). Again, the new file(s) MUST be placed into your install location. Usually, new releases consist of only the DarwinBots executable. If other files are included in a release, you should say 'yes' to all overwrites. Then simply run the new executable instead of the executable that came with the main install.

2.43.1L

2.43.1L is the current recommended, and latest stable version of DarwinBots.

2.44.03

Version 2.44.03 is the latest "in progress" version. There might have be some bugs that 2.43.1L does not. If you encounter a bug, try to reproduce what the problem is (does it crash after loading error.sim every time?). Then go to the forum and file a bug report.

Installing

Installing DarwinBots under Linux

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:

  1. Install the Wine package.
  2. 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.
  3. Place those files at the folder /(username)/.wine/drive_c/windows/system32.
  4. Open a terminal window and go to the system32 folder.
  5. Write "wine regsvr32 scrrun.dll". This will register the dll in the Wine Windows registry. If this doesn't work, try "regedit scrrun.dll".
  6. Now, do "winecfg", select "wininet" at Libraries and specify it to be run first as native.
  7. Get the DB installer, place the setup.exe file somewhere in the drive_c folder.
  8. 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.

Step by Step Darwinbots Installation Instructions (Windows)

  1. Go to here and download Darwinbots 2.1.
  2. Unzip it, using a program like 7-zip or Windows XPs Extract All function (Rightclick, select Extract All, Press next until it starts unzipping, Select Show Extracted Files, Press Finish. A folder with the setup file in it should show)
  3. Run setup.
    • Press Yes.
    • Press Next twice.
    • Press install.
    • Press finish.
  4. Download the latest release. At the time of writing this is 2.43.
  5. Unzip it.
  6. Copy the exe file. Paste it in your Darwinbots Install directory (C:\Program Files\DarwinbotsII)
  7. To run Darwinbots, run the exe you pasted into your Darwinbots directory.

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 here in chronological order, so newer releases are generally listed last for a section.

Bots

Note: The robots that come with the main 2.1 install above will run in modern versions, but they are going to act a little stupid. They may have a hard time even surviving. Strongly consider downloading more modern bots from the bestiary. Animal Minimalis is a good start, and is used in the Robot Tutorials. Just copy the text into a plain old .txt file, and put the file into your robots directory.

Tutorials

The Darwinbots bot writing tutorial by PY is a little old but a very good primer to learning how the DNA works. You can also check out the Robot Tutorial

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) 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.

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)).

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.

See Also

Return to Main Page