Advertisement

Introduce a testbed for test your AI in commercial game...(Fighting game)

Started by August 06, 2006 09:24 AM
2 comments, last by cp25stack 18 years, 3 months ago
AI-TEM, My work is about making testbed that base on emulator and ROMS. In this prototype version, it design for using with VBA (GBA emulator) with Street Fighter Zero3 game. So user of it can could make AI to control character in STZ3 game. I hope it will be a new way to test, learn or develop AI for game developer, researcher or everyone that interesting. Here is my site http://www.cp.eng.chula.ac.th/~g48wth/aitem.htm Please see the site for more detail.
Ooo, that looks really cool! Although finding memory references is a bit too tedious for my attention span. I'd find it easier if there were some sort of wrapper for the game under testing. It'd be cool to write a script that evolves an ai to play the game, the inputs would be the players position, health, and win conditions, and the outputs simply controller button presses. With a computer's raw power, you could evolve some pretty interesting stratagies. *wonders if lemmings was made for the gba*
Advertisement
Impressive work !

For your issue with errors in python, you have to redirect the python error out to whatever you want.

I do call this python 'Redirection' function just after python init :
class Redirect:    def write(self, s):        PG_Intern_Error.PrintError(s)def Redirection():	sys.stderr = sys.stdout = Redirect()

Where PG_Intern_Error.PrintError(s) is my C function that can display the error.


Hope it helps,


Emmanuel
hi, thanks for your interesting and comment.

"wonders if lemmings was made for the gba"
seeing this sentence make me think of some thesis that i ever read
"Scripting the Game of Lemmings with a Genetic Algorithm"
(http://www.cs.nott.ac.uk/~kts/Research/CEC04.pdf)
That work is one of my inspration to do this testbed too.
However so sorry that no Lemming on GBA.
But you may adapt this concept with another EMU that has Lemming such as ZNES (SNES).


And thank so much for your suggestion Emmanuel77
That point is one of my major problem, i will try to use your method to fix it.

This topic is closed to new replies.

Advertisement