AmiCoPyJava

64 views
Skip to first unread message

River

unread,
Nov 2, 2011, 4:00:19 PM11/2/11
to Mario Competition
Hello,

I am hoping to use Mario AI for a school project and wanted to program
the agent in Python. I am having difficulty getting started. I am
working in Windows Vista.

When I try and run DemoForwardJumpingAgent.py (same applies to
DemoForwardAgent.py),

loadName = find_library(name)

is returning None. This causes libamico = ctypes.CDLL(loadName) to
crash.

if you change

libamico = ctypes.CDLL('AmiCoPyJava.dll')

it continues a bit further until it crashes at

obs = getEntireObservation(1, 0)

With the error being that getEntireObservation is trying to access
0x00000000.

Any help is appreciated. Thanks.

P.S. I tried running this on Ubuntu and libAmiCoPyJava.so does seem to
be included.
Reply all
Reply to author
Forward
0 new messages