Commit Graph

173 Commits

Author SHA1 Message Date
xsacha 2faae384b3 Changes:
- RGBA8 (DX9/OGL): 10x speed up on Radeon 5450, 2x speed up on other cards due to swizzle registers.
 - RGB565: 2-3x speed up on all hardware
 - Removed OpenCL compiler warnings (eg. redefine).
OpenCL is now optimally complete for DX9/OGL. The code is very fast on all supported hardware. No more updates are needed unless the spec changes or drivers improve. When I started, the OpenCL code was as slow or slower than CPU. Now, using the lowest end radeon that supports the code: a Radeon 45xx mobility, I experience a substantial 2-10x speedup over CPU. The benefits are more pronounced with modern hardware. A Radeon 5870 runs this code 20x faster than a 4550. Even ignoring speedups, the code benefits users by not using CPU for intermittent texture loads (unless GPU is your bottleneck). Instead, the CPU is able to do more important tasks.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5775 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-24 04:06:03 +00:00
xsacha 1b670a9825 New OpenCL update for DX11
Changes:
 - IA4: 2x Speed up for all hardware and ATI glitch fixed (blocky text)
 - IA8: 2x Speed up for all hardware
 - New DX11 OCL Textures: I4, I8, IA4, IA8

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5766 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-22 06:09:21 +00:00
Orphis 2cc5b98f07 Added OpenCL texture decoding to RGBA usable by DX11 for formats RGB565, RGBA8, RGB5A3 and CMPR
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5765 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-22 03:10:43 +00:00
Orphis 1198ae1c97 Fix color precision problems when decoding CMPR and RGB5A3 textures with OpenCL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5763 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-21 22:21:06 +00:00
xsacha 92c98ac5fa A new update for OpenCL.h.
Changes:
 - Strict casting as required by NVidia. Now NVidia cards should work.
 - Fixed Alpha CMPR bug.

Please tell me if you find any bugs. Current known bug is the 'Press' texture in Paper Mario that is meant to flash rainbow colours appears black. Other than that, everything should work on every videocard.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5759 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-21 13:09:25 +00:00
xsacha 783390539d Hi! This is my first commit so be nice :)
New OpenCL updates:
 - OpenCL bug with ATI SDK (GPU or CPU) fixed.
 - IA4 texture loop unrolled. 12x speed up on 4xxx series.
 - Completed rewriting RGB5A3 texture decode. 20% faster.
 - Redundant code removed from CMPR and RGB5A3 (Alpha, shift).
 - Made use of optimised OpenCL functions (upsample, bitselect).
 - Cleaner code.

Tested and working with DX9 plugin. DX11 plugin will NOT work due to a recent commit affecting VideoCommon. You can use this file with an older DX11 plugin (~r5730), however.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5753 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-20 16:43:21 +00:00
luisr142004 be3c06f326 Some more OCL changes : Gives 10x speedup for RGB5A3 on pre-DX11 hardware. Minor speedup for CMPR. (code by xsacha)
plus a segfault fix for issue 2779

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5751 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-20 05:02:26 +00:00
luisr142004 ab1e5f8537 apply a patch done by xsacha :) + some minor stuff :p
what changes do: cmpr decoding is fixed and rgb5a3 is re-enabled

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5744 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-19 07:59:53 +00:00
Shawn Hoffman 4a0c8fc0c9 Hg:
enable newline normalization
get revision number via `hg svn info` for svnrev.h
ignore incremental/generated binary files (windows/VS at least)
leave a comment if some files need native eol set in svnprops

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5637 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-09 01:37:08 +00:00
Soren Jorvang 664cea45c7 Meta:
Using Unix tools to operate on a tree containing filename with spaces in them
is really annoying, so rename the handful of instances where there were spaces.

Host.cpp has never been used.

Games tend to lookup the following directories that we don't yet have anything
to put in, so prepopulate them in Data/User/Wii:

title/00010001
title/00010002
title/00010003
title/00010004
title/00010005
title/00010006
title/00010007
meta
shared2/title
 
Set eol-style native on a number of text files which didn't already have it.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5572 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-02 18:00:22 +00:00
ayuanx 92ef4f1156 1. Fixed the freeze issue in "Super Mario Galaxy" and other games, which was introduced since r4762
2. Fixed Issue 1909
   Multi-Nunchuck control problem

3. Updated SYSCONF, which should enable games that require MotionPlus, such as "Wii Sports Resort"

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4773 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-02 05:15:36 +00:00
ayuanx d62d6b0c33 Now Dolphin officially supports Multi-WiiMote (up to 4)
* You can connect/disconnect one or more WiiMote from Menu->Tools any time (must pause game first)

* Up to 4 Emulated Wiimotes can work together at the same timer

