From e1e3246b2660401cf6d9a4694a1a9c168ad9a5d9 Mon Sep 17 00:00:00 2001 From: Rohan <73246001+RohanBhattacharyya@users.noreply.github.com> Date: Sat, 6 Jul 2024 17:23:58 -0700 Subject: [PATCH 01/14] Update README.md --- README.md | 38 +++++++++++++++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ce10160..9ceaffa 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ It is still **work-in-progress**. ## Installation You can download a nightly build below, or the [latest release](https://github.com/OpenStarbound/OpenStarbound/releases/latest). At the moment, you must copy the game assets (**packed.pak**) from your normal Starbound install to the OpenStarbound assets directory before playing. -An installer is available for Windows. otherwise, extract the client/server zip for your platform and copy the game assets (packed.pak) to the OpenStarbound assets folder. the macOS releases currently lack the sbinit.config and folder structure that the Linux & Windows zips have, so you'll need to create those before running them. +An installer is available for Windows. otherwise, extract the client/server zip for your platform and copy the game assets (packed.pak) to the OpenStarbound assets folder. the macOS releases currently lack the sbinit.config and folder structure that the Linux & Windows zips have, so you'll need to create those before running them. For macOS releases, it is recommended to build them from source (See guide below). ### Nightly Builds These link directly to the latest build from the [Actions](https://github.com/OpenStarbound/OpenStarbound/actions?query=branch%3Amain) tab. @@ -199,6 +199,38 @@ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" padsp ./starbound "$@"` +
+macOS + +* First, you will need to have brew install. Check out how to install [Homebrew](https://brew.sh/) +* Next, install vcpkg. + * Run ` cd ~`. This is just so that everything is local to here. + * Run ` git clone https://github.com/microsoft/vcpkg.git ` + * Run `cd vcpkg && ./bootstrap-vcpkg.sh` + * Lastly, run ``` export VCPKG_ROOT=~/vcpkg +export PATH=$VCPKG_ROOT:$PATH ``` + * This last command makes vcpkg added to the current terminal path. This lasts only while the terminal is only, and will have to be rerun. +* Install cmake using `brew install cmake` +* Install ninja using `brew install ninja` +* Download the source code [here](https://github.com/OpenStarbound/OpenStarbound/archive/refs/heads/main.zip). This is the current code in main. Unpack the code to your downloads folder. +* Unpack the zip, and open it up. Navigate to OpenStarbound-main/source using the terminal -> `cd ~/Downloads/OpenStarbound-main`. Then navigate to the source folder, using `cd source`. +
+ If using ARM + * While in the source folder in your terminal, run ` cmake --preset macos-arm-release `. This will get dependencies. + * After that command has finished, run ` cmake --build --preset macos-arm-release `. Wait for this to finish, then go to Finder. Navigate to the OpenStarbound-main folder using Finder. + * There will be a folder called dist. Inside dist will be your game files, but you still need to do a few more things to run it. + * First, in the OpenStarbound-main folder, there will be lib. Open lib, and open the osx folder. Inside is libsteam_api.dylib. Copy this file, and paste it into OpenStarbound-main/dist, so that it is in the same directory as the game files. + * Navigate back to OpenStarbound-main/lib/osx, and open up the folder arm64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. + * You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps. +
+
+ If using Intel + * While in the source folder in your terminal, run ` cmake --preset macos-release `. This will get dependencies. + * After that command has finished, run ` cmake --build --preset macos-release `. Wait for this to finish, then go to Finder. Navigate to the OpenStarbound-main folder using Finder. + * There will be a folder called dist. Inside dist will be your game files, but you still need to do a few more things to run it. + * First, in the OpenStarbound-main folder, there will be lib. Open lib, and open the osx folder. Inside is libsteam_api.dylib. Copy this file, and paste it into OpenStarbound-main/dist, so that it is in the same directory as the game files. + * Navigate back to OpenStarbound-main/lib/osx, and open up the folder x64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. + * You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps. -### macOS -To be written. +
+
From b7ff17bb33369b1e03476d6beaf5e066b68b96ff Mon Sep 17 00:00:00 2001 From: Rohan <73246001+RohanBhattacharyya@users.noreply.github.com> Date: Sat, 6 Jul 2024 17:24:44 -0700 Subject: [PATCH 02/14] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9ceaffa..ea372c3 100644 --- a/README.md +++ b/README.md @@ -204,7 +204,7 @@ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" padsp ./starbound "$@"` * First, you will need to have brew install. Check out how to install [Homebrew](https://brew.sh/) * Next, install vcpkg. - * Run ` cd ~`. This is just so that everything is local to here. + * Run `cd ~`. This is just so that everything is local to here. * Run ` git clone https://github.com/microsoft/vcpkg.git ` * Run `cd vcpkg && ./bootstrap-vcpkg.sh` * Lastly, run ``` export VCPKG_ROOT=~/vcpkg From b2b56c7967843afc17281cb50b36e19b7e405a62 Mon Sep 17 00:00:00 2001 From: Rohan <73246001+RohanBhattacharyya@users.noreply.github.com> Date: Sat, 6 Jul 2024 17:25:30 -0700 Subject: [PATCH 03/14] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ea372c3..ccd3f44 100644 --- a/README.md +++ b/README.md @@ -202,7 +202,7 @@ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" padsp ./starbound "$@"`
macOS -* First, you will need to have brew install. Check out how to install [Homebrew](https://brew.sh/) +* First, you will need to have brew installed. Check out how to install [Homebrew](https://brew.sh/) * Next, install vcpkg. * Run `cd ~`. This is just so that everything is local to here. * Run ` git clone https://github.com/microsoft/vcpkg.git ` From 36e8d29ad4f0bdbb7a664fc19f35e029bd0d32b9 Mon Sep 17 00:00:00 2001 From: Rohan <73246001+RohanBhattacharyya@users.noreply.github.com> Date: Sat, 6 Jul 2024 17:29:04 -0700 Subject: [PATCH 04/14] Update README.md --- README.md | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ccd3f44..9efa4cd 100644 --- a/README.md +++ b/README.md @@ -216,21 +216,23 @@ export PATH=$VCPKG_ROOT:$PATH ``` * Unpack the zip, and open it up. Navigate to OpenStarbound-main/source using the terminal -> `cd ~/Downloads/OpenStarbound-main`. Then navigate to the source folder, using `cd source`.
If using ARM - * While in the source folder in your terminal, run ` cmake --preset macos-arm-release `. This will get dependencies. - * After that command has finished, run ` cmake --build --preset macos-arm-release `. Wait for this to finish, then go to Finder. Navigate to the OpenStarbound-main folder using Finder. - * There will be a folder called dist. Inside dist will be your game files, but you still need to do a few more things to run it. - * First, in the OpenStarbound-main folder, there will be lib. Open lib, and open the osx folder. Inside is libsteam_api.dylib. Copy this file, and paste it into OpenStarbound-main/dist, so that it is in the same directory as the game files. - * Navigate back to OpenStarbound-main/lib/osx, and open up the folder arm64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. - * You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps. + +* While in the source folder in your terminal, run ` cmake --preset macos-arm-release `. This will get dependencies. +* After that command has finished, run ` cmake --build --preset macos-arm-release `. Wait for this to finish, then go to Finder. Navigate to the OpenStarbound-main folder using Finder. +* There will be a folder called dist. Inside dist will be your game files, but you still need to do a few more things to run it. +* First, in the OpenStarbound-main folder, there will be lib. Open lib, and open the osx folder. Inside is libsteam_api.dylib. Copy this file, and paste it into OpenStarbound-main/dist, so that it is in the same directory as the game files. +* Navigate back to OpenStarbound-main/lib/osx, and open up the folder arm64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. +* You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps.
If using Intel - * While in the source folder in your terminal, run ` cmake --preset macos-release `. This will get dependencies. - * After that command has finished, run ` cmake --build --preset macos-release `. Wait for this to finish, then go to Finder. Navigate to the OpenStarbound-main folder using Finder. - * There will be a folder called dist. Inside dist will be your game files, but you still need to do a few more things to run it. - * First, in the OpenStarbound-main folder, there will be lib. Open lib, and open the osx folder. Inside is libsteam_api.dylib. Copy this file, and paste it into OpenStarbound-main/dist, so that it is in the same directory as the game files. - * Navigate back to OpenStarbound-main/lib/osx, and open up the folder x64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. - * You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps. + +* While in the source folder in your terminal, run ` cmake --preset macos-release `. This will get dependencies. +* After that command has finished, run ` cmake --build --preset macos-release `. Wait for this to finish, then go to Finder. Navigate to the OpenStarbound-main folder using Finder. +* There will be a folder called dist. Inside dist will be your game files, but you still need to do a few more things to run it. +* First, in the OpenStarbound-main folder, there will be lib. Open lib, and open the osx folder. Inside is libsteam_api.dylib. Copy this file, and paste it into OpenStarbound-main/dist, so that it is in the same directory as the game files. +* Navigate back to OpenStarbound-main/lib/osx, and open up the folder x64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. +* You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps.
From aff00139ff03f45dc3d62b72fb58444aa445a09b Mon Sep 17 00:00:00 2001 From: Rohan <73246001+RohanBhattacharyya@users.noreply.github.com> Date: Sat, 6 Jul 2024 17:30:19 -0700 Subject: [PATCH 05/14] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9efa4cd..4094171 100644 --- a/README.md +++ b/README.md @@ -203,7 +203,7 @@ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" padsp ./starbound "$@"` macOS * First, you will need to have brew installed. Check out how to install [Homebrew](https://brew.sh/) -* Next, install vcpkg. +* Next, install vcpkg by following the commands below. * Run `cd ~`. This is just so that everything is local to here. * Run ` git clone https://github.com/microsoft/vcpkg.git ` * Run `cd vcpkg && ./bootstrap-vcpkg.sh` From 03a6d4e8ed8bbb43c7624d6f9e9b4c0ca971a1df Mon Sep 17 00:00:00 2001 From: Rohan <73246001+RohanBhattacharyya@users.noreply.github.com> Date: Sat, 6 Jul 2024 17:32:31 -0700 Subject: [PATCH 06/14] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4094171..daec6af 100644 --- a/README.md +++ b/README.md @@ -209,7 +209,7 @@ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" padsp ./starbound "$@"` * Run `cd vcpkg && ./bootstrap-vcpkg.sh` * Lastly, run ``` export VCPKG_ROOT=~/vcpkg export PATH=$VCPKG_ROOT:$PATH ``` - * This last command makes vcpkg added to the current terminal path. This lasts only while the terminal is only, and will have to be rerun. + * This last command makes vcpkg added to the current terminal path. This lasts only while the terminal is active, and will have to be rerun for new terminal instances. * Install cmake using `brew install cmake` * Install ninja using `brew install ninja` * Download the source code [here](https://github.com/OpenStarbound/OpenStarbound/archive/refs/heads/main.zip). This is the current code in main. Unpack the code to your downloads folder. From 7fa270a3a7c700b504834ac709ba2e8f08d670f6 Mon Sep 17 00:00:00 2001 From: Rohan <73246001+RohanBhattacharyya@users.noreply.github.com> Date: Sat, 6 Jul 2024 17:34:11 -0700 Subject: [PATCH 07/14] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index daec6af..39c89ed 100644 --- a/README.md +++ b/README.md @@ -203,6 +203,8 @@ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" padsp ./starbound "$@"` macOS * First, you will need to have brew installed. Check out how to install [Homebrew](https://brew.sh/) +* Install cmake using `brew install cmake` +* Install ninja using `brew install ninja` * Next, install vcpkg by following the commands below. * Run `cd ~`. This is just so that everything is local to here. * Run ` git clone https://github.com/microsoft/vcpkg.git ` @@ -210,8 +212,6 @@ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" padsp ./starbound "$@"` * Lastly, run ``` export VCPKG_ROOT=~/vcpkg export PATH=$VCPKG_ROOT:$PATH ``` * This last command makes vcpkg added to the current terminal path. This lasts only while the terminal is active, and will have to be rerun for new terminal instances. -* Install cmake using `brew install cmake` -* Install ninja using `brew install ninja` * Download the source code [here](https://github.com/OpenStarbound/OpenStarbound/archive/refs/heads/main.zip). This is the current code in main. Unpack the code to your downloads folder. * Unpack the zip, and open it up. Navigate to OpenStarbound-main/source using the terminal -> `cd ~/Downloads/OpenStarbound-main`. Then navigate to the source folder, using `cd source`.
From 642b1b1426e2d73e52118e7c5468273972f88d8b Mon Sep 17 00:00:00 2001 From: Rohan <73246001+RohanBhattacharyya@users.noreply.github.com> Date: Sat, 6 Jul 2024 17:39:03 -0700 Subject: [PATCH 08/14] Update README.md --- README.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 39c89ed..2c550f2 100644 --- a/README.md +++ b/README.md @@ -214,25 +214,25 @@ export PATH=$VCPKG_ROOT:$PATH ``` * This last command makes vcpkg added to the current terminal path. This lasts only while the terminal is active, and will have to be rerun for new terminal instances. * Download the source code [here](https://github.com/OpenStarbound/OpenStarbound/archive/refs/heads/main.zip). This is the current code in main. Unpack the code to your downloads folder. * Unpack the zip, and open it up. Navigate to OpenStarbound-main/source using the terminal -> `cd ~/Downloads/OpenStarbound-main`. Then navigate to the source folder, using `cd source`. -
- If using ARM +
+ If using an Arm Mac -* While in the source folder in your terminal, run ` cmake --preset macos-arm-release `. This will get dependencies. -* After that command has finished, run ` cmake --build --preset macos-arm-release `. Wait for this to finish, then go to Finder. Navigate to the OpenStarbound-main folder using Finder. -* There will be a folder called dist. Inside dist will be your game files, but you still need to do a few more things to run it. -* First, in the OpenStarbound-main folder, there will be lib. Open lib, and open the osx folder. Inside is libsteam_api.dylib. Copy this file, and paste it into OpenStarbound-main/dist, so that it is in the same directory as the game files. -* Navigate back to OpenStarbound-main/lib/osx, and open up the folder arm64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. -* You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps. -
-
- If using Intel + * While in the source folder in your terminal, run ` cmake --preset macos-arm-release `. This will get dependencies. + * After that command has finished, run ` cmake --build --preset macos-arm-release `. Wait for this to finish, then go to Finder. Navigate to the OpenStarbound-main folder using Finder. + * There will be a folder called dist. Inside dist will be your game files, but you still need to do a few more things to run it. + * First, in the OpenStarbound-main folder, there will be lib. Open lib, and open the osx folder. Inside is libsteam_api.dylib. Copy this file, and paste it into OpenStarbound-main/dist, so that it is in the same directory as the game files. + * Navigate back to OpenStarbound-main/lib/osx, and open up the folder arm64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. + * You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps. +
+
+ If using an Intel Mac -* While in the source folder in your terminal, run ` cmake --preset macos-release `. This will get dependencies. -* After that command has finished, run ` cmake --build --preset macos-release `. Wait for this to finish, then go to Finder. Navigate to the OpenStarbound-main folder using Finder. -* There will be a folder called dist. Inside dist will be your game files, but you still need to do a few more things to run it. -* First, in the OpenStarbound-main folder, there will be lib. Open lib, and open the osx folder. Inside is libsteam_api.dylib. Copy this file, and paste it into OpenStarbound-main/dist, so that it is in the same directory as the game files. -* Navigate back to OpenStarbound-main/lib/osx, and open up the folder x64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. -* You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps. + * While in the source folder in your terminal, run ` cmake --preset macos-release `. This will get dependencies. + * After that command has finished, run ` cmake --build --preset macos-release `. Wait for this to finish, then go to Finder. Navigate to the OpenStarbound-main folder using Finder. + * There will be a folder called dist. Inside dist will be your game files, but you still need to do a few more things to run it. + * First, in the OpenStarbound-main folder, there will be lib. Open lib, and open the osx folder. Inside is libsteam_api.dylib. Copy this file, and paste it into OpenStarbound-main/dist, so that it is in the same directory as the game files. + * Navigate back to OpenStarbound-main/lib/osx, and open up the folder x64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. + * You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps. -
+
From 457e6805b6440a70151dfbcddc0af750c7ac69b1 Mon Sep 17 00:00:00 2001 From: Rohan <73246001+RohanBhattacharyya@users.noreply.github.com> Date: Sat, 6 Jul 2024 17:45:48 -0700 Subject: [PATCH 09/14] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2c550f2..73ea185 100644 --- a/README.md +++ b/README.md @@ -222,6 +222,7 @@ export PATH=$VCPKG_ROOT:$PATH ``` * There will be a folder called dist. Inside dist will be your game files, but you still need to do a few more things to run it. * First, in the OpenStarbound-main folder, there will be lib. Open lib, and open the osx folder. Inside is libsteam_api.dylib. Copy this file, and paste it into OpenStarbound-main/dist, so that it is in the same directory as the game files. * Navigate back to OpenStarbound-main/lib/osx, and open up the folder arm64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. + * Grab the packed.pak file from your current Starbound install. It will be located in the assets folder. Copy that file into OpenStarbound-main/assets. * You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps.
@@ -232,6 +233,7 @@ export PATH=$VCPKG_ROOT:$PATH ``` * There will be a folder called dist. Inside dist will be your game files, but you still need to do a few more things to run it. * First, in the OpenStarbound-main folder, there will be lib. Open lib, and open the osx folder. Inside is libsteam_api.dylib. Copy this file, and paste it into OpenStarbound-main/dist, so that it is in the same directory as the game files. * Navigate back to OpenStarbound-main/lib/osx, and open up the folder x64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. + * Grab the packed.pak file from your current Starbound install. It will be located in the assets folder. Copy that file into OpenStarbound-main/assets. * You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps.
From 7123d7a3a70444d3e86936c253c7a5ed041072a2 Mon Sep 17 00:00:00 2001 From: Rohan <73246001+RohanBhattacharyya@users.noreply.github.com> Date: Sat, 6 Jul 2024 19:05:23 -0700 Subject: [PATCH 10/14] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 73ea185..b0a673e 100644 --- a/README.md +++ b/README.md @@ -209,8 +209,7 @@ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" padsp ./starbound "$@"` * Run `cd ~`. This is just so that everything is local to here. * Run ` git clone https://github.com/microsoft/vcpkg.git ` * Run `cd vcpkg && ./bootstrap-vcpkg.sh` - * Lastly, run ``` export VCPKG_ROOT=~/vcpkg -export PATH=$VCPKG_ROOT:$PATH ``` + * Lastly, run ``` export VCPKG_ROOT=~/vcpkg && export PATH=$VCPKG_ROOT:$PATH ``` * This last command makes vcpkg added to the current terminal path. This lasts only while the terminal is active, and will have to be rerun for new terminal instances. * Download the source code [here](https://github.com/OpenStarbound/OpenStarbound/archive/refs/heads/main.zip). This is the current code in main. Unpack the code to your downloads folder. * Unpack the zip, and open it up. Navigate to OpenStarbound-main/source using the terminal -> `cd ~/Downloads/OpenStarbound-main`. Then navigate to the source folder, using `cd source`. From 5f9e2338e44317427e6942ebdf85c210203bf3a4 Mon Sep 17 00:00:00 2001 From: Rohan <73246001+RohanBhattacharyya@users.noreply.github.com> Date: Sat, 6 Jul 2024 19:09:31 -0700 Subject: [PATCH 11/14] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b0a673e..417afd4 100644 --- a/README.md +++ b/README.md @@ -205,6 +205,7 @@ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" padsp ./starbound "$@"` * First, you will need to have brew installed. Check out how to install [Homebrew](https://brew.sh/) * Install cmake using `brew install cmake` * Install ninja using `brew install ninja` +* Install pkg config using `brew install pkg-config` * Next, install vcpkg by following the commands below. * Run `cd ~`. This is just so that everything is local to here. * Run ` git clone https://github.com/microsoft/vcpkg.git ` From 6aef6a719c081f028ef8acaa0d54d48e7f59695b Mon Sep 17 00:00:00 2001 From: Rohan <73246001+RohanBhattacharyya@users.noreply.github.com> Date: Sat, 6 Jul 2024 19:13:35 -0700 Subject: [PATCH 12/14] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 417afd4..428dc01 100644 --- a/README.md +++ b/README.md @@ -223,6 +223,7 @@ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" padsp ./starbound "$@"` * First, in the OpenStarbound-main folder, there will be lib. Open lib, and open the osx folder. Inside is libsteam_api.dylib. Copy this file, and paste it into OpenStarbound-main/dist, so that it is in the same directory as the game files. * Navigate back to OpenStarbound-main/lib/osx, and open up the folder arm64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. * Grab the packed.pak file from your current Starbound install. It will be located in the assets folder. Copy that file into OpenStarbound-main/assets. + * Make a new file called sbinit.config (Make sure it is .config, not .somethingelse), and copy and paste in the sbinit.config text from above, located right underneath the title Building. Place sbinit.config inside OpenStarbound-main/dist * You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps.
From e490fd3a4d1fa3abc3d2852efd315239b441b538 Mon Sep 17 00:00:00 2001 From: Rohan <73246001+RohanBhattacharyya@users.noreply.github.com> Date: Sat, 6 Jul 2024 19:20:07 -0700 Subject: [PATCH 13/14] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 428dc01..1d43fde 100644 --- a/README.md +++ b/README.md @@ -223,7 +223,7 @@ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" padsp ./starbound "$@"` * First, in the OpenStarbound-main folder, there will be lib. Open lib, and open the osx folder. Inside is libsteam_api.dylib. Copy this file, and paste it into OpenStarbound-main/dist, so that it is in the same directory as the game files. * Navigate back to OpenStarbound-main/lib/osx, and open up the folder arm64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. * Grab the packed.pak file from your current Starbound install. It will be located in the assets folder. Copy that file into OpenStarbound-main/assets. - * Make a new file called sbinit.config (Make sure it is .config, not .somethingelse), and copy and paste in the sbinit.config text from above, located right underneath the title Building. Place sbinit.config inside OpenStarbound-main/dist + * Make a new file called sbinit.config (Make sure it is .config, not .somethingelse), and copy and paste in the sbinit.config text from above, located right underneath the title Building. Place sbinit.config inside OpenStarbound-main/dist. To make a new file, open the program called TextEdit on your mac, paste in the sbinit.config text from above, and click File (located at the very top of your screen), then click Save. It will prompt you, asking where to save it. Save As: sbinit.config, Where: Navigate to OpenStarbound-main/dist. Find the file you just saved, and rename it to get rid of the wrong extension, making sure the full name and extension looks like sbinit.config. * You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps.
@@ -235,6 +235,7 @@ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" padsp ./starbound "$@"` * First, in the OpenStarbound-main folder, there will be lib. Open lib, and open the osx folder. Inside is libsteam_api.dylib. Copy this file, and paste it into OpenStarbound-main/dist, so that it is in the same directory as the game files. * Navigate back to OpenStarbound-main/lib/osx, and open up the folder x64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. * Grab the packed.pak file from your current Starbound install. It will be located in the assets folder. Copy that file into OpenStarbound-main/assets. + * Make a new file called sbinit.config (Make sure it is .config, not .somethingelse), and copy and paste in the sbinit.config text from above, located right underneath the title Building. Place sbinit.config inside OpenStarbound-main/dist. To make a new file, open the program called TextEdit on your mac, paste in the sbinit.config text from above, and click File (located at the very top of your screen), then click Save. It will prompt you, asking where to save it. Save As: sbinit.config, Where: Navigate to OpenStarbound-main/dist. Find the file you just saved, and rename it to get rid of the wrong extension, making sure the full name and extension looks like sbinit.config. * You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps.
From 0f64067683b0e31bed4aed75a3ea6a3956339a2a Mon Sep 17 00:00:00 2001 From: Rohan <73246001+RohanBhattacharyya@users.noreply.github.com> Date: Sat, 6 Jul 2024 19:21:29 -0700 Subject: [PATCH 14/14] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1d43fde..3cd43e8 100644 --- a/README.md +++ b/README.md @@ -224,7 +224,7 @@ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" padsp ./starbound "$@"` * Navigate back to OpenStarbound-main/lib/osx, and open up the folder arm64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. * Grab the packed.pak file from your current Starbound install. It will be located in the assets folder. Copy that file into OpenStarbound-main/assets. * Make a new file called sbinit.config (Make sure it is .config, not .somethingelse), and copy and paste in the sbinit.config text from above, located right underneath the title Building. Place sbinit.config inside OpenStarbound-main/dist. To make a new file, open the program called TextEdit on your mac, paste in the sbinit.config text from above, and click File (located at the very top of your screen), then click Save. It will prompt you, asking where to save it. Save As: sbinit.config, Where: Navigate to OpenStarbound-main/dist. Find the file you just saved, and rename it to get rid of the wrong extension, making sure the full name and extension looks like sbinit.config. - * You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps. + * You can now run the game by double clicking on the file called starbound in dist/. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps.
If using an Intel Mac @@ -236,7 +236,7 @@ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" padsp ./starbound "$@"` * Navigate back to OpenStarbound-main/lib/osx, and open up the folder x64. Here, rename libdiscord_game_sdk.dylib to discord_game_sdk.dylib. The name must be that, or else the game won't be able to load. * Grab the packed.pak file from your current Starbound install. It will be located in the assets folder. Copy that file into OpenStarbound-main/assets. * Make a new file called sbinit.config (Make sure it is .config, not .somethingelse), and copy and paste in the sbinit.config text from above, located right underneath the title Building. Place sbinit.config inside OpenStarbound-main/dist. To make a new file, open the program called TextEdit on your mac, paste in the sbinit.config text from above, and click File (located at the very top of your screen), then click Save. It will prompt you, asking where to save it. Save As: sbinit.config, Where: Navigate to OpenStarbound-main/dist. Find the file you just saved, and rename it to get rid of the wrong extension, making sure the full name and extension looks like sbinit.config. - * You can now run the game. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps. + * You can now run the game by double clicking on the file called starbound in dist/. If it says unverified developer, open up the same folder where the game is in in the terminal. ` xattr -d com.apple.quarantine starbound `, which will get rid of the lock on the file. If that doesn't work, run ` sudo spctl --master-disable ` to allow all unverified apps.