energymech/README

121 lines
4.1 KiB
Plaintext
Raw Normal View History

2014-03-08 20:54:42 -05:00
,-----------------------------------------------------------------.
| ,-----; ,------, ,-----; ,-------, ,----, , ,-. |
| / ,---' | ,. \ / ,---' | ,--, \ / ,-. \ /| | \ |
| | |___ | | \ \ | |___ | |__| ;| | `~' / | | | |
| | ,--' | | | || ,--' | |--; < | | ,--./ `-' | |
| | |__,-,| | | || |__,-,| | | || | \ |\___. | |
| | || | | || || | | || `~' | \ | |
| | || | | / | || | | / | | | | |
| `~~~~~`\/ `---' `/ `~~~~~`\/ `---' `/ `/~~~~~~' |,--' |
| ,---, ,---, ,-----; ,----. ,-. ,--. |
| | \ / | / ,---' / ,--' / | | | |
| | \/ || |___ | | | |__| | |
| | |\ /| || ,--' | | | ,--. | |
| | | \/ | || |__,-,| | /|| | | | |
| | | | || || `--' || | | | |
| | | | || || || | | / |
| `---' `---'`~~~~~`\/ `\___/~~~'`---' `/ |
`-----------------------------------------------------------------'
2014-03-08 19:56:21 -05:00
Compiling?
~~~~~~~~~~
To compile the source:
2014-03-08 20:59:42 -05:00
1) git clone https://github.com/MadCamel/energymech.git
-- If you don't have git you can still download the source:
wget http://github.com/MadCamel/energymech/archive/master.tar.gz
tar xvf master.tar.gz
2014-03-08 19:56:21 -05:00
2014-03-08 20:54:42 -05:00
2) cd energymech
2014-03-08 19:56:21 -05:00
-- Since you are reading this file, you have most likely already
come to this point.
3) ./configure
-- This script will prompt you for features to include or exclude,
going with the default is not a bad idea.
If you want to cross compile export the prefix of your toolchain:
export CROSS_COMPILE="armv7a-hardfloat-linux-gnueabi-"
2014-03-08 19:56:21 -05:00
4) make clean install
2018-04-02 18:33:49 +02:00
-- On a modern multi-core cpu, you can run make with the appropriate
-j switch to shave off a few seconds of compile time.
For example:
``make -j4'' for a 4 core cpu system.
2014-03-08 19:56:21 -05:00
If all went well you should now have an executable called
``energymech''.
---*---
Setup?
~~~~~~
Read the sample.conf file to get an idea of the config file
commands and then try to make your own. A basic setup doesnt need
2018-03-10 02:55:07 +01:00
much more than NICK, SET ALTNICK, SET USERFILE, JOIN and SERVER
entries, the rest is mostly just tweaks of default values.
2014-03-08 19:56:21 -05:00
Quick steps:
1) cp sample.conf mech.conf
2018-03-10 02:55:07 +01:00
2) edit mech.conf
-- replace ''edit'' with your favourite text editor, look through
2014-03-08 19:56:21 -05:00
the file for sections to change, you will have to remove lines
in order to get the bot to work. Check the file completely!
2014-03-08 19:56:21 -05:00
3) make a userfile
construct a temporary file (trick.conf) containing;
---------------------------------------------------------------
set userfile whateveryouwanttonameit
user + handle * *!*yourident@*.yourdomain.com 100 password
save
shutdown
---------------------------------------------------------------
then 'run' this file with './energymech -f trick.conf'. this
will create a userfile with the name you chose ('mech.passwd'
2018-03-10 02:55:07 +01:00
is a good descriptive name which I often use myself).
2014-03-08 19:56:21 -05:00
re-use the filename you selected in your proper configuration
file. and remember to 'rm -f mech.session' if you compiled your
energymech with session support.
2014-03-08 19:56:21 -05:00
4) ./energymech
That should get you running. If you don't see your bot come on IRC
after a few minutes, you should try running the bot in debug mode
to see what's going on with...
./energymech -d
If you get an 'Unknown option -d', you need to answer 'Y' to debug
support when running ./configure from the compiling section above.
2018-04-02 18:33:49 +02:00
Or run with ``./configure --with-debug''.
2014-03-08 19:56:21 -05:00
---*---
Updated Files?
~~~~~~~~~~~~~~
2018-03-26 01:52:24 +02:00
The main distribution site for the EnergyMech is:
2014-03-08 19:56:21 -05:00
2018-03-10 02:55:07 +01:00
https://github.com/MadCamel/energymech
2018-04-04 06:04:58 +02:00
Extra files for users of EnergyMech can be found at:
https://github.com/joonicks/energymech-extra
2018-03-10 02:55:07 +01:00
Files, documentation and tips can be found at:
2014-03-08 19:56:21 -05:00
http://www.energymech.net
---*---
THIS SOFTWARE IS PROVIDED AS IS. YOU ARE ENTIRELY ON YOUR OWN WHEN
IT COMES TO CONFIGURING AND USING IT.
---*---
2018-04-04 06:04:58 +02:00
proton, April 3rd, 2018.