mage icon indicating copy to clipboard operation
mage copied to clipboard

BETA Client doesn't start on MacOS

Open Mickrange opened this issue 3 years ago • 8 comments

I've been playing xMage on the first versions of the client for many many years until now. There are just too few players on the German server for example.

They told me to get the BETA where new cards are still added. I downloaded the client, unzipped it and tried to launch the launcher. But nothing happened (I waited 3-4 hours). Why? I can still launch the old client but not the BETA one. Do I have to change something else, too? Got the newest JAVA so I don't know what to do...

Mickrange avatar Jul 21 '22 08:07 Mickrange

If you see empty screen then try to disable autoconnection (instruction). Or disable it in main client (beta uses same settings).

JayDi85 avatar Jul 21 '22 10:07 JayDi85

How did you try running the launcher?

Alex-Vasile avatar Jul 21 '22 11:07 Alex-Vasile

I just started it by double clicking the .jar, Same as i do it for years with the other one. I don’t See anything besides the Java Symbol in my Launchbar

Mickrange avatar Jul 21 '22 12:07 Mickrange

I also primarily use my Mac, and that approach has never worked for me. I always need to launch it from the terminal with java -jar XMageLauncher-0.3.8.jar.

I found the following command that does seem to get the launcher working from double click, or at least gives you something to double click. Open up your terminal in the folder with the launcher and running the following 3 commands in order: 1.

cat > header-template <<"EOF"
#!/bin/sh

exec java -jar $0 "$@" > /dev/null

EOF
cat header-template "XMageLauncher-0.3.8.jar" > "XmageLauncher"
chmod +x "XmageLauncher"

from: https://apple.stackexchange.com/questions/65128/how-do-i-run-a-jar-when-i-double-click-it

Alex-Vasile avatar Jul 21 '22 17:07 Alex-Vasile

Trying this out, but I see a problem with having two actual XMage Launchers right now with the same name. How do I make my Mac open the Beta and not the "normal" one. And it says "there is no such file" after the second step.

Mickrange avatar Jul 22 '22 08:07 Mickrange

Trying this out, but I see a problem with having two actual XMage Launchers right now with the same name. How do I make my Mac open the Beta and not the "normal" one.

I keep the beta and the non-beta in completely separate folders.

And it says "there is no such file" after the second step.

You have to change "XMageLauncher-0.3.8.jar" to whatever you have named your launcher .jar.

Alex-Vasile avatar Jul 22 '22 16:07 Alex-Vasile

I changed the name to xmageBETA.jar, then i did as you instructed. It still says, there is no such file. And i tried it several times hoping to find a spelling mistake....

What does it mean, to open the terminal inside the folder? i click on terminal while the folder is open, or is there any other specific thing i have to do?

Mickrange avatar Aug 03 '22 06:08 Mickrange

I changed the name to xmageBETA.jar, then i did as you instructed. It still says, there is no such file. And i tried it several times hoping to find a spelling mistake....

If you renamed the launcher to xmageBETA.jar then make sure to change the command for step 2. so that it uses "xmageBETA.jar" instead of "XMageLauncher-0.3.8.jar" (including quotation marks).

What does it mean, to open the terminal inside the folder? i click on terminal while the folder is open, or is there any other specific thing i have to do?

When you open a terminal, it will open inside a folder. But that folder won't be the XMage folder, it's be your user folder `"Drive\Users\username". You need to navigate in the terminal so that you're inside the XMage folder. The easiest way is right-click on your main XMage folder, select "Services" at the very bottom, and select "New Terminal at Folder". Then you should be able to copy and paste the commands into the terminal.

Alex-Vasile avatar Aug 05 '22 15:08 Alex-Vasile

I changed the name to xmageBETA.jar, then i did as you instructed. It still says, there is no such file. And i tried it several times hoping to find a spelling mistake....

If you renamed the launcher to xmageBETA.jar then make sure to change the command for step 2. so that it uses "xmageBETA.jar" instead of "XMageLauncher-0.3.8.jar" (including quotation marks).

What does it mean, to open the terminal inside the folder? i click on terminal while the folder is open, or is there any other specific thing i have to do?

When you open a terminal, it will open inside a folder. But that folder won't be the XMage folder, it's be your user folder `"Drive\Users\username". You need to navigate in the terminal so that you're inside the XMage folder. The easiest way is right-click on your main XMage folder, select "Services" at the very bottom, and select "New Terminal at Folder". Then you should be able to copy and paste the commands into the terminal. xMageErrorUpload Thanks for everyone trying to help me but I really feel like a damn dog tapping his toes on the keyboard... I added the Terminal message as a png. I don't know what to do... I just wanna play the game...

