The forum has been archived
While the forum may not be active, the community still lives on Discord! Click here to join us.

How to bypass the launcher for Atmosphir on Mac!

General discussion about Atmosphir.
Post Reply
User avatar
zardini001
Member
Posts: 89
Joined: June 13th, 2014, 7:54 pm
Design Competitions Voted: 1

How to bypass the launcher for Atmosphir on Mac!

Post by zardini001 »

So far nobody has made a tutorial on how to skip the annoying launcher for Mac, so I decided to make one.

Here are the steps:
Spoiler
Before starting, make sure you have the most recent version of Atmosphir in your Applications folder.

Step 1: The script

Step 1A: Open up AppleScript Editor. You can search for it via Spotlight Search, or go to the application directly at this path:Applications/Utilities/Script Editor.app
Image

Step 1B: Upon opening the editor, a blank AppleScript should be there for you to write the code on.
Here is the code:

Code: Select all

set appleScriptPath to POSIX path of ((path to me as text) & "::")
set appName to name of me
set atmosphirExecutable to appleScriptPath & appName & ".app/Contents/Atmosphir.app/Atmosphir.app/Contents/MacOS/Atmosphir"

tell application "Terminal"
	do script atmosphirExecutable & " standalone"
end tell
Save the document to wherever you want except Applications for now. Once it saves, it should look like this:
Image

Step 2: Export Script to Application

Step 2A: Go to File > Export... and export as a Application, and export it to Applications. Name it "Atmosphir Launcher Bypass" or something you like. We will be changing the name later.
Image

Step 2B: Find your original Atmosphir application, and copy it.

Step 2C: Go to your exported script (which should be in Applications). Right click it, and press "Show Package Contents." Paste your copied Atmosphir into the Contents folder.

Step 2D: Remove the original Atmosphir.app from Applications.

Step 2E: Rename your "Atmosphir Launcher Bypass" application to just "Atmosphir".

Congratulations! You now have a Atmosphir that doesn't take 50 seconds to start! Upon launching the new Atmosphir.app you created, Terminal will launch, and then will launch the real Atmosphir but with the launcher bypassed.

Right now your newly created Atmosphir.app doesn't have the Atmosphir icon, so lets fix that.

Step 3: Fix Icon

Step 3A: Right click your newly created Atmosphir.app and press "Show Package Contents", then follow these steps:
  • Cotents
    Right click Atmosphir.app and press "Show Package Contents"
    Right click Atmosphir.app and press "Show Package Contents"
    Cotents
    Resources
Once you are there, copy file "UnityPlayer.icns"

Step 3B: Go BACK to Applications, right click your newly created Atmosphir.app and press "Show Package Contents", then go to Content/Resources and paste the "UnityPlayer.icns" in there.

Step 3C: Delete "applet.icns" and rename "UnityPlayer.icns" to "applet.icns"

The icon fix will not be applied immediately. Force quitting Finder or restarting your computer should apply the change.

Congratulations! Now you have a Atmosphir that works and looks sexy as heck. Good job.
Once you have read through the steps, you may be wondering, "why the hell is there so many steps?" Well, you could just have that original script we made in Step 1 but not compile it into a app, and just run the script every time you want to open Atmosphir. Exporting the script as a Application makes things even easier when opening Atmosphir. You only have 1 file to manage instead of 2, and all you have to do is double click, and BAM. Atmosphir is open.
User avatar
Wowfunhappy
Administrator
Posts: 958
Joined: September 30th, 2012, 12:46 pm

Re: How to bypass the launcher for Atmosphir on Mac!

Post by Wowfunhappy »

Geez, I need to integrate this into the launcher.
Post Reply