Games in Progress: 3 | Players logged in: 5 | Players Registered: 37413 | Games Played Total: 68649
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Playing on Mac OS?  (Read 649 times)
Keybounce
Prototype Tester
Mule Senior
****
Posts: 170


View Profile
« on: December 09, 2010, 03:43 »

The current version of Mule 2 will run (apparently) on Java 5, and Mac Os 10.5.8 seems to support it.

Until you see it complain about needing more memory. It tells me that my maximum memory size is 99 MB, and tells me how to raise it -- what options I need to give to Java.

But I can't find any way to raise the limit, or pass these arguments to the java applet.

Help? I know that Three Rings solved this by having a java app that launches another java app -- the second can have memory specifications passed to it. Is there any equivalent way that this could be done? If not, is it possible to download the .jar file so I can run it manually?
Logged
Peter
Turborilla
Administrator
Mule Expert
*****
Posts: 379


Planet M.U.L.E. Team


View Profile WWW
« Reply #1 on: December 16, 2010, 11:52 »

The Applet requests more memory, but only Java 6 and later versions allows parameters to be passed to Java. Easiest way to get it running would be to install a new version of Java.

To get it to work in Java 5 you must open your Java Control Panel and add the memory parameters yourself. On Mac OSX you can find this control panel in your Applications directory.

We will have to solve this before release, to make it simpler, but the above works for prototype testing.
« Last Edit: December 16, 2010, 11:55 by Peter » Logged

Keybounce
Prototype Tester
Mule Senior
****
Posts: 170


View Profile
« Reply #2 on: December 18, 2010, 01:16 »

I did not see Java Control Panel, or Java anything, in Applications.
In Utilities, I did find Java Preferences, but it has no way for me to set applet memory settings or arguments.

Install a new version of Java? This is Os 10.5 -- there is no newer version of Java. Apple only made a newer version for i386 systems. At least they've said that in the future it will be up to Oracle to port, so maybe Java 7 will be back ported :-)
Logged
Peter
Turborilla
Administrator
Mule Expert
*****
Posts: 379


Planet M.U.L.E. Team


View Profile WWW
« Reply #3 on: December 20, 2010, 11:22 »

In "Java Preferences" on my Powerbook G4 (OS 10.4) with Java 5 (J2SE 5.0) there is a text area for "Java Applet Runtime Parameters". That's where the memory settings should be entered like this: -Xms150M -Xmx700M

I hope that helps.
« Last Edit: December 20, 2010, 11:25 by Peter » Logged

Keybounce
Prototype Tester
Mule Senior
****
Posts: 170


View Profile
« Reply #4 on: December 20, 2010, 21:55 »

Sadly, no; controlling Java and the settings changed from 10.4 to 10.5.

Can you identify which plist file changes, and what the change is?
Logged
Peter
Turborilla
Administrator
Mule Expert
*****
Posts: 379


Planet M.U.L.E. Team


View Profile WWW
« Reply #5 on: December 21, 2010, 14:58 »

Can you identify which plist file changes, and what the change is?

Sorry, but I don't have time to do that. There ought to be some general settigns for Java in the directory where it is installed, or you might reach some Applet settings from within Safari.

Please tell us if you find a way to fix this since it might help others as well.
Logged

Keybounce
Prototype Tester
Mule Senior
****
Posts: 170


View Profile
« Reply #6 on: January 10, 2011, 03:08 »

Sadly, no.

I did find out how to alter parameters -- if you click on a java version in Java preferences, then the "options" button will light up, and you can specify options.

But it has no effect -- the 99MB limit is still there.

EDIT: Just to verify, what I had as options was:

-Xms150M -Xmx700M
Logged
Peter
Turborilla
Administrator
Mule Expert
*****
Posts: 379


Planet M.U.L.E. Team


View Profile WWW
« Reply #7 on: January 10, 2011, 14:59 »

Sadly, no.

I did find out how to alter parameters -- if you click on a java version in Java preferences, then the "options" button will light up, and you can specify options.

But it has no effect -- the 99MB limit is still there.

EDIT: Just to verify, what I had as options was:

-Xms150M -Xmx700M

That looks right but maybe those options are not used for applets.

Anyway, we've made a Webstart version which you can try:
http://planetmule.com/applet/mule2.jnlp?v=1

Please tell us if that works better for you.
« Last Edit: January 11, 2011, 11:15 by Peter » Logged

Keybounce
Prototype Tester
Mule Senior
****
Posts: 170


View Profile
« Reply #8 on: January 12, 2011, 05:28 »

Alright, I got the webstart version to work. Missed the big test, but I do have the following to report:

1. There isn't a clear "start". When I created a new game, there was no indication of who else could join (no one, obviously, but that could have changed if people had joined). When I pressed my button on a bid of zero, I could not go back and bid more. Nor could I wait for someone else to join -- it just started.

In other words, there is not (currently) a difference between "I'm ready to play" and "game start", at least, not that's obvious.

2. When selecting workers: I selected one worker, and then the game started choosing a second worker for me.

3. I was asked to select workers before seeing the map -- that seems BAD. I should be able to see the map to see what I want to use.

4. Something that wasn't clear: You don't get to change your workers each round! You select them at the start of the game, and then you're stuck with them.

Bad, bad design concept: If you want to use the "Win land auction" worker, you have to select it before you find out if there are any land auctions that turn. That means you risk increasing your food costs for nothing.

Oh yea: A one player game does work. Land is cheap :-).
Logged
Pages: [1]
  Print  
 
Jump to: