Package Details: dolphin-emu-git 5.0.r21506.g57c890d4fc-1

Git Clone URL: https://aur.archlinux.org/dolphin-emu-git.git (read-only, click to copy)
Package Base: dolphin-emu-git
Description: A Gamecube / Wii emulator - git version
Upstream URL: https://dolphin-emu.org
Keywords: dolphin emu emulator game gamecube gui nintendo remote revolution triforce wii wiimote
Licenses: GPL-2.0-or-later
Conflicts: dolphin-emu
Provides: dolphin-emu
Submitter: None
Maintainer: dpeukert
Last Packager: dpeukert
Votes: 120
Popularity: 0.23
First Submitted: 2011-08-20 13:05 (UTC)
Last Updated: 2024-05-04 01:24 (UTC)

Dependencies (43)

Required by (3)

Sources (7)

Pinned Comments

dpeukert commented on 2020-04-10 12:34 (UTC) (edited on 2020-09-26 17:48 (UTC) by dpeukert)

The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/dolphin-emu-git

Latest Comments

« First ‹ Previous 1 .. 46 47 48 49 50 51 52 53 Next › Last »

<deleted-account> commented on 2011-12-10 09:49 (UTC)

@kiodo1981: You can change the settings in the /etc/makepkg.conf so that it will benefit every package you build. Look here:https://wiki.archlinux.org/index.php/Makepkg So I don't think it a good idea to add these lines to this specific PKGBUILD. Instead, you can add them in the global settings.

chenxiaolong commented on 2011-12-09 01:14 (UTC)

-> So now dolphin-emu is compiled and optimized for my platform? Exactly. It's optimized for your specific CPU, so it's unlikely that it will run on any computer if you copy over the compiled binaries. -> If so, why don't you update this PKGBUILD? I'm not the maintainer of this package :) Also, I never really though about optimizing the binaries to make it run faster, only the configuration. -> I found this optimizations: add_definitions(-march=native -O3 -fno-stack-protector -pipe -g) I think that was added by the 3 lines in the new PKGBUILD. I can't seem to find that in the original source code. -> What is the command I have to run to find out cores / threads to change make-j8? You can find it by running "lscpu". The "make -j#" won't affect the compiled program, though. It just speeds up the compile time a lot :)

kiodo1981 commented on 2011-12-08 19:39 (UTC)

What is the command I have to run to find out cores / threads to change make-j8?

kiodo1981 commented on 2011-12-08 19:26 (UTC)

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

kiodo1981 commented on 2011-12-08 19:21 (UTC)

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 (UTC)

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 (UTC)

@kiodo1981: Oops, forgot to paste the PKGBUILD link. Just download the tarball from this page (https://aur.archlinux.org/packages/do/dolphin-emu-git/dolphin-emu-git.tar.gz) and replace the PKGBUILD inside with this one: http://pastie.org/pastes/2987258/text ).

chenxiaolong commented on 2011-12-08 18:42 (UTC)

@kiodo1981: 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 (https://aur.archlinux.org/packages.php?ID=37504). 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: https://code.google.com/p/dolphin-emu/wiki/Windows_Build

kiodo1981 commented on 2011-12-08 09:10 (UTC)

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.