View Single Post
Old Jul 7th, 2011, 1:47:42 PM   #114
david stone
Fast-moving, smart, sexy and alarming.
is a Pokémon Researcheris a Contributor to Smogonis a Site Staff Alumnusis a Super Moderator Alumnusis a Smogon IRC AOp Alumnusis a Battle Server Moderator Alumnus
 
david stone's Avatar
 
Join Date: Aug 2005
Posts: 5,152
Default

I recently received a message from someone asking if they can help with Technical Machine, and this is what I sent them:

Technical Machine currently only runs on Pokemon Lab, but it can load team files from Pokemon Lab or Pokemon Online. I will be adding support for Pokemon Online soon, though. To battle, you must copy the entire log for the turn into the program. To make sure you get everything, copy from "Begin turn #x" to "=======..." and paste it into the program, then press enter, then enter a ~, then press enter again. I'll be adding a better way to input logs soon as well.

I have only compiled it on Linux using g++. I do not know how well or if it will compile on Windows using Microsoft Visual C++, or any other compiler. In theory there shouldn't be a problem because I have only used standard C++ in my code. If compiling on Linux, the process is very easy: simply open a terminal, navigate to your folder that Technical Machine is in, and then type:

make ai

or

make aio

ai will give you the debug version, aio will give you the optimized, full-speed version. Other options are make predict, make predicto, make rdc, and make rdco.
__________________
Previously obi.
Technical Machine, a Pokemon AI.
"Strategy without tactics is the slowest route to victory. Tactics without strategy is the noise before defeat." - Sun Tzu
david stone is offline