50
edits
Progress Continues
We've already had 21543 updates since Dolphin 5.0. Keep up with Dolphin's continuing progress through the Dolphin Blog: February, March, and April 2024 Dolphin Progress Report. |
The Dolphin Emulator Wiki needs your help! Dolphin can play thousands of games, and changes are happening all the time. Help us keep up! Join in and help us make this the best resource for Dolphin. |
(Phew, that took me a long time.) |
|||
Line 137: | Line 137: | ||
| for switching desktop resolution in fullscreen mode | | for switching desktop resolution in fullscreen mode | ||
|} | |} | ||
== Addendum B == | |||
Scipts for building Dolphin. | |||
=== General purpose script === | |||
This script checks for Dolphin's source code, downloads it or updates it, then compiles it and finally installs it. It is somewhat interactive and distro-independent.<br> | |||
It '''will not''' install any of the dependencies listed above, and will fail if any of them are missing. Install manually as described at [[#Step 1 - Installing the Dependencies|the first step]].<br> | |||
Licence: [http://www.gnu.org/licenses/gpl-2.0.html GNU General Public Licence v2] or (at your option) any later version of the GPL.<br> | |||
{{User:10n45/sandbox|<nowiki> | |||
#!/bin/bash | |||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |||
getdolphin() { | |||
echo 'Downloading Dolphin...' | |||
git clone https://github.com/dolphin-emu/dolphin.git | |||
} | |||
updatedolphin() { | |||
cd $DIR/dolphin-emu | |||
echo 'Updating the local repository...' | |||
git pull origin | |||
} | |||
build() { | |||
cmake $DIR/dolphin-emu | |||
make | |||
} | |||
updatedolphin || getdolphin | |||
mkdir $DIR/build | |||
cd $DIR/build | |||
build && echo 'Compiled succesfully.' || exit | |||
echo 'Proceeding to the installation; press Enter to continue or Ctrl+C to cancel.' | |||
read | |||
if [ $(whoami) == "root" ]; | |||
then | |||
make install | |||
else | |||
sudo make install | |||
fi | |||
</nowiki>}} | |||
Instructions: | |||
Put this script in any directory, prefferably a subdirectory of the Home directory, such as <code>~/.scripts/dolphin</code><br> | |||
Within this directory, the script will create two subdirectories, ''dolphin-emu'' and ''build''. It must remain in this directory to work.<br> | |||
Execute the script from anywhere, by running <code>sh /path/to/the/script.sh</code>, where /path/to/the/script.sh is replaced with the actual path to the script.<br> | |||
The script will download Dolphin's source, or update it if it has already been downloaded once. After building it, the script will install it. This requires root privileges. After the installation, the script exits, and Dolphin can be used. Note that the process is very fast and simple after the first time. Using a [http://askubuntu.com/a/17538 bash alias] to execute the script by running a custom command such as <code>dolphin-update</code> is recommended. | |||
[[Category:Tutorials]] | [[Category:Tutorials]] |
edits