Mickrange avatar Aug 18 '22 09:08 Mickrange

Alright, try these steps as they are simple:

  1. Open Finder and navigate to wherever you saved the folder containing the beta (from screenshot it looks like Documents/Magic/xMage\ BETA)
  2. You xmage beta install is in mage-full_1.4.51-dev_2022-06-24_13-37.
  3. Open a terminal
  4. Type "cd " (that's the letters c d and a space)
  5. Drag your xmage beta install (the folder mage-full_1.4.51-dev_2022-06-24_13-37) into the terminal window. (this will copy the path to it and put it into your terminal)
  6. Hit enter in your terminal
  7. Go back to Finder and open the mage-full_1.4.51-dev_2022-06-24_13-37 folder
  8. Find the file run-LAUNCHER.cmd and drag that into your terminal
  9. Hit enter

Alex-Vasile avatar Aug 20 '22 12:08 Alex-Vasile

Alright, try these steps as they are simple:

  1. Open Finder and navigate to wherever you saved the folder containing the beta (from screenshot it looks like Documents/Magic/xMage\ BETA)
  2. You xmage beta install is in mage-full_1.4.51-dev_2022-06-24_13-37.
  3. Open a terminal
  4. Type "cd " (that's the letters c d and a space)
  5. Drag your xmage beta install (the folder mage-full_1.4.51-dev_2022-06-24_13-37) into the terminal window. (this will copy the path to it and put it into your terminal)
  6. Hit enter in your terminal
  7. Go back to Finder and open the mage-full_1.4.51-dev_2022-06-24_13-37 folder
  8. Find the file run-LAUNCHER.cmd and drag that into your terminal
  9. Hit enter

Thanks for your language! I am a bloody beginner regarding terminal things. It says permission denied after I hit enter in step 9.

Mickrange avatar Aug 24 '22 08:08 Mickrange

Thx everyone for trying to help me. This issue made me buy a mtgo collection in the end...

Mickrange avatar Sep 29 '22 12:09 Mickrange

Alright, try these steps as they are simple:

  1. Open Finder and navigate to wherever you saved the folder containing the beta (from screenshot it looks like Documents/Magic/xMage\ BETA)
  2. You xmage beta install is in mage-full_1.4.51-dev_2022-06-24_13-37.
  3. Open a terminal
  4. Type "cd " (that's the letters c d and a space)
  5. Drag your xmage beta install (the folder mage-full_1.4.51-dev_2022-06-24_13-37) into the terminal window. (this will copy the path to it and put it into your terminal)
  6. Hit enter in your terminal
  7. Go back to Finder and open the mage-full_1.4.51-dev_2022-06-24_13-37 folder
  8. Find the file run-LAUNCHER.cmd and drag that into your terminal
  9. Hit enter

Thanks for your language! I am a bloody beginner regarding terminal things. It says permission denied after I hit enter in step 9.

before step 8, type "chmod +x " (including the space at the end). Then do 8 and 9. (this is a one time thing).

Then do 8 and 9 again.

Alex-Vasile avatar Sep 30 '22 03:09 Alex-Vasile

Thx everyone for trying to help me. This issue made me buy a mtgo collection in the end...

Sorry to hear that :/

Alex-Vasile avatar Sep 30 '22 03:09 Alex-Vasile