Skip to content

Commit 1b4f7e5

Browse files
authored
Merge pull request #989 from hunterk/master
[Squash and Merge] Update dolphin documentation
2 parents d2df584 + 2ca2720 commit 1b4f7e5

File tree

1 file changed

+39
-42
lines changed

1 file changed

+39
-42
lines changed

docs/library/dolphin.md

+39-42
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
A Nintendo Gamecube/Wii emulator for Android, Windows, Mac and Linux, written in C++.
88

9-
The Dolphin core supports [OpenGL](#opengl), [Vulkan](#vulkan), and [Direct3D 11](#d3d11) rendering.
9+
The dolphin-libretro core supports [OpenGL](#opengl), [Vulkan](#vulkan), and [Direct3D 11](#d3d11) rendering.
1010

11-
The Dolphin core is licensed under
11+
The dolphin-libretro core is licensed under
1212

1313
- [GPLv2](https://github.com/libretro/dolphin/blob/master/LICENSE.TXT)
1414

@@ -22,16 +22,15 @@ A summary of the licenses behind RetroArch and its cores can be found [here](../
2222

2323
## Setup
2424

25-
For running properly, the Dolphin core requires to have the Dolphin `Sys` folder
26-
in the proper location.
25+
To function properly, the dolphin-libretro core requires the Dolphin `Sys` folder to be in the proper location. This directory contains Dolphin's database of per-game compatibility settings/hacks, without which many games experience bugs of varying severity.
2726

28-
After downloading the core within RetroArch, execute one of the following three options:
27+
After downloading the core within RetroArch, do **one** of the following options:
2928

30-
### A. Installing from the 'Core System Files Downloader'
29+
### A. Installing from the 'Core System Files Downloader' (Easy/Automatic)
3130

32-
If your frontend version has `Main Menu > Online Updater > Core System Files Downloader` then that's the easiest solution, just download 'Dolphin.zip' from that menu and you're all done!
31+
If your frontend version has `Main Menu > Online Updater > Core System Files Downloader` then that's the easiest solution. Just download 'Dolphin.zip' from that menu and it will place the files where it needs them. You're all done!
3332

34-
### B. Installing from the GitHub repo
33+
### B. Installing from the GitHub repo (Hard/Manual)
3534

3635
1. Get a copy of the Dolphin `Sys` folder. This can be done by downloading the
3736
current source code. We provide two methods: one using *Git* and one without.
@@ -45,38 +44,29 @@ current source code. We provide two methods: one using *Git* and one without.
4544
[https://github.com/libretro/dolphin/archive/master.zip](https://github.com/libretro/dolphin/archive/master.zip)
4645
You can then extract it.
4746

48-
2. After getting the code, enter in the folder containing it.
47+
2. After downloading/extracting the code, navigate into the resulting source tree folder.
4948
The `Sys` folder you need is located in *Data/Sys*.
5049
This is the folder we will need to move/copy.
5150
3. *Find RetroArch's system folder path*
52-
Unless you customized your installation, the RetroArch configuration path is
53-
the one listed in the
54-
[RGUI page](../guides/rgui/#config-file).
55-
If you didn't change any value, the system folder is:
56-
`RETROARCH_CONFIG_DIR/system`.
57-
If you changed the default directory configuration, you should check the
58-
*system_directory* option in the RetroArch configuration file (usually
59-
`retroarch.cfg`) to see which folder is used.
60-
4. In the `RETROARCH_SYSTEM_FOLDER`, create the *dolphin-emu* directory and
61-
move/copy the `Sys` folder within it.
62-
63-
Ultimately, the `Sys` folder should be placed at a location similar to:
51+
If you didn't change its default location, the `system` folder is located at the top level of your RetroArch installation folder. Whether you moved it or not, you can find the location of your `system` folder (along with any other folders RetroArch uses) by going to Settings > Directory or by locating the *system_directory* line in the RetroArch configuration file (usually `retroarch.cfg`).
52+
4. In the `RETROARCH_SYSTEM_FOLDER`, create a new folder named *dolphin-emu* and move/copy the `Sys` folder into it.
53+
54+
When everything is set up properly, the `Sys` folder path should look something like this:
6455
```
6556
RETROARCH_SYSTEM_FOLDER/dolphin-emu/Sys
6657
```
67-
There is also currently a bug with this core and the GL driver that can be worked around by going to settings > user interface > show advanced settings ON and then going to settings > core > allow cores to change the video driver OFF.
6858

69-
The Dolphin core will now work without issues.
59+
The dolphin-libretro core will now work much more reliably.
7060

7161
## BIOS
7262

73-
The (optional) BIOS file goes in the directory `retroarch/saves/User/GC/<USA or EUR or JAP>`, with the file name `IPL.bin` for all regions. It is not necessary to provide a BIOS for most games, but certain titles (particularly those which make heavy use of the system fonts, like Star Fox Assault) can be unplayable without it.
63+
The (optional) BIOS file goes in the directory `RETROARCH_SAVES_FOLDER/dolphin-emu/User/GC/<USA or EUR or JAP>`, with the file name `IPL.bin` for all regions. It is not necessary to provide a BIOS for most games, but certain titles (particularly those which make heavy use of the system fonts, like Star Fox Assault) can be unplayable without it.
7464

75-
To play the [Gamecube BIOS animation](https://www.youtube.com/watch?v=CpmYW-gCSy4) at game launch, once you have the aforementioned BIOS file placed and named correctly, open the `Dolphin.ini` file located in `retroarch/saves/User/Config/` with a text editor and change the line `SkipIPL = True` to `SkipIPL = False`.
65+
To play the [Gamecube BIOS animation](https://www.youtube.com/watch?v=CpmYW-gCSy4) at game launch, once you have the aforementioned BIOS file placed and named correctly, open the `Dolphin.ini` file located in `RETROARCH_SAVES_FOLDER/dolphin-emu/User/GameSettings/Config/` with a text editor and change the line `SkipIPL = True` to `SkipIPL = False`.
7666

7767
## Extensions
7868

79-
Content that can be loaded by the Dolphin core have the following file extensions:
69+
Content that can be loaded by the dolphin-libretro core have the following file extensions:
8070

8171
- .elf
8272
- .iso
@@ -89,14 +79,14 @@ Content that can be loaded by the Dolphin core have the following file extension
8979
- .wad
9080
- .rvz
9181

92-
RetroArch database(s) that are associated with the Dolphin core:
82+
RetroArch database(s) that are associated with the dolphin-libretro core:
9383

9484
- [Nintendo - GameCube](https://github.com/libretro/libretro-database/blob/master/rdb/Nintendo%20-%20GameCube.rdb)
9585
- [Nintendo - Wii](https://github.com/libretro/libretro-database/blob/master/rdb/Nintendo%20-%20Wii.rdb)
9686

9787
## Features
9888

99-
Frontend-level settings or features that the Dolphin core respects.
89+
Frontend-level settings or features that the dolphin-libretro core respects.
10090

10191
| Feature | Supported |
10292
|-------------------|:---------:|
@@ -126,29 +116,36 @@ Frontend-level settings or features that the Dolphin core respects.
126116

127117
## Directories
128118

129-
The Dolphin core's library name is 'Dolphin'
130-
131-
TODO/FIXME
119+
In addition to the aforementioned `RETROARCH_SYSTEM_FOLDER/dolphin-emu` directory, the dolphin-libretro core also creates a folder structure similar to that used by the standalone Dolphin emulator in `RETROARCH_SAVES_FOLDER/dolphin-emu/User`. In this structure, you can access/edit most of the same functionality you would find in the standalone Dolphin emulator and can even copy some files--such as `GAME.ini` and save files--back and forth between the dolphin-libretro core and the standalone Dolphin emulator.
132120

133121
## Geometry and timing
134122

135-
- The Dolphin core's core provided FPS is 60 (for NTSC) / 50 (for PAL)
136-
- The Dolphin core's core provided sample rate can be either 32000 Hz or 48000 Hz depending on user configuration
137-
- The Dolphin core's base width is dependent on the 'Internal Resolution' core option
138-
- The Dolphin core's base height is dependent on the 'Internal Resolution' core option
139-
- The Dolphin core's max width is dependent on the 'Internal Resolution' core option
140-
- The Dolphin core's max height is dependent on the 'Internal Resolution' core option
141-
- The Dolphin core's core provided aspect ratio is 4/3.
123+
- The dolphin-libretro core's core provided FPS is 60 (for NTSC) / 50 (for PAL)
124+
- The dolphin-libretro core's core provided sample rate can be either 32000 Hz or 48000 Hz depending on user configuration
125+
- The dolphin-libretro core's base width is dependent on the 'Internal Resolution' core option
126+
- The dolphin-libretro core's base height is dependent on the 'Internal Resolution' core option
127+
- The dolphin-libretro core's max width is dependent on the 'Internal Resolution' core option
128+
- The dolphin-libretro core's max height is dependent on the 'Internal Resolution' core option
129+
- The dolphin-libretro core's core provided aspect ratio is 4/3.
142130

143131
## Language
144132

145-
When the 'Language' core option is set to automatic, the default Dolphin language setting will be pulled from RetroArch's Language setting.
133+
When the `Language` core option is set to automatic, the default dolphin-libretro language setting will be pulled from RetroArch's Language setting.
146134

147135
## Internal Cheats
148136

149-
Disabled by default.
137+
Disabled by default. Internal cheats can be handled via the GAME.ini files, but they will not take effect unless internal cheats are enabled in the core options. While there is no automatic way to add cheats to the dolphin-libretro core, it can use a cheat file generated by the standalone Dolphin emulator using the following process:
150138

151-
TODO/FIXME
139+
1. Open standalone Dolphin emulator and right-click your game > Properties.
140+
2. Look at the title bar and remember the ID of the game (for example `GFZE01` for `F-Zero GX USA`).
141+
3. Go to `Gecko Codes` tab and click `Download Codes`.
142+
4. Check the boxes for the cheats you want to use then you can close Dolphin.
143+
5. Navigate to `My Documents\Dolphin Emulator\GameSettings` by default for Windows (or `~/.local/share/dolphin-emu/GameSettings` for Linux).
144+
6. Copy the .ini file with the ID of the game and paste it in your `RETROARCH_SAVES_FOLDER/dolphin-emu/User/GameSettings` folder.
145+
7. Start the game, go to Quick Menu > Core Options and turn ON "Internal Cheats".
146+
8. And finally Quick Menu > Close Content, restart the game and the cheats should now be active.
147+
148+
If you need to enable another cheat later for that game, you don't need to do the whole process all over again. You can simply edit the .ini file(s) in your `RETROARCH_SAVES_FOLDER/dolphin-emu/User/GameSettings` folder structure with a text editor to add the cheat title under the line [Gecko_Enabled].
152149

153150
## OpenGL
154151

@@ -234,7 +231,7 @@ The Dolphin core has the following option(s) that can be tweaked from the core o
234231
| ![](../image/retropad/retro_left_stick.png) Y | Analog Y | Tilt Y | Tilt Y | Nunchuk Stick Y | Left Stick Y | Left Stick Y |
235232
| ![](../image/retropad/retro_right_stick.png) X | C-Stick X | | | Tilt X | Right Stick X | Right Stick X |
236233
| ![](../image/retropad/retro_right_stick.png) Y | C-Stick Y | | | Tilt Y | Right Stick Y | Right Stick Y |
237-
234+
**NOTE:** The 'L-Analog' and 'R-Analog' inputs are half-presses of the analog L and R buttons, respectively. These inputs are required to progress in some games, such as Super Mario Sunshine.
238235

239236
## Compatibility
240237

0 commit comments

Comments
 (0)