I've followed
http://julian.togelius.com/mariocompetition2009/gettingstarted.php
verbatim and im getting errors :
1. When i run "java ch.idsia.scenarios.Evolve" i get the error :
New Evolve phase with difficulty = 0 started.
Exception in thread "main" java.lang.NullPointerException
at ch.idsia.ai.agents.RegisterableAgent.getAgentByName
(RegisterableAgent.java:68)
at ch.idsia.utils.ParameterContainer.s(ParameterContainer.java:152)
at ch.idsia.mario.simulation.SimulationOptions.setAgent
(SimulationOptions.java:62)
at ch.idsia.scenarios.Evolve.main(Evolve.java:44)
2. When i run "java ch.idsia.scenarios.Evolve" and "java
ch.idsia.scenarios.Stats evolved.xml 0" i get the error
evolved.xml is not a class name; trying to load a wox definition with
that name.
java.io.FileNotFoundException: evolved.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at java.io.FileInputStream.<init>(FileInputStream.java:96)
at wox.serial.Easy.load(Easy.java:37)
at ch.idsia.ai.agents.RegisterableAgent.load(RegisterableAgent.java:
48)
at ch.idsia.scenarios.Play.main(Play.java:22)
Exception in thread "main" java.lang.NullPointerException
at ch.idsia.ai.agents.RegisterableAgent.registerAgent
(RegisterableAgent.java:29)
at ch.idsia.scenarios.Play.main(Play.java:23)
3. Running "java ch.idsia.tools.ToolsConfigurator" just gives me the
normal mario game to play with no "graphical user interface with a
number of options for running different agents".
"java
ch.idsia.scenarios.Play" and "ava
ch.idsia.scenarios.Play
ch.idsia.ai.agents.ai.ForwardAgent" work fine
Whats wrong?
Cheers
Chris