Custom Game Client for Mac Users == Updated: 3/15 10pmEST :

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

Re: Game Client for Mac Users: W5 Update attempt

Postby Phades » Tue Mar 15, 2011 8:33 pm

Ahh good. So it's a working Mac client. I can update the others to support Mac. Though, I prefer ender's client as he's active and updates his.
-Diadems of Odditown
Odditown loves you no matter what.
User avatar
Phades
 
Posts: 352
Joined: Tue Jan 25, 2011 9:07 pm

Re: Game Client for Mac Users: W5 Update ::Sucessful::

Postby Perakp » Tue Mar 15, 2011 9:12 pm

error message:

"The file "run.command" could not be executed because you do not have appropriate access privileges. To view or change access privileges, select the file in the Finder and choose File> Get Info."
Couldn't find any help in the get info screen. bleh
Perakp
 
Posts: 28
Joined: Sat Sep 25, 2010 8:07 pm

Re: Game Client for Mac Users: W5 Update ::Sucessful::

Postby Phades » Tue Mar 15, 2011 9:20 pm

Perakp wrote:error message:

"The file "run.command" could not be executed because you do not have appropriate access privileges. To view or change access privileges, select the file in the Finder and choose File> Get Info."
Couldn't find any help in the get info screen. bleh


You need to properly adjust your permissions to "rwx" via terminal. Please read this from apple: http://support.apple.com/kb/HT2963?viewlocale=en_US for complete details.

In short, you need to open Terminal and use this command:
chmod 755 run.command

I don't use or own a mac so I'm not sure if it requires the full path. If you are successful, please let me know what you typed so I can update the troubleshooter.
-Diadems of Odditown
Odditown loves you no matter what.
User avatar
Phades
 
Posts: 352
Joined: Tue Jan 25, 2011 9:07 pm

Re: Custom Game Client for Mac Users: W5 Update ::Sucessful::

Postby min_the_fair » Tue Mar 15, 2011 11:50 pm

The .command file ‘/Users/Min/Desktop/HnH/enderMac32/run.command’ could not open. Most likely it is not executable.


The content of the run.command is:
Code: Select all
cd Desktop/HnH/enderMac32/
java -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res


Running OS X.4.11 on an intel powerbook.
My Java versions are called J2SE 5.0 and J2SE 1.4.2, any idea if they're 32 or 64 bit or what?

Any ideas what's up / what obvious thing I'm missing?
User avatar
min_the_fair
 
Posts: 485
Joined: Sun Jan 30, 2011 11:45 pm

Re: Custom Game Client for Mac Users: W5 Update ::Sucessful::

Postby Ando » Tue Mar 15, 2011 11:57 pm

These instructions are unnecessarily hard.

1: You don't need to mess with Java Preferences.app. Just pass the -d32 flag.
2: You don't need to hardcode the location of the client. Unix command line goodness = cd `dirname "$0"`
3: A working run.command should probably be included in that download.


How about this:
I'll post a working client, and the bitchfest / flamwar can stop.
Feel free to mirror this or something: http://www.mediafire.com/?90tcfcf78x7c90l
User avatar
Ando
 
Posts: 25
Joined: Sun Apr 04, 2010 8:00 am

Re: Custom Game Client for Mac Users: W5 Update ::Sucessful::

Postby min_the_fair » Wed Mar 16, 2011 12:35 am

Terminal tells me:
Welcome to Darwin!
Computername:~ Min$ /Users/Min/Desktop/enderMac32/run.command; exit
Unrecognized option: -d32
Could not create the Java virtual machine.
logout
[Process completed]

Doesn't like your version either. But it seems to get further than the other one?

Edited to add -

As it didn't seem to like "-d32" I took that out of the run.command, and now it tells me
Exception in thread "Haven main thread" java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
at haven.Config.loadOptions(Config.java:210)
at haven.Config.<clinit>(Config.java:107)
at haven.MainFrame.main2(MainFrame.java:235)
at haven.MainFrame.access$100(MainFrame.java:34)
at haven.MainFrame$6.run(MainFrame.java:291)
at java.lang.Thread.run(Thread.java:613)
logout
[Process completed]


As I don't know what I'm doing I'll stop now.
User avatar
min_the_fair
 
Posts: 485
Joined: Sun Jan 30, 2011 11:45 pm

Re: Custom Game Client for Mac Users: W5 Update ::Sucessful::

Postby SeventhSandwich » Wed Mar 16, 2011 1:01 am

Ando wrote:These instructions are unnecessarily hard.

1: You don't need to mess with Java Preferences.app. Just pass the -d32 flag.
2: You don't need to hardcode the location of the client. Unix command line goodness = cd `dirname "$0"`
3: A working run.command should probably be included in that download.


How about this:
I'll post a working client, and the bitchfest / flamwar can stop.
Feel free to mirror this or something: http://www.mediafire.com/?90tcfcf78x7c90l

ALL HAIL ANDO
User avatar
SeventhSandwich
 
Posts: 56
Joined: Sun Jun 06, 2010 8:44 am

Re: Custom Game Client for Mac Users: W5 Update ::Sucessful::

Postby Ando » Wed Mar 16, 2011 1:17 am

min_the_fair wrote:As it didn't seem to like "-d32" I took that out of the run.command, and now it tells me
Exception in thread "Haven main thread" java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
at haven.Config.loadOptions(Config.java:210)
at haven.Config.<clinit>(Config.java:107)
at haven.MainFrame.main2(MainFrame.java:235)
at haven.MainFrame.access$100(MainFrame.java:34)
at haven.MainFrame$6.run(MainFrame.java:291)
at java.lang.Thread.run(Thread.java:613)
logout
[Process completed]


As I don't know what I'm doing I'll stop now.


You may have put the -d32 option in the wrong place. Don't tack it onto the end, put it at the beginning like so:
java -d32 -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res

The isEmpty() error probably means you need to run software update & get the latest version of java.
User avatar
Ando
 
Posts: 25
Joined: Sun Apr 04, 2010 8:00 am

Re: Custom Game Client for Mac Users: W5 Update ::Sucessful::

Postby Phades » Wed Mar 16, 2011 1:34 am

Ando wrote:These instructions are unnecessarily hard.

1: You don't need to mess with Java Preferences.app. Just pass the -d32 flag.
2: You don't need to hardcode the location of the client. Unix command line goodness = cd `dirname "$0"`
3: A working run.command should probably be included in that download.


How about this:
I'll post a working client, and the bitchfest / flamwar can stop.
Feel free to mirror this or something: http://www.mediafire.com/?90tcfcf78x7c90l


Good. I'm merely trying to get Mac users up and going with custom clients. Unfortunately, I don't own or use a Mac. So, it really is shooting in the dark in terms of getting it together. As stated in the beginning, this is experimental. I'm glad someone that has more experience with Mac is pitching in to help. I will update this based on your info.
-Diadems of Odditown
Odditown loves you no matter what.
User avatar
Phades
 
Posts: 352
Joined: Tue Jan 25, 2011 9:07 pm

Re: Custom Game Client for Mac Users: W5 Update ::Sucessful::

Postby min_the_fair » Wed Mar 16, 2011 1:43 am

You may have put the -d32 option in the wrong place.

No, when I ran your run.command without doing anything to it, Terminal told me that -d32 was an unrecognised command. This is probably something to do with me having an old computer? I dunno, if my brother ever stops mocking me he might just get round to setting up his old PC for me. EWWW. It's a desktop. Where am I going to find the space for a desk?!!1!
User avatar
min_the_fair
 
Posts: 485
Joined: Sun Jan 30, 2011 11:45 pm

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: No registered users and 3 guests