forked from OpenBrickProtocolFoundation/oopetris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request OpenBrickProtocolFoundation#126 from OpenBrickProt…
…ocolFoundation/3ds-port Nintendo 3DS port
- Loading branch information
Showing
47 changed files
with
1,816 additions
and
814 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Binary file not shown.
This file contains 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
This file contains 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
This file contains 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,24 @@ | ||
# Nintendo 3DS build | ||
|
||
## Prerequisites | ||
|
||
- a C++23 compatible cross compiler, we only support The [devkitpro](https://devkitpro.org/) one | ||
- meson | ||
|
||
|
||
## Compiling | ||
|
||
|
||
Cross Compiling is only possible on linux-like systems. | ||
|
||
SDL2 officially supports 3ds, so there are no portlibs, so on the initial run of the bash script, SDL2 will be built, and installed into the devkitpro portlibs root folder, this might need sudo (but installing the other toolchains from devkitpro required that too). | ||
|
||
We use meson and cross-compilation files, everything is wrapped into shell script, so you just need to run: | ||
|
||
|
||
```bash | ||
./platforms/build-3ds.sh | ||
|
||
``` | ||
After that you can find the runnable executable (also supports emulators) | ||
in `build-3ds/oopetris.3dsx` |
This file contains 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
Oops, something went wrong.