How to begin working on an AI in C
Posted: 16 Oct 2014, 22:54
Hi all,
I've deleted my old post and replaced it with this one. I realized my last message was a bit of a run-on sentence. Hopefully additional information may be able to clarify what I'm looking for.
First off, a quick explanation of what I'm trying to do. I'm currently trying to upgrade an AI developed by my school for a couple of theses. The bot was originally developed on Spring 91, but after our most recent graduate's work was done the computer we had installed everything on irrecoverably crashed. I have tried to rebuild everything on a separate computer but am having some problems. Here is what I have:
- ubuntu v 14.04
- spring 98, installed via ubuntu app manager
- balanced annihilation 8.03
The problem is that the old code seems to be built around a specific file structure, rts/ExternalAI/Interface. This structure is mentioned in the wiki and in various forum posts about AI development, but I cannot find it at all in any of the spring folders created by the v98 install. The old code also relies on a series of files located in the Interface folder, namely AISEvents.h, AISCommands.h, SSkirmishAICallback.h, and SSkirmishAILibrary.h. I have tried to search the entire hard drive for these files, but nothing shows up. I have also looked into the AAI bot files since the wiki states that the AAI bot also utilizes C code, but I haven't been able to find any leads in that area.
Does anyone know if the spring engine can still handle old spring code? If so, what needs to be done? I'm getting some conflicting information between the wiki and some other sources stating that the entire rts/ExternalAI/Interface file structure was made obsolete. Any help would be greatly appreciated.
I've deleted my old post and replaced it with this one. I realized my last message was a bit of a run-on sentence. Hopefully additional information may be able to clarify what I'm looking for.
First off, a quick explanation of what I'm trying to do. I'm currently trying to upgrade an AI developed by my school for a couple of theses. The bot was originally developed on Spring 91, but after our most recent graduate's work was done the computer we had installed everything on irrecoverably crashed. I have tried to rebuild everything on a separate computer but am having some problems. Here is what I have:
- ubuntu v 14.04
- spring 98, installed via ubuntu app manager
- balanced annihilation 8.03
The problem is that the old code seems to be built around a specific file structure, rts/ExternalAI/Interface. This structure is mentioned in the wiki and in various forum posts about AI development, but I cannot find it at all in any of the spring folders created by the v98 install. The old code also relies on a series of files located in the Interface folder, namely AISEvents.h, AISCommands.h, SSkirmishAICallback.h, and SSkirmishAILibrary.h. I have tried to search the entire hard drive for these files, but nothing shows up. I have also looked into the AAI bot files since the wiki states that the AAI bot also utilizes C code, but I haven't been able to find any leads in that area.
Does anyone know if the spring engine can still handle old spring code? If so, what needs to be done? I'm getting some conflicting information between the wiki and some other sources stating that the entire rts/ExternalAI/Interface file structure was made obsolete. Any help would be greatly appreciated.