-
Notifications
You must be signed in to change notification settings - Fork 53
Feature/382_update #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
9b31b85
rename windows setup
SimonDarksideJ 94ad04b
Checkpoint before reorg
SimonDarksideJ 7206ab2
Restructure
SimonDarksideJ 4b32271
Checkpoint
SimonDarksideJ 9413ddd
baby steps on updating setting up deocs
harry-cpp 7732b21
rider docs
harry-cpp 5410f61
Touch points
SimonDarksideJ 4c95f9f
Revert file renames as the workflow has been shortened
SimonDarksideJ d9d6c5d
Fix links after rename
SimonDarksideJ 66f509b
Checkpoint, base articles updated for 3.8.2
SimonDarksideJ db8f830
Updated instructions / urls and images for downloading the DotNet 8 sdk
SimonDarksideJ 3a876ca
Update macOS instructions
harry-cpp c6bd46f
Update macOS instructions again
harry-cpp 15278f7
update wine script link
harry-cpp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
63 changes: 0 additions & 63 deletions
63
articles/getting_started/1_setting_up_your_development_environment_unix.md
This file was deleted.
Oops, something went wrong.
278 changes: 0 additions & 278 deletions
278
articles/getting_started/1_setting_up_your_development_environment_vscode.md
This file was deleted.
Oops, something went wrong.
50 changes: 50 additions & 0 deletions
50
articles/getting_started/1_setting_up_your_os_for_development_macos.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
title: Setting up your OS for development on MacOS | ||
description: This section provides a step-by-step guide for setting up your development environment on Mac. | ||
--- | ||
|
||
To develop with MonoGame in C#, you will need to install the .NET SDK. As of MonoGame 3.8.2 the minimum supported version is .NET 8. | ||
|
||
## Install .NET 8 SDK | ||
|
||
1. Navigate to [https://dotnet.microsoft.com/en-us/download/dotnet/8.0](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) | ||
2. Download the `.NET SDK` Installer for your current platform of `macOS` | ||
3. Once the **.pkg** file finishes downloading, run it and follow the prompts to install the .NET SDK | ||
|
||
 | ||
|
||
# Apple Silicon Known Issues | ||
|
||
For the time being, MonoGame requires that you install the x64 version of the .NET runtime if you are running on an Apple Silicon mac in order to be able to build content. It is also required that [Rosetta](https://support.apple.com/en-us/HT211861) is enabled. | ||
|
||
1. Navigate to [https://dotnet.microsoft.com/en-us/download/dotnet/8.0](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) | ||
2. Download the .NET Runtime Installer for macOS x64 | ||
3. Once the **.pkg** file finishes downloading, run it and follow the prompts to install the .NET Runtime | ||
|
||
## Setup Wine For Effect Compilation | ||
|
||
Effect (shader) compilation requires access to DirectX. This means it will not work natively on macOS and Linux systems, but it can be used through [Wine](https://www.winehq.org/). | ||
|
||
MonoGame provides a setup script that can be executed to setup the Wine environment for Effect (shader) compilation. | ||
|
||
1. Install [brew.sh](https://brew.sh) | ||
2. Enter the following command: | ||
|
||
```sh | ||
brew install p7zip curl && brew install --cask wine-stable | ||
``` | ||
|
||
3. Now that the prerequisites are installed, download the [mgfxc_wine_setup.sh](https://monogame.net/downloads/net8_mgfxc_wine_setup.sh) script and execute it by entering the following command in the terminal: | ||
|
||
```sh | ||
wget -qO- https://monogame.net/downloads/net8_mgfxc_wine_setup.sh | bash | ||
``` | ||
|
||
This will create new directory called `.winemonogame` in your home directory. If you ever wish to undo the setup this script performed, just simply delete that directory. | ||
|
||
## Next Steps | ||
|
||
Choose from one of the two IDE options on macOS: | ||
|
||
- [Setting up VSCode](./2_choosing_your_ide_vscode.md) | ||
- [Setting up Rider](./2_choosing_your_ide_rider.md) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.