Did any one noticed the FPS drop in robocode >1.7.3.0?
I see that my FPS is much smaller for robocode newer than 1.7.3.0. It is actually as slow as 15 FPS, while in robocode v1.7.3.0 on the same machine I was getting close to 50FPS. This make graphical debug quite painful, and forces me to use old robocode 1.7.3.0 which is suboptimal, since rumbles run with 1.8.2 and 1.8.3.
What system are you running on? I know some of the OpenJDK stuff needs to have the OpenGL manually inserted into the startup scripts, and this was causing crashes on some systems so it was removed.
I am running Linux debian stable. Is it possible to put OpenGL back via config file edits or similar?
If you copy the robocode.sh file from 1.7.3.0 it should have the opengl arguments in it.
it seems that these files are identical
#!/bin/sh pwd=`pwd` cd "${0%/*}" java -Xmx512M -cp libs/robocode.jar robocode.Robocode $* cd "${pwd}"
so it something else
Thanks a lot for the hint. Running robocode as
java -Xmx512M -Dsun.java2d.opengl=True -cp libs/robocode.jar robocode.Robocode $*
boosted FPS to reasonable 30. But it strange that old client which does not have this line still outperform new one in term of FPS.
Also correction it was not robocode v1.7.3 it is rumble-1.7.3.0 but I guess it based on the same version of robocode.