aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorNitrus2018-11-20 21:52:28 +0100
committerDavid Turner2018-11-21 07:54:49 +0000
commit187889cd7960adddcc4b7c7daa07c8b11f234ec3 (patch)
treebe951dacbe90793cc79cefd033a97d62d3f3b5fa /backends
parentc80bbc4ee515ac0bd193349be5b8754fab300129 (diff)
downloadscummvm-rg350-187889cd7960adddcc4b7c7daa07c8b11f234ec3.tar.gz
scummvm-rg350-187889cd7960adddcc4b7c7daa07c8b11f234ec3.tar.bz2
scummvm-rg350-187889cd7960adddcc4b7c7daa07c8b11f234ec3.zip
3DS: Updated README.md
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/3ds/README.md21
1 files changed, 18 insertions, 3 deletions
diff --git a/backends/platform/3ds/README.md b/backends/platform/3ds/README.md
index a17fc6a98e..a864deead7 100644
--- a/backends/platform/3ds/README.md
+++ b/backends/platform/3ds/README.md
@@ -147,8 +147,12 @@ the following scripts in your `/opt/devkitpro` folder:
- `devkitarm.sh`
- `3dsvars.sh`
-Execute them one after the other (`devkitarm.sh` should be executed first), in order
-to setup your environment variables for cross-compiling.
+Run them one after the other with `source` in order to setup your environment variables
+for cross-compiling:
+```
+ $ source /opt/devkitpro/devkitarm.sh
+ $ source /opt/devkitpro/3dsvars.sh
+```
After that, you can download the libraries you want to cross compile, run any autoconf
scripts that they may have, and then they can usually be built with the following steps
@@ -201,6 +205,15 @@ Afterwards, the library can be built with:
4.2) Compiling ScummVM
----------------------
+Do the following in a fresh terminal.
+
+In case you get a "compiler not found" message, add the toolchain's executables to your PATH:
+```$ export PATH=$DEVKITARM/bin:$PATH```
+
+Note: In more recent codebases of ScummVM, you may or may not need to set the following beforehand:
+```$ export PKG_CONFIG_LIBDIR=$PORTLIBS/lib/pkgconfig```
+See above for $PORTLIBS.
+
From the root of the scummvm repository:
```
$ ./configure --host=3ds
@@ -211,6 +224,8 @@ Additionally compile to specific formats to be used on the 3DS:
$ make scummvm.3dsx
$ make scummvm.cia
```
+**_Read the warning about build sizes below._**
+
Assuming everything was successful, you'll be able to find the binary
files in the root of your scummvm folder.
@@ -220,7 +235,7 @@ not supplied with devkitPro.
4.3) Warning for build sizes
---------------------------
The above configuration command will include all game engines by default and will
-likely be too massive to run with stability using either the 3DSX or the CIA format.
+likely be too massive to be stable using either the 3DSX or the CIA format.
Until dynamic modules are figured out, you should configure engines like this:
```
$ ./configure --host=3ds --disable-all-engines--enable-engine=scumm-7-8,myst,riven, \