Talk:Robocode/Mac OS X

From Robowiki
< Talk:Robocode
Revision as of 03:39, 11 May 2009 by Nat (talk | contribs) (heap size)
Jump to navigation Jump to search

The .bat files and .sh files are meant to start it up for you... I'm pretty sure you can get it to work without moving anything around. Try renaming the robocode.sh file to robocode.command. ".command" files are files that OS X recognizes as a double-clickable script. Then you can double click robocode.command, and it will run robocode for you. Let me know if that doesn't work... --BenHorner 00:00, 11 May 2009 (UTC)

If you run from Robocode.jar directly, let me warn you. Tde default java heap size is 128MB, which is too low. The default robocode bat/sh file set it to 512MB. The default heap size will surely give you OutOfMemoryError if you run a melee battle with Shadow,Tron,Aleph,SandboxDT,Logic,Phoenix,... They may fail even if you run just Shadow vs. SandboxDT, but I'm not sure. » Nat | Talk » 01:39, 11 May 2009 (UTC)