Codesize

Jump to navigation Jump to search
Revision as of 2 February 2013 at 16:03.
The highlighted comment was created in this revision.

Hi,

I decided to try using Eclipse after my Robot Editor started crashing every other time I compiled. I followed the Eclipse tutorials and everything is working alright, but I haven't figured out where to find the Codesize of the robot I just compiled.

Thanks

    Sheldor15:28, 2 February 2013

    I tried downloading the code size utility, but the link on the wiki didn't work for me. As a backup, you can always add your workspace project folder under Options -> Preferences -> Development Options in Robocode and use the Robot -> Package robot for upload option. That is what I do.

      Skotty15:42, 2 February 2013
       

      I actually still use the codesize.jar from an ancient version of Robocode, which I just uploaded here. Usage is like:

      java -jar ./robocode_1.07/codesize.jar robocode_1732/robots/voidious.Diamond_1.8.22.jar
      OR
      java -jar ./robocode_1.07/codesize.jar robocode_1732/robots/voidious/mini/*.class
      

      There used to be a newer codesize.jar with Robocode, but I never got it to work smoothly from the command line like this.

        Voidious16:05, 2 February 2013
         

        I think the old codesize can also be used as part of an ant script. Which can be very helpful.

          Chase17:03, 2 February 2013