Commit Graph

75 Commits

Author SHA1 Message Date
xsacha 434e6b1198 Small update to fix some cmpr alpha issues with games that use linear filtering. Apparently the colour values matter even though alpha = 0.
Also, remove redundant ANDs.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5787 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-25 19:31:26 +00:00
Shawn Hoffman cd83b44a45 remove svn:eol-style native from Data/User/Wii/shared2/wc24/mbox/Readme.txt in case it matters.
note the other changed file in Data/User/Wii is a dolphin-unique file (which probably doesn't need to exist anymore), so its properties don't really matter.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5785 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-25 00:35:43 +00:00
Soren Jorvang 72efd56389 Set eol-style native on remaining text files.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5783 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-25 00:00:04 +00:00
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
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