Commit Graph

83 Commits

Author SHA1 Message Date
LPFaint99
5c15292fd8 BS2: check the hash of the loaded ipl.bin file
remove some extra + chars from a few ini files (copypasta from a patch?)
2011-08-22 20:49:21 -07:00
LPFaint99
1d29204ae6 Windows: Sets the cwd to the folder that dolphin.exe resides in.
Removes the ugliness that was the portable file, and now creating a shortcut or file association is less of a pain
it is still necessary to modify the file association from ".../dolphin.exe" "%1" to ".../dolphin.exe" /e "%1"

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7593 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-11 20:45:09 +00:00
Shawn Hoffman
4a5ac3aa54 data/user/wii/shared2/sys/readme.txt isn't really accurate or necessary anymore.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6644 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-22 06:21:07 +00:00
Glenn Rice
05ad8d01d3 Fix TextureDecoder.cl to work on both NVidia and ATI video cards.
To do so I had to re-add the casting bloat removed in revision 6102.  Also, for some odd reason the NVidia OpenCL drivers don't like 8 bit rotations, but are okay with 2, 4 bit rotations.  These are apparently bugs in the NVidia drivers that are hopefully fixed in future versions.
Also, on linux make sure the TextureDecoder.cl file is copied from the shared data directory to the users directory.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6611 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-19 14:59:57 +00:00
Glenn Rice
73da637a42 Rename wii wc24 system files to lower case as on the wii itself. These files are not detected on linux unless the case matches. This fixes an issue when Mario Kart Wii (and possible other games) is run with a clean user directory that renders the game unplayable.
Also fix some compiler warnings.
On linux don't install the license.txt file.  Most distributions handle license files via a package.  For example on debian based systems this gives a lintian warning.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6568 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-12 15:25:03 +00:00
Soren Jorvang
f169def36f First pass at dealing with different size_t/off_t sizes in C90 environments.
Most of the code dealing with the LogTypes namespace was C which lead to a
lot of nonsensical casting, so I have dumbed LOG_TYPE and LOG_LEVEL down to
plain C even though the move of wiiuse into Source means we don't currently
call GenericLog from C.

Set logging threshold to MAX_LOGLEVEL at startup so debug builds will also
p  rint debugging messages before the GUI is running.

For some reason the way we use SetDefaultStyle doesn't play nice with wx 2.9
so we just get the default black text on a black background. Using a gray
background works around that problem, but I found it to also be much easier
on the eyes so I have switched the background color on all versions.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6528 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-05 15:59:11 +00:00
Jordan Woyak
73ed235fd1 Changed macro for disallowing copy-ctor and =operator into an inheritable class. Removed IrPointer.ini (no longer used)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6421 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-15 05:29:10 +00:00
xsacha
963ece2017 Remove unnecessary casting bloat. Since AMD Stream 2.2 this is no longer a requirement.
Stream 2.2 is minimum requirement for OpenCL 1.1 and binary kernels as well (I hope to implement these soon).Remove unnecessary casting bloat. Since AMD Stream 2.2 this is no longer a requirement.

Sidenote: Stream 2.2/Catalyst 10.7b is minimum requirement for OpenCL 1.1 and binary kernels as well. I hope to implement these soon. 

For the latest ATI Drivers and SDK:
http://support.amd.com/us/kbarticles/Pages/OpenCL11ATICat107UpdateDriver.aspx

http://support.amd.com/us/kbarticles/Pages/OpenCL11ATICat107UpdateDriver.aspx

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6102 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-16 15:48:46 +00:00
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