Архив за месяц: Ноябрь 2010

Dolphin SVN r6355

Revision 6355:

Added an option in the cmake build to disable wxWidgets. To use add «-DDISABLE_WX=1» to the cmake configuration command. Also fixed the nowx build.
Set scons build to autodetect OpenCL by checking for both the library and header instead of having an option. Unfortunately there probably needs to be a path variable that can be set to the location to look for the headers. For example on Ubuntu with nvidia, the headers are located in /usr/include/nvidia-current instead of /usr/include, and hence not found by scons.

Скачать:

r6355 x86 – скачать, зеркало

r6355 x64 – скачать, зеркало

Dolphin SVN r6354

Revision 6354:

DX9/DX11: Remove some dead or obsolete code.

Revision 6353

Updated with a less aggressive optimisation to EFB copy to RAM. The destination texture now does not get invalidated if its hash is found in the texture cache. Fixes Metroid Prime 3.

Скачать:

r6354 x86 – скачать, зеркало

r6354 x64 – скачать, зеркало

Dolphin SVN r6352

Revision 6352:

Optimised EFB copy to RAM.

The finding was that 99% of the time, textures are static in memory. However, Dolphin would pessimistically continue to decode and copy the same texture every time. The optimisation is to check if the texture matches what is in the cache, and if it does, Dolphin should early exit.

The result is the speed in New Super Mario Bros Wii increased 35% with spinning coins. Still not as fast as EFB copy to texture though.

Revision 6351

Added checks for portaudio and opencl to the cmake build system.

Revision 6350

Missed a needed -fPIC.

Revision 6349

Edited wiki page Linux_dependencies through web user interface.
Remove dbg packages from dependency list. If someone knows how to debug they
should know to install those. This is not a how to debug dolphin on linux wiki.
Also removed the runtime libraries in the list. Those are automatically
installed if the development headers are installed. Added some missing optional
dependencies and cmake.

Revision 6348

Fixed GeckoCodes.org retrieval for WiiWare.

Fixes issue 3438.

Скачать:

r6352 x86 – скачать, зеркало

r6352 x64 – скачать, зеркало

Dolphin SVN r6346

Revision 6346:

Set «Release» as the default build type. Also cleaned up the CMakeLists.txt file a bit.

Revision 6345

Edited wiki page Linux_dependencies through web user interface.
Pretty much rewrote this thing. Updated dependencies and added cmake
instructions.

Revision 6344

Improve the compiler flags for the cmake build system. -fPIC only needs to be specified for static libraries that are linked into shared libraries. cmake automatically uses -fPIC for shared libraries. Also ported several other needed compiler flags from the scons build. Set up the debug build, enabled with «-D CMAKE_BUILD_TYPE=Release», to work with wxWidgets debugging.
Note that most users will want to use the release build to get a -O3 optimized build. This can be enabled by adding «-D CMAKE_BUILD_TYPE=Release».

Revision 6343

config.h is only created on Unix.

Revision 6342

Add the c++ definition HAVE_CONFIG_H in the scons build and check it before including config.h so the cmake build system doesn’t need to worry about conflicts from that file if it exists.

Скачать:

r6346 x86 – скачать, зеркало

r6346 x64 – скачать, зеркало

Dolphin SVN r6341

Revision 6341:

Okay. Big (possible controversial changes) to the cmake build system.
I am officially killing the local/global build crap. The «local» build thing should never have existed. There is now only one build that is essentially what the «global» build was before. This is the way a proper build system should work. I will soon write a wiki page to describe how to properly use the cmake build system, and how you can still set things up to get the «local» build from before. However, that type of build should be considered a developer tool, and not the way that dolphin-emu should be built.
Briefly, to use cmake now do the following from the toplevel of dolphin’s source:
mkdir Builddir
cd Builddir
cmake ..
make
make install (you may need superuser privileges)

Note that the scons build is still building dolphin in the old way.

Скачать:

r6341 x86 – скачать, зеркало

