Package Base Details: dolphin-emu-git

Git Clone URL: (read-only, click to copy)
Keywords: dolphin emu emulator game gamecube gui nintendo remote revolution triforce wii wiimote
Submitter: None
Maintainer: dpeukert
Last Packager: dpeukert
Votes: 106
Popularity: 0.043130
First Submitted: 2011-08-20 13:05
Last Updated: 2021-01-10 20:26

Pinned Comments

dpeukert commented on 2020-04-10 12:34

The PKGBUILD for this package is hosted here (contributions are welcome!):

kiodo1981 commented on 2011-12-08 19:26

I found this optimizations: add_definitions(-march=native -O3 -fno-stack-protector -pipe -g)

kiodo1981 commented on 2011-12-08 19:21

Thank you.
So now dolphin-emu is compiled and optimized for my platform?
If so, why don't you update this PKGBUILD?

chenxiaolong commented on 2011-12-08 19:11

Hmm...maybe the optimizations should be added to this PKGBUILD. When playing New Super Mario Bros Wii at 1920x2160 (dual monitor) resolution with frame limit and audio throttle turned off, I get 85 FPS without optimizations and 92 FPS with optimizations.

I used the optimizations in my PKGBUILD below: "-march=native -mtune=native -O3" on my Core i7 2720qm and nVidia Quadro 2000m.

chenxiaolong commented on 2011-12-08 18:44

@kiodo1981: Oops, forgot to paste the PKGBUILD link. Just download the tarball from this page ( and replace the PKGBUILD inside with this one:

chenxiaolong commented on 2011-12-08 18:42


1. Try this PKGBUILD:

It compiles with the highest optimization (-O3) for your CPU (-march=native -mtune=native). Change the "make -j 8" line to the number of cores/threads your CPU has to speed to the compile time.

2. What patches are you talking about? Patches to the source code can be done by adding a

patch -Np1 -i /path/to/patch.diff

line to the PKGBUILD. Game memory patches, such as cheatcodes, etc, are done in the GUI after installing this package. If you want to patch the game disk (to modify files, levels in the game), you will need to use a program, like wit (

3. Simply put, it's not possible. You might be able to achieve a cross compile, if you write your own CMake platform script to compile with mingw32 (or mingw64), but in my opinion, that's way too much work for a simple task. Plus, you'll lose the DirectX plugins, since the DirectX SDK is only available for Windows. If you use Windows, you can use tortoise-git to clone the git repository and use the express edition of Visual Studio to compile dolphin-emu. A tutorial on how to do that is at the dolphin-emu wiki:

kiodo1981 commented on 2011-12-08 09:10

Hello, I have three questions:
1. how can I add optimization for the CPU?
2. how to add the patches?
3. I compile from Linux to Windows?
Thank you.

Anonymous comment on 2011-10-22 14:16


Anonymous comment on 2011-10-17 11:20

I'm working with Windows for the time being and thus can't make a new tarball.
Please install portaudio manually.

kiodo1981 commented on 2011-10-11 09:11

You must install portaudio to start the emulator.
This is new PKGBUILD 11 October 2011.

kiodo1981 commented on 2011-10-10 11:57

You must install portaudio to start the emulator.