Welcome To Darwinbots > Newbie
Can DB actually open a .dbo file?
Zinc Avenger:
The hard drive is not full (13GB free), but I wouldn't be surprised if a sudden explosion of reproduction brought the entire thing to a standstill. I wonder if a cancerously reproducing bot with 600+ mutations can eat memory faster than virtual memory can be allocated?
Incidentally, is there any documentation on the anatomy of a .dbo file?
Henk:
DBO's have been around for a long time and I don't think much has changed since Carlos ( ) introduced them...
EricL:
The source code itself is the best documentation as to dbo file format. Note that it is not really a file format in that the only code that ever needs to parse and read it is DB itself. The format is a consequence of the code, not the other way around. Note also that the same code is used to save dbos as is used to save sims since part of saving a sim is saving the bots in the sim.
As the program evolves and features are added which require new bot properties or state, what gets put into dbos evolves as well. I've probably added a dozen or more things in the last 6 months. Luckily Nums (I think) added backwards compatability in the formating code long ago which makes new additions easy and backwards comptabile (you can load a bot saved in a newer version into an older version without issues - the newer stuff is ignored by the code in the older program).
There are other types of memory besides user mode VM. Out of memory errors can occur due to exhaustion of kernal mode resources such as file handles or stack overflow. I probably have a recursive allocation bugs or something like that somewhere. If you could post a sim, perhaps the last one saved before the crash, that would be much appreciated.
Numsgil:
--- Quote from: EricL ---As the program evolves and features are added which require new bot properties or state, what gets put into dbos evolves as well. I've probably added a dozen or more things in the last 6 months. Luckily Nums (I think) added backwards compatability in the formating code long ago which makes new additions easy and backwards comptabile (you can load a bot saved in a newer version into an older version without issues - the newer stuff is ignored by the code in the older program).
--- End quote ---
Backwards and forwards compatibility
It's really just a raw dump of a robot's class data. Nothing really all that special.
EricL:
--- Quote from: Numsgil ---Backwards and forwards compatibility
--- End quote ---
I cast a shadow in your presense...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version