Difference between revisions of "Compiling ScummVM/Nintendo DS"
Jump to navigation
Jump to search
(Remove outdated instructions on getting ScummVM source code.) |
Ccawley2011 (talk | contribs) m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Compiling ScummVM for Nintendo DS | == Compiling ScummVM for Nintendo DS == | ||
== Getting the source == | == Getting the source == | ||
* Open a Terminal and type: | * Open a Terminal and type: | ||
<pre>git clone | <pre>git clone https://github.com/scummvm/scummvm.git</pre> | ||
== Tools/libraries needed == | == Tools/libraries needed == | ||
You must have [ | You must have [https://devkitpro.org/wiki/Getting_Started devkitARM] installed. Version r55 is known to work, more recent versions may work, but occasionally introduce non-backward compatibility changes which cause them to break compatibility with ScummVM. | ||
You need to install at least the following packages: | |||
<syntaxhighlight lang="bash"> | |||
sudo dkp-pacman -Sy | |||
sudo dkp-pacman -S \ | |||
dkp-toolchain-vars \ | |||
nds-dev \ | |||
nds-zlib | |||
</syntaxhighlight> | |||
== Compiling ScummVM == | == Compiling ScummVM == | ||
The following commands should be run in order to setup your environment for cross-compiling: | |||
<syntaxhighlight lang="bash"> | |||
< | source /opt/devkitpro/devkitarm.sh | ||
source /opt/devkitpro/ndsvars.sh | |||
</syntaxhighlight> | |||
To compile ScummVM, issue the following commands inside the scummvm folder: | |||
<syntaxhighlight lang="bash"> | |||
./configure --host=ds --enable-plugins --enable-all-engines | |||
make | |||
</syntaxhighlight> | |||
Alternatively, you can build with only a single engine enabled using the following commands: | |||
= | <syntaxhighlight lang="bash"> | ||
./configure --host=ds --disable-all-engines --enable-engine=scumm | |||
make | |||
</syntaxhighlight> |
Latest revision as of 23:23, 4 November 2023
Compiling ScummVM for Nintendo DS
Getting the source
- Open a Terminal and type:
git clone https://github.com/scummvm/scummvm.git
Tools/libraries needed
You must have devkitARM installed. Version r55 is known to work, more recent versions may work, but occasionally introduce non-backward compatibility changes which cause them to break compatibility with ScummVM.
You need to install at least the following packages:
sudo dkp-pacman -Sy
sudo dkp-pacman -S \
dkp-toolchain-vars \
nds-dev \
nds-zlib
Compiling ScummVM
The following commands should be run in order to setup your environment for cross-compiling:
source /opt/devkitpro/devkitarm.sh
source /opt/devkitpro/ndsvars.sh
To compile ScummVM, issue the following commands inside the scummvm folder:
./configure --host=ds --enable-plugins --enable-all-engines
make
Alternatively, you can build with only a single engine enabled using the following commands:
./configure --host=ds --disable-all-engines --enable-engine=scumm
make