Skip to content

Troubleshooting \ Additional Setup

xander-haj edited this page Oct 15, 2022 · 3 revisions

macOS

create an .app for zelda3 after compiling instead of through the terminal

Step 1: Download this .command file and place it somewhere that you won't move it, I chose the Applications folder since that's where I'm putting the app itself as well (the app will stop working if you move the command file). [Alternatively you can make it yourself if you want in textedit since it's just 2 lines of code]

 cd zelda3  
 ./zelda3

Step 2: Launch Automator and create a new application
Step2 copy

Step 3: Drag the zelda3.command file into the box, then type open into the search box and drag "Open Finder Items" into the box.
Step3

Step 4: On the "Open Finder Items" section, select the "Open with" dropdown and choose "Other...", then scroll down to Utilities and select Terminal.
Step4 copy

Step 5: Go to File, Save or Press Command+S and save the app wherever you want, I chose Applications. Make sure the File Format is an Application.
Step5 copy

Step 6: The app will be saved but it will have the generic Automator Icon. To change it to whatever you want, right click on the app and choose "Get Info". Then, convert any image to an ICNS file and drag it on top of the Automator Icon to change it. Congrats, you're done and now have a .app file to run zelda3 with instead of manually having to use Terminal!
Step6 copy
Switch Port Icon (Credit to KiritoDV)
Server Icon (Credit to Goodly)
Instructions Provided by Marshtomp