(PS: "Wiimote_Real" needs to be rewritten to support Multi-WiiMote, and it could be broken already now)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4736 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-27 19:31:02 +00:00
skidau 043681a37f Dolphin now uses the first OpenCL device found on the system.
Added cast in TextureDecoder.cl to satisfy the OpenCL compiler (thanks, Orphis).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4718 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-23 01:31:42 +00:00
ayuanx 97090337e3 WC24 config and mailbox files
Don't let the BIN suffix mislead you, they are not binary code

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4709 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-18 12:09:17 +00:00
Orphis 7a2bad4efb OpenCL: Fixed and enabled CMPR decompression
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4448 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-22 01:42:21 +00:00
Orphis 094c73a080 OpenCL: Moved the OpenCL code from the compiled source to a separate file TextureDecoder.cl and added a .rules files to copy the updated version to the build directory.
Fixed RGB5A3 decoding with alpha
New CMPR decoding, blocks with no alpha are great, still have to figure the problems with transparent blocks. Disabled for now.
Added a better error reporting to the base OpenCL functions

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4439 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-20 00:55:07 +00:00
hrydgard 5049fcf9f5 Copy licence.txt into Data directory to be sure it gets copied to the Binary/ directory on build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4390 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-10 09:57:18 +00:00
LPFaint99 649dc12a64 have dolphin default to portable
some ignores added
x64 compile fix thanks to facugaich

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4151 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 02:09:13 +00:00
Shawn Hoffman 02d8bb631a Merge dolphin-shaders-database 2011-08-21 02:12:30 -04:00
Marcus Wanners f3d96b0d61 ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3955 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-09 21:53:42 +00:00
Marcus Wanners 3fbb9d66e3 Initial directory structure. 2009-08-09 21:01:41 +00:00
Marcus Wanners 95b39da7ca Tooltip for Free Look setting.
Postprocessing: Major improvements to nightvision2. Should actually "enhance the game's graphics in a way". Much, much better than the old version.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3951 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-08 22:01:18 +00:00
Marcus Wanners 43adc4f194 Postprocesing: New nightvision shader. Yay?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3941 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-05 17:05:27 +00:00
omegadox e4a9faeba4 GFX: updated Dates, code formatting cleanup, code cleanup / organization, some unknown BPs uncovered, fixed OGL's config dialog bug, added another shader
DSPHLE: Some warning fixes and added some logging for unknown voice cases
Please report if anything has broken.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3884 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-26 09:52:35 +00:00
itsnotmailmail 232217c1cd Added the ability to install WADs (such as DLC WADs). Currently it just installs a WAD when booting it fails (when it's not bootable), I'm not sure whether there should be a menu option specially for installing WADS...
note: If you previously manually installed WADS by creating a *file* called "CONTENT", trying to reinstall that WAD automatically will fail unless you delete the file.

Added some empty log files that some games require for DLC to be recognized.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3474 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 02:50:54 +00:00
omegadox 4395417b68 some more shaders...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3453 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 17:40:33 +00:00
XTra.KrazzY 0609a1fa9e Added grayscale post processing shader
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3439 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 09:22:58 +00:00
omegadox 8721dae6e1 More Shaders :), Fire2, Stereoscopic, toxic, christmas, and more...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3438 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 08:56:13 +00:00
omegadox ecf073ee15 Create some shaders
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3434 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 00:24:00 +00:00
XTra.KrazzY 46f8178ab1 New shader: Everything looks like the sun is setting. Otherwise called 'crazy colors'
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3404 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-10 09:08:05 +00:00
sl1nk3.s 82154abdd5 Postprocessing - quick fix for mad_world shader failing to compile (ATI cards only ?)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3403 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-10 02:47:02 +00:00
hrydgard 3717578d7c Postprocessing - lame toon shader. (ok ok I'll stop :p)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3400 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 23:23:33 +00:00
hrydgard 212aa292bc Postprocessing shader: Make every game look like Mad World :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3399 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 22:48:51 +00:00
hrydgard 919ca8ac6d Postprocessing: new and improved acidtrip shader :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3393 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 19:56:03 +00:00
hrydgard df91fc8648 Post-processing: Added options to graphics config dialog.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3391 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 19:40:47 +00:00
John Peterson 92cfcd00d1 IR Pointer: Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3386 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 04:14:13 +00:00
John Peterson a1a722997a IR Pointer: Added Punch Out calibration
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3385 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 04:12:27 +00:00
hrydgard e9a08dc281 Add vignette to bloom shader, for that NEXT GEN FEELING!!! :D (eh)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3382 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 20:29:20 +00:00
hrydgard 085fa5f526 Simple post-processing shader implementation. No UI yet. Does not work together with AA yet. To use shader bad_bloom, for example, set PostProcessingShader under [Enhancements] in gfx_opengl.ini.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3380 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 19:42:25 +00:00
John Peterson 1e2bedbf7e Wiimote: Added RE4 IR pointer calibration
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3315 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-03 20:52:12 +00:00
Shawn Hoffman b0ea0f349b disable sysconf progressive scan by default, fix discrepancies between some corestartup parameters and sysconf settings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3172 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-07 21:16:52 +00:00
omegadox c441cde4c6 Small fix with GameConfig.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2542 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-04 09:55:55 +00:00
Shawn Hoffman 0ecebf5348 Merge dolphin-cheats-database 2009-03-04 09:46:25 +00:00
omegadox 46c6b9fd52 GameConfig should now update from the dolphin-cheat-database SVN now, don't need to copy the INIs to this SVN anymore. :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2541 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-04 09:46:24 +00:00
daco65 7274cb4dce nakee reminded me i would merge the ini database with the main svn once in a while
so here you go :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2537 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-03 14:48:44 +00:00
John Peterson 491e24792a Emulated Wiimote Configuration: Added a pre-configured 'IR Pointer.ini' file to the Data dir
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2442 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-26 03:10:41 +00:00
hrydgard 56ee6e5497 more f-zero work - no success :( Still fp errors.
maybe we should pull in a full accuracy ppc fp emulator.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1971 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 12:41:01 +00:00
hrydgard c64bae837f Initial work on F-Zero - map & gameconfig. Far from playable - wacky math errors. NOTE: The game only boots if you disable LoadStore in the debugger window menu.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1941 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 21:42:24 +00:00
omegadox 9947a77441 Some INI updates.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1834 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-09 10:48:49 +00:00
daco65 fce24deca5 merging the ini database with dolphin svn.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1701 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-28 14:00:27 +00:00
daco65 d9da0e458a happy now omega? srry for the copy pasta (and replacing the address & value) >_>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1474 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 23:58:01 +00:00
daco65 ee905d5fbd Zelda TP(gc) Pal Speedhackzz
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1473 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 23:51:12 +00:00
hrydgard 7fd4a530ac Fire Emblem Wii speedhack.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1471 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 23:29:02 +00:00
hrydgard e450578710 TLB hack plus some project changes. I only get a Konami logo though in MGS. Sonic1, plz fix :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1467 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 22:20:50 +00:00
memberTwo.mb2 9b801927fa MP3 PAL speedhack
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1452 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 23:22:44 +00:00
Shawn Hoffman 9a7a02fe63 bugfixes for patches and isoproperties (and starting on edit/add patches)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1370 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 20:55:45 +00:00
daco65 ec7c4ad53f ported the fire emblem speedhack to pal.
also added size 3 to some action reply stuff (im not sure it works, all my size 3 codes are special codes)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1349 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 21:36:45 +00:00
XTra.KrazzY 5cd325991b Small Fire Emblem JAP Speedhack
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1348 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 18:00:18 +00:00
hrydgard 47088d882e paper mario minor speedhack
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1345 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 15:13:22 +00:00
hrydgard cb63a96dae Fire Emblem GC US speedhack, helps ~10-15%
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1343 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 14:59:35 +00:00
John Peterson e168f95257 Moved back SYSCONF to shared2/sys, it was probably unnecessary to have it in two places
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1325 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-29 00:06:38 +00:00
memberTwo.mb2 f1ab625f5c Speedhack for MP1 JAP. Thanks to HyperIris.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1294 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-25 21:00:30 +00:00
Shawn Hoffman 0b5fed62c1 ISOProperties.cpp can now toggle and remove cheats/patches. Still have to do add/edit. Put PatchEngine in it's own namespace, changed format of patches.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1289 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 19:11:15 +00:00
memberTwo.mb2 0d714b9971 same speedhack for MP1 PAL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1287 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 17:08:34 +00:00
hrydgard ac970f100e Same hack for Metroid Prime 2 US
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1274 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 16:51:17 +00:00
hrydgard a65917f93d Added similar speed hack for Metroid Prime 1 US
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1273 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 14:24:30 +00:00
hrydgard 7dfbc574ae Increase default JIT cache size to 16MB. Tweak the mp2 pal speed hack.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1272 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 13:09:10 +00:00
hrydgard f87c709aa9 Added speed hack engine (way to make block take more cycles). Added example speed hack for Metroid Prime 2 PAL. (Speedhacking is only useful on games with really stupid idle loops, like the Metroids).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1271 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 12:59:10 +00:00
John Peterson f6b30b1680 Bugfix, and moved readme file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1190 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-16 22:05:07 +00:00
John Peterson 0dde3cc683 And the data
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1189 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-16 20:09:40 +00:00
Shawn Hoffman e6a34eed9f update gameconfig files so they match new format given by ISOProperties, add missing map file from new sir structure.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1127 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 18:41:46 +00:00
Shawn Hoffman ffe1a671ea added files and svn ignore settings to the new file structure
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1069 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-04 21:20:12 +00:00
daco65 268509e32a Initial directory structure. 2008-10-05 12:30:45 +00:00