Anyway, let me tell you what I was doing for the Past week so you wont make the same mistakes as me:
I wrote a pritty big patch for DB that works as follows:
Variables:
Counter.txt 'text file holds one number 'original setting is 0
Selector.txt 'text file holds one number 'original setting is 1
Robots
Folder "My Robots": Robots from 1.txt to 49.txt
Subfolder "Steps of Evolution": 1.txt to Infinity
When Form1.StartSimu is called , before the robots are loaded I call on "Mutaterobotfile" subrotine
Mutaterobotfile works as follows:
A. Open selector.txt get robot name.
B. Based on Robot Name (A.) open in "My Robots" spesific robot
C.
1.) Open counter.txt
2.) incriment counter = counter +1
3.) save in "Steps of Evolution" a new robot based on the one opened in B. with name based on C.2.)
D. Note: each of the robot Dna files have mutation rates writtin in the buttom of the file.
D. Generate in "My Robots" 1.txt to 49.txt robots by mutating each from B. save the new rates also. mutate each from 5 to 20 times random.
E. Delete Robots to get ready to start simulation
5 copyes of each robot (1.txt - 49.txt) are loaded as F1 settings
After 5000 cycles the infos routine does a check for the best robot.
The Selecter.txt is opened for output and the species name of best robot is set as the text. Restart of simulation is called. The Prosses begins again.