I've been fooling around with this and ohter bots for a few days. First of all, the '-fwritable-strings' option is only used for the wxaine application. I removed the options from the Makefile and was still able to compile even the wxaine app without any problems. I've also been looking at getting the cgi.bin prgram to work. I don't really know anything about that though, so if anyne does know how cgi works it would help.

I found other versions of aine also - 0.8.7 and 0.8.8 -for what it's worth.

I found several other bots like j-alice and megahal which also work. There is also libaiml which includes a test-app which I have hacked to work as a regular app. It has to learn the aiml files each time though as it has no aiml compiler.

aine includes the most utilities but has the disadvantage of using its' own dialect and you have to modify ohter aiml files manually, even after using the included convertor. I may try to unhack aine so that it uses regulat aiml files since there are quite a few ready-made personalities out there which work fine with j-alice and libaiml. megahal seems mostly useless as it just composes pretty sensless replies.

aine includes a ouija board bot which I'm also looking at getting to work, but it uses java script apparently. I'll probably do quite a bit of work on these apps to get something going which doesn't need java. Some of them can also use perl which may be a better option.
The wxaine app works fine if you have wxGTK-2.4.x I haven't tried with wx-2.5 but it will not work with wx-2.6.

In a few days I'll upload most of the sources I have found to my site so that everything can be found in one place. I'm just waiting till I get the binary packages fixed up, since I usually supply Slackware packages for the sources I host.

I have an extensive collection of ROX AppDirs, so I'll include your AppDir as well -probably slightly modified to use xterm instead of rxvt.
I hope that most improvements you make can be kept portable to other distros for maximum usefullness. I usually use Xdialog or greq for options GUI, since I do not normally run GTK2.

I also have a very useful AppDir framework that makes it very easy to create new AppDirs. I had hardware problems last week so I haven't gotten my AppDir stuf uploaded yet, but I will over the next few days.

I downloaded the top file and when it extracted, I got an executable that worked just by clicking on it, though I was hoping to get a folder with the program in it.. My question is how to recompile it to change its name and get rid of its concept of being human? I could use something like this for giving my robot an AI, though it will need to be tweaked.

@amigo could up load the hacked makefile? or just upload the whole source with out any of the wxaine files.... where is the link to your site? I have been rather interested in appdirs lately.....

@KF6SNJ you can download the above source and compile it in an older puppy or a newer puppy with an older compiler or follow amigo in wacking out -fwriteablestrings. Like muggins said just right click and then select "look inside" the aine files are the files that you can edit... It helps ot read the documentation that is included . After you edit the files right click on aine and in the files menu click "compile "brian"" that will make your changes appear or you can run ./compile from the commandline in the ainebot directory_________________Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
X86: Sager NP6110 3630QM 16GB ram, Tyan Thunder 2 2x 300Mhz
Sun: SS2 , LX , SS5 , SS10 , SS20 ,Ultra 1, Ultra 10 , T2000
Mac: Platinum Plus, SE/30

You can get the corrected tarball for ainebot-8.12 here:
http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/AmigoProjects/AI/bots/ainebot/ainebot-8.12a.tar.bz2

I only made three changes and the already-applied patch is included inside the sources.
1. removed the -fwritable-strings option from the flags in source/Makefile. As I mentioned this was only suppsoed to be need for the wxaine program, but I was able to compile and use the wxaine GUI just fine without it.

2. changed all the Makefiles to substitute -mcpu=i686
with -mtune=i686 This quitens some non-fatal warnings.

3. I also changed the incorrect version number in source/main.c so that the prompt shows the correct version.

I've done a lot of work on this program the last few days and will be uploading sources which have been further modified. I have also managed to convert some aiml data files to the aine format, using the included tools and hand editing.
The aine language syntax is simpler and shorter than regular aiml, but there is only one set of aine data to be found. You could indeed turn the bot into a help program or change its' personality, but it won't be trivial matter. Unfortunately ainebot is the only bot out there which is written in pure C. But I found a couple of others which are written in C++ which use regular aiml data files so they may provide a better way to extend the functionality. The two best ones seem to be the test app which comes with libaiml and j-alice. I've even found some old sources which incorporated j-alice into the miranda-ICQ program and a program called TalkBox which has a (pretty broken) GTK GUI frontend and is supposed to use the festival speech engine to have the bot talk to you.

I've been working on several speech-related programs lately and am quite interested in getting a talking bot working using the flite speech synthesizer and perhaps with speech recognition using pocket-sphynx. The ainebot also has an interesting cgi-bin server which I'd like to get going.

Most modern bots from active projects are using java or python, but I hate those bloated slow things, so I'd love to have any help from anyone who can code a bit of C or C++, knows how to setup cgi-bin programs, or can code GTK. Both ainebot and j-alice seem to be quite promising. j-alice can handle most tags in existing aiml data files, but ainebot has some unique features (like a happy/sad capability). To turn any of them into a help application or puppy-specific bot would require someone to learn to write the aiml or aine data files(the least of the problems, but most tedious).

thanks amigo! making the code easy to compile on gcc 4 may be worth bumping the version even though there is no real developer.... I guess you should add your name to the developer list even if you are not permanent. are you? I can code "a bit" but make that a very small bit....

to use cgi I think you need apache or another web server that supports cgi I think there is a special directory where you put cgi stuff bu that is a bout all i know....

glad you got a chance to work on making it a little smarter cause it's knowledge base is a little limited I think the version i uploaded says Puppy Linux is awesome if you ask it about Linux....try that..

I compiled pocket sphinx once but it is beyond me how to get good recognition with it...

flite is a no brainer though to compile... needs a female voice perhaps a custom voice or one from voxforge or mbrola and once again I don't know how to add mbrola support if only i have a time warp machine and could stop time long enough to finish all the stuff I wanna do._________________Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
X86: Sager NP6110 3630QM 16GB ram, Tyan Thunder 2 2x 300Mhz
Sun: SS2 , LX , SS5 , SS10 , SS20 ,Ultra 1, Ultra 10 , T2000
Mac: Platinum Plus, SE/30

OOHHH! Hot damn! Have a look at this screenshot. I got the cgi working using thttpd. Works in Opera and dillo both. Plus it shows your AppDir using rxvt and the wxaine interface as well -all on my super GTK-1.2 desktop.

The changes I made to aine for the tarball I uploaded don't deserve a version bump. The only change to a source file was to correct the version number which displays when it starts. But I have been making other changes and will up the version, etc when I get ready to release anything. I just did that minor fix for you benefit.
The project has been dead for a while -the original author dropped it about 5 years ago. So it's ripe for taking over on some basis -even as a fork. I'm really keen to get sound working. I also don't know how to get sphinx working yet - I think you have to read to it from it's dictionary or something to train it. I did recently ghet something else working fairly easily, though -the cvoicecontrol program which will run programs or scripts at your command. You just say the word three times and assign a command to it. But it only works for single words apparently.

I'm fortunate that i have lots of time -but I have lots of irons in the fire as I maintain a few hundred programs for my site and author a few as well. Hopefully we can get a few folks interested in collaborating on this.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum