Did any one noticed the FPS drop in robocode >1.7.3.0?
Fragment of a discussion from Talk:EvBot
Jump to navigation
Jump to search
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.
Skilgannon (talk)
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.
Skilgannon (talk)
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
Skilgannon (talk)
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.