r6341 x64 – скачать, зеркало

Dolphin SVN r6340

Revision 6340:

fix for r6337: don’t restore cached settings if a gameconfig was not used.

Revision 6339

Removed one of the extraneous conditions from JIT64 UnsafeLoadToEAX.

Revision 6338

More cmake work.
Added autodetection of shared libraries.
Added a check for Xrandr.
Fix OpenAL linkage.
Copy User and Sys directories to lower case in the binary directory.

Скачать:

r6340 x86 – скачать, зеркало

r6340 x64 – скачать, зеркало

Dolphin SVN r6337

Revision 6337:

hackfix for per-game settings overriding the main settings. This quick and dirty hack goes out to billiard in return for his own generous hacks. fixes issue 3004. it’s a hack, so it should be replaced with a more sane method…
also: hacks.

Revision 6336

gray out ntsc-j option during emulation

Revision 6335

Make NTSC-J setting an option. This allows games which use Japanese ROM fonts to work correctly. Unfortunately trying to autodetect when to enable this setting is not good enough.
Also move Progressive Scan option to main display settings, since it affects both GC and Wii.

Revision 6334

Fix some linkage issues with the cmake build system.
Also X11 is required on *nix systems.
GTK2 is required for building the wxWidgets builds on *nix systems.
Added a check for pulseaudio.

Revision 6333

unbreak japanese rom font, broken by r6297

Скачать:

r6337 x86 – скачать, зеркало

r6337 x64 – скачать, зеркало

Dolphin SVN r6332

Revision 6332:

JIT fix for the lfs instruction in x64 builds. Fixes Ultimate Spider-man.

Revision 6331

Added NullSound to CMake without typo

Revision 6330

Added NullSound to CMake

Revision 6329

Re-implemented the NullSound back-end. Allows Dolphin to be used on hosts with no sound hardware. Emulates strict DSP timing in the DSP HLE plugin.

Revision 6328

Allow the game to set the DSP sample rate. Fixes Bomberman Generation.

Fixes issue 2523.

Скачать:

r6332 x86 – скачать, зеркало

r6332 x64 – скачать, зеркало

Dolphin SVN r6327

Revision 6327:

DX9/DX11: Fix and simplify ClearScreen. At least fixes a small glitch in Super Mario Sunshine with DX11, might fix several other things as well in both plugins though (so test this, please!)
Explanation of this commit: We only have to care about four BP registers in ClearScreen, the remaining API state should be reset. The colorEnable and alphaEnable parameters are obsolete, for some reason directly using them caused the SMS glitch with DX11 (because of that bpmem.zcontrol.pixel_format == PIXELFMT_RGBA6_Z24 check in BPFunctions.cpp, is this one actually correct?)

The comment in BPFunctions.cpp was at least misleading (if not even wrong), so I removed it.

For what it’s worth, someone needs to port this to the OpenGL and Software plugins (unless they’re doing this properly already)

Revision 6326

Add an experimental CMake build system as a possible replacement for SCons. Only tested on Linux, should work on OS X and Windows in the future as well though.

Some notes about this:
— config.h doesn’t get written yet, so you’ll have to use one generated by SCons
— dependency checking isn’t really implemented, yet. Just some basic checks for OpenGL or ALSA, we need something more sophisticated though.
— the OpenGL plugin fails to load for some reason which I can’t debug right now due to the libc debuginfo package version in openSUSE not matching the runtime packages
— there’s even some support for generating install packages (rpm/deb/.. packages, NSIS installer, etc). It doesn’t work properly right now though, since some paths seem to be hardcoded into Dolphin’s source
— probably lots of other stuff I forgot… Just take a look at all the TODOs in the CMakeLists.txt files for more information ;P

Additionally, I added various files to the svn:ignore list.

tl;dr: Unless you are a dev or you’re building binary packages, this commit shouldn’t bother you :P

Скачать:

r6327 x86 – скачать, зеркало

r6327 x64 – скачать, зеркало