You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-54Lines changed: 18 additions & 54 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,56 +48,22 @@ Documentation for how to use Serial Loops can be found on [our website](https://
48
48
### Prerequisites
49
49
It is recommended that you use a distribution of Serial Loops that automatically installs or comes with the necessary prerequisites. For each platform these are:
50
50
51
-
* Linux: Flatpak
51
+
* Linux: [Flatpak from Flathub](https://flathub.org/apps/club.haroohie.SerialLoops)
52
+
- The AppImage, deb, and rpm packages are also easy to use, but if you're not sure which to choose, go with the Flatpak
52
53
* macOS: Installer
53
54
* Windows: Installer
54
55
55
-
Using these will ensure Serial Loops is ready to use after installation. However, if you would rather use a portable build on Windows/Linux, please check the information on installing
56
-
these prerequisites below.
56
+
Using these will ensure Serial Loops is ready to use after installation. However, if you would rather use a portable build on Windows/Linux, please check the information on installing these prerequisites in the next section.
57
57
58
-
<details>
59
-
<summary>View prerequisites for non-Flatpak/installer distributions</summary>
58
+
#### Dependencies for Non-Packages Releases
59
+
If you opt to use one of the non-packaged releases on Windows or Linux, you will need to install a few dependencies. These are:
60
60
61
-
#### Installing devkitARM
62
-
[devkitARM](https://devkitpro.org/wiki/Getting_Started) is required to use Serial Loops on all platforms.
63
-
64
-
* Using the Windows graphical installer, you can simply select the devkitARM (Nintendo DS) workloads
65
-
* On macOS and Linux, run `sudo dkp-pacman -S nds-dev` from the terminal after installing the devkitPro pacman distribution.
66
-
67
-
#### Installing Make or Docker
68
-
To assemble ASM hacks you want to apply, you will need to decide whether to use Make or Docker. Make is automatically installed when using the Debian and RPM
69
-
packages we distribute, so you don't need to worry about this step if you're using either of those.
70
-
71
-
Currently, the Docker path is **only supported on Windows** due to operating system and framework limitations. It is possible to get Docker running
72
-
just fine on Linux distros by running SerialLoops as root (e.g. `sudo SerialLoops`), but it's easier to just use Make. On macOS, there is no known
73
-
way of getting the Docker path to work, so you will have to use Make.
74
-
75
-
*[Make](https://www.gnu.org/software/make/) is the software used to assemble assembly hacks. Installing Make allows you to build the hacks
76
-
directly on your system.
77
-
- To install on Windows, you will have to use a terminal and a package manager. Your options are Winget (installed by default on Win10+) or
78
-
[Chocolatey](https://chocolatey.org/). Open an admin PowerShell or Terminal window (Winkey + X + A) and enter `winget install GnuWin32.make`
79
-
for Winget or `choco install make` for Chocolatey. If using Winget, you will then have to go into system preferences and add Make to the path.
80
-
- Installation on macOS can be done through Xcode or Homebrew. If using Xcode, open a terminal and type `xcode-select --install`. If you would
81
-
rather use Homebrew, open a terminal after installing Homebrew and type `brew install make`.
82
-
- Make comes preinstalled on many Linux distributions, and if you're using the Debian or RPM package, it was definitely installed when you installed
83
-
Serial Loops. If you're using the tar.gz it is not installed on yours, you will likely be able to install it as simply as
84
-
`[packagemanger] install make` from a terminal.
85
-
86
-
To test if make is installed properly, type `make --verison` into a terminal and see if it produces the version of make.
87
-
* If you would rather not install Make, or if it is not working properly, you can instead run it through a Docker container. To do this, you should
88
-
install [Docker Desktop](https://www.docker.com/products/docker-desktop/) or the Docker Engine. Ensure the Docker engine is running and make sure
89
-
to check the "Use Docker for ASM Hacks" option in Preferences. You may want to occasionally clean up containers created by Serial Loops, as it will
90
-
create many of them.
91
-
- On Windows, you will additionally need to install [Windows Subsystem for Linux (WSL)](https://learn.microsoft.com/en-us/windows/wsl/install).
92
-
From an admin PowerShell or Terminal window (Winkey + X + A), simply type `wsl --install` to install it.
93
-
94
-
#### Installing SDL2 (Linux)
95
-
If you're running on Linux and _not using one of the package releases_ (the Flatpak, AppImage, `.deb` or `.rpm`), you will also need to install SDL2 which is used for audio processing.
96
-
97
-
</details>
61
+
* Clang and LLD from [LLVM](http://llvm.org) (on Windows, it's best to just use the LLVM installer as it will install both of these; on Linux, you can opt to install just the `clang`, `lld`, and possibly `llvm` packages from your package manager)
62
+
*[Ninja](https://ninja-build.org)
63
+
* On Linux, you will also need SDL2
98
64
99
65
#### A Nintendo DS Emulator
100
-
To test the game easily, you will want to have a Nintendo DS emulator installed. We recommend using [melonDS](https://melonds.kuribo64.net/) for its accuracy.
66
+
To test the game easily, you will want to have a Nintendo DS emulator installed. We recommend using [melonDS](https://melonds.kuribo64.net/) for its accuracy. If you are using the Flatpak release, melonDS comes pre-packaged with it.
101
67
102
68
### Download & Install
103
69
Once you have installed any necessary prerequisites, to install Serial Loops, download the latest release for your platform from the [Releases tab](https://github.com/haroohie-club/SerialLoops/releases).
@@ -108,17 +74,16 @@ Be sure to [read the Serial Loops documentation](https://haroohie.club/chokurets
108
74
Uninstalling Serial Loops itself is quite simple; however, you may also want to uninstall the packaged dependencies. Follow the instructions below for each platform to do this.
109
75
110
76
#### Linux
111
-
* If you installed the Flatpak, simply run `flatpak uninstall --delete-data club.haroohie.SerialLoops` to remove the Flatpak and all its associated data. If you don't want to keep your project data,
112
-
ensure you delete the `~/SerialLoops` directory as well.
113
-
* If you installed the deb or rpm package, run your package manager's uninstall command for the `SerialLoops` package. Afterwards, you can uninstall devkitARM by running the uninstall command for the `devkitpro-pacman` package.
114
-
Finally, run `sudo rm -r /opt/devkitpro && sudo rm -r /etc/apt/sources.list.d/devkitpro.list` to delete the remainder of the devkitARM files on your system.
115
-
* If you downloaded the tarball, delete the unpacked files from your system and then run the above commands to remove devkitARM from your system as well. You may also run your package manager's uninstallation command for SDL2.
77
+
* If you installed the Flatpak, simply run uninstall it via the Warehouse app or your software/app store application. Alternatively, you can run `flatpak uninstall --delete-data club.haroohie.SerialLoops` to remove the Flatpak and all its associated data. If you don't want to keep your project data, ensure you delete the `~/SerialLoops` directory as well.
78
+
* If you installed the AppImage, simply delete it from your machine.
79
+
* If you installed the deb or rpm package, run your package manager's uninstall command for the `SerialLoops` package.
80
+
* If you downloaded the tarball, delete the unpacked files from your system. You may also run your package manager's uninstallation command for Clang, LLD, Ninja, and SDL2.
116
81
117
82
#### macOS
118
-
Simply drag the Serial Loops application from the Applications folder to the trash. Afterwards, you can remove devkitARM from your system, you can open a terminal and run `sudo rm -rf /opt/devkitpro`.
83
+
Simply drag the Serial Loops application from the Applications folder to the trash. Then run `brew uninstall llvm` and `brew uninstall ninja-build` to remove LLVM and Ninja (if you want to do so). Finally, if you also want to uninstall Homebrew, you can run `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"`.
119
84
120
85
#### Windows
121
-
Go into Add or Remove Programs and remove Serial Loops, the devkitPro installer, and Docker Desktop. Then, open an administrator PowerShell or CMD terminal (Win+X,A) and run `wsl --uninstall` to uninstall WSL.
86
+
Go into Add or Remove Programs and remove Serial Loopsand (if you don't want it anymore) LLVM.
122
87
123
88
## Bugs
124
89
Please file bugs in the Issues tab in this repository. Please include the following information:
@@ -139,7 +104,8 @@ Additionally, on macOS, you will have to install CMake so that the build can com
This will symlink the CMake binaries to `/usr/local/bin` which is necessary for the build to work.
107
+
This will symlink the CMake binaries to `/usr/local/bin` which is necessary for the build to work. Alternatively, you can install
108
+
cmake via Homebrew with `brew install cmake`.
143
109
144
110
On Linux, you will need to install the SDL2 binaries for your distribution.
145
111
@@ -161,8 +127,6 @@ to the MSBuild global properties field. This has the same effect as specifying `
161
127
If you'd like to contribute new features or fixes, we recommend [getting in touch on Discord first](https://discord.gg/nesRSbpeFM) before submitting a pull request!
162
128
163
129
### Testing
164
-
Serial Loops has headless tests that run to test the UI and other functionality of the program. To run tests locally, you will need to define either a `ui_vals.json` file or set an environment variable.
165
-
166
-
First, download [these test assets](https://haroohie.nyc3.cdn.digitaloceanspaces.com/bootstrap/serial-loops/test-assets.zip) -OutFile $(Build.ArtifactStagingDirectory)/test-assets.zip) and unzip them to a directory somewhere. Then, specify that directory in the `ui_vals.json` as `AssetsDirectory` or set the environment variable `ASSETS_DIRECTORY` to that path.
130
+
Serial Loops has headless tests that run to test the UI and other functionality of the program.
167
131
168
132
Tests can be run via `dotnet test` (make sure to add `-f net8.0` on Linux or Mac) or through the test runners in Rider or Visual Studio.
0 commit comments