Commit Graph

362 Commits

Author SHA1 Message Date
skidau 8e2eaf46e2 Merge pull request #1047 from Linktothepast/master
Gameini cleanup.
2014-09-13 18:28:02 +10:00
Linktothepast b32bfdfddb Gameini cleanup.
This is a cleanup of the gameini database. Specifically:
It removes the "Issues=..." lines and their respective comments since
they don't show up in the gui, are very old and wrong in most cases.
They contain probably more than 4 year old comments (i don't have a clue
who or when wrote them).
Also remove the "EFBCopyCacheEnable = True" lines from the database.
These were put at a time that efb to Ram had resolution issues without
cache being enabled, safe texture cache could be disabled and speed was
detrimental. Now that efb to ram doesn't have the same res issues as
back then, safe texture cache can't be disabled with speed gains being
non existent (you get even a speed hit if texture cache is put to safe)
i think it should be removed from the database.
2014-09-09 16:07:03 +03:00
Augustin Cavalier a15d9ed0b6 Migrate PNGs from DolphinWX to the Data/Sys/Resources directory.
* Aren't used by anything (yet) as DolphinWX compiles XPM versions into the build
 * Moved the .desktop file as well, adjusted INSTALL rule accordingly
2014-09-06 11:47:21 -04:00
Linktothepast 636dbc32d7 Gameini updates.
Updates gameinis for various us wiiware titles. How to Train Your Dragon
2 (wii), Opoona (wii), The Legend of Zelda: Collector's Edition (gc),
Super Mario Sunshine (gc), Super Monkey Ball 2  (gc) updated.
Fixes issues 7491, 7447 and 7581.
2014-08-21 01:42:23 +03:00
Ryan Houdek 32fe37d834 Change all the post processing shaders to the new system.
Removes the README.txt file in favour of a new wiki page I'm going to generate.
2014-08-13 01:05:15 -05:00
Ryan Houdek bc9ef95643 Support Sampler binding in the shader.
In the cases where we support the binding layout keyword, use it for more than binding UBO location.
This changes it so it is supported for samplers as well.

Instances when this is enabled is if a device supports GL_ARB_shading_language_420pack, or if it supports GLES 3.10.
2014-07-18 17:04:03 -05:00
Scott Mansell 3763cf5917 Update the Pokemon snap Pal ini to match NTSC.
Game is really broken without EFB2ram.
2014-07-17 21:13:19 +12:00
Lioncash 3d66e859d4 Merge pull request #481 from Linktothepast/gameini_updates
Gameini updates.
2014-06-22 14:20:35 -04:00
Linktothepast 6cc940b233 More ini updates.
Adds Genesis virtual console games to the database. Fixes issues 7400
and partly 7396. Update for Mario Sunshine (gc), Despicable Me (wii),
Chicken Little: Ace In Action (wii), and a couple of Wiiware titles.
2014-06-21 09:14:15 +03:00
MaJoR1 b303a3d9e6 Clean Theme R2 Changelog
The clean theme was a little rushed. There was barely over a week between it's start date and the 4.0 release, and there was school and other crazy going on at the time. Having lived with the clean theme for a while, the weaknesses of the theme was really beginning to irritate me. So I've taken my time and worked on them over the past few months, and used them day to day to get the feel of them. The result is much better overall - everything has been tweaked from the ground up!

While there is a "full" changelog below, the primary change is a transitions from a gradient + dropshadow (and sometimes etch, don't think about it too hard) to a gradient + etch style. It's the same icons and the same style just, dare I say, cleaner? It's also much more variation friendly, allowing consistant results across all the colors and sizes. It pays off big time; everything that isn't default is drastically improved. For those that just use default, it's still better, thanks to the higher quality.

In my view, this is the completed clean theme.

Changlog:

*No dropshadow - gives the theme a even cleaner look and greatly improves the colored and @2x versions
*Improved etch effect with subtle variations as needed to each icon for best results
*New GameCube Icon - accurate to hardware, matches the accurate wiimote-nunchuk
*Tweaked gradients for a slightly flatter look
*Redone Lite theme. Still weird on light chrome, but awesome on dark chrome. Has a sort of white iPod look.
*@2x icons take better advantage of the higher resolution while still matching
*Improved the open icon's "disc", with precise angles on the reflection and mouseover awesome
*Removed slight curve from the Play icon
*Graphics icon now has a "power light" that no one will ever notice if they don't read this.
*And an obscene amount of tweaks way too small to include here
2014-06-12 22:50:52 -04:00
Rachel Bryk 80f3264b17 Remove fix item hang patch for wind waker.
Apparently it hasn't been needed in an eternity.
2014-06-10 21:04:45 -04:00
Linktothepast e7f8098c3d Gameini updates.
Update that adds NES and SNES (U) Virtual Console games to the database.

Fixes issue 7349 (More Aggressive Twilight Princess Hack), issue 7337
(Def Jam Vendetta No Cutscenes?) and issue 7258 (Madden NFL 2003
requires RealXFB for videos).
Workaround for issue 7322 (Slow audio ingame in various gamecube games
when using HLE, LLE audio works fine.) by enforcing LLE audio for the
affected games for the time being.

This PR depends upon pr #466 "Allow progressive scan to be set by game
ini".
2014-06-10 15:20:02 +03:00
Linktothepast 4fa0cf0597 More gameini updates.
Updates for F-Zero X (n64), Yoshi's story (n64) and Curious George (gc).
Fixes issue 7333.
2014-05-30 19:29:46 +03:00
Linktothepast 17bdb70abd Gameini updates.
Change Nes games efb scaling to 1x. Also fix issue 7314.
2014-05-24 14:39:52 +03:00
Linktothepast 306bc3d829 Gameini updates.
Various changes.
2014-05-24 14:39:52 +03:00
myownfriend 7853766a6b Update emboss.glsl 2014-05-21 17:09:26 -04:00
myownfriend 24027b78e3 Update emboss.glsl 2014-05-21 16:45:32 -04:00
myownfriend 12a9c5f0ce Update fire2.glsl 2014-05-21 16:43:55 -04:00
myownfriend f5579d9816 Update cool1.glsl 2014-05-21 16:42:18 -04:00
myownfriend cd6aa34979 Update acidmetal.glsl 2014-05-21 16:38:25 -04:00
myownfriend c3864db4b3 Update 32bit.glsl 2014-05-21 16:36:46 -04:00
myownfriend 41f13f9c99 Update primarycolors.glsl 2014-05-21 16:29:25 -04:00
myownfriend c2e5e030b0 Update asciiart.glsl 2014-05-21 15:15:48 -04:00
myownfriend 28c1e6c6ca Update 16bit.glsl
Sorry. Made a little copy and paste error.
2014-05-21 15:14:56 -04:00
myownfriend 9b022e023b Update firewater.glsl 2014-05-21 14:55:45 -04:00
myownfriend dd91d86095 Update 16bit.glsl 2014-05-21 14:53:48 -04:00
myownfriend d2a74bf294 Update chrismas.glsl 2014-05-21 14:52:46 -04:00
myownfriend fd1d0e6e1e Update posterize.glsl 2014-05-21 14:51:25 -04:00
myownfriend d8fe09e9b1 Update nightvision2scanlines.glsl 2014-05-21 00:11:11 -04:00
myownfriend 1fe8d1ae16 Update nightvision2.glsl 2014-05-21 00:10:07 -04:00
myownfriend 753a937289 Update auto_toon2.glsl 2014-05-21 00:06:38 -04:00
myownfriend f59c7f25da Update asciiart.glsl 2014-05-21 00:05:13 -04:00
myownfriend d13e9c5aa8 Update stereoscopic2.glsl 2014-05-21 00:00:50 -04:00
myownfriend e43df47cd1 Update stereoscopic.glsl 2014-05-21 00:00:18 -04:00
myownfriend 349a7b59ea Update sketchy.glsl 2014-05-20 23:58:33 -04:00
myownfriend 92d0af2d18 Update sepia.glsl 2014-05-20 23:58:02 -04:00
myownfriend 980b5f8fbb Update primarycolors.glsl 2014-05-20 23:57:31 -04:00
myownfriend 0ef3a7f233 Update posterize2.glsl 2014-05-20 23:55:59 -04:00
myownfriend 8ddad21abc Update posterize.glsl 2014-05-20 23:54:52 -04:00
myownfriend 4c1ef9ba80 Update nightvision2scanlines.glsl 2014-05-20 23:54:11 -04:00
myownfriend 548d872843 Update nightvision2.glsl 2014-05-20 23:53:37 -04:00
myownfriend d5fea64953 Update nightvision.glsl 2014-05-20 23:53:13 -04:00
myownfriend 134fdd0ef7 Update mad_world.glsl 2014-05-20 23:52:32 -04:00
myownfriend 51b0645963 Update invertedoutline.glsl 2014-05-20 23:51:34 -04:00
myownfriend dc59012d5a Update firewater.glsl 2014-05-20 23:49:49 -04:00
myownfriend a926a7c113 Update fire.glsl 2014-05-20 23:48:16 -04:00
myownfriend 00a09d60c1 Update emboss.glsl 2014-05-20 23:47:26 -04:00
myownfriend 2c3f3d63fb Update darkerbrighter.glsl 2014-05-20 23:47:05 -04:00
myownfriend 9218fe9764 Update cool1.glsl 2014-05-20 23:46:31 -04:00
myownfriend 7c3bfaaff6 Update chrismas.glsl 2014-05-20 23:45:33 -04:00
myownfriend 32caf7af19 Update bad_bloom.glsl 2014-05-20 23:44:49 -04:00
myownfriend 4a0150033f Update auto_toon2.glsl 2014-05-20 23:43:56 -04:00
myownfriend 8b0d4db1ac Update auto_toon.glsl 2014-05-20 23:40:18 -04:00
myownfriend a26673163f Update asciiart.glsl 2014-05-20 23:39:48 -04:00
myownfriend 38669a1d16 Update acidtrip2.glsl 2014-05-20 23:34:56 -04:00
myownfriend b36609e991 Update acidtrip.glsl 2014-05-20 23:34:32 -04:00
myownfriend ad7f63669d Update FXAA.glsl 2014-05-20 23:32:29 -04:00
myownfriend 2629d6dfa9 Update 32bit.glsl
Formatted it to be consistent with Dolphin's coding style.
2014-05-20 23:26:47 -04:00
myownfriend bc109e1b58 Update 16bit.glsl
Changed spaces to tabs
2014-05-20 23:25:09 -04:00
Ryan Houdek 34bc14e75d Fixes our post processing shaders so they work under OpenGL ES 3.0
Most of our shaders relied on implicit int->float conversions.
This fixes the assumption that this is allowed
2014-05-05 15:59:49 -05:00
Linktothepast 40bba500b5 More updates.
For 007: Agent Under Fire (gc), SHADOW THE HEDGEHOG (gc), NFL Street
(gc), NFL Street 2 (gc), NBA STREET V3 (gc).
Fixes issues 7224, 7216 and 7238.
2014-04-26 21:47:45 +03:00
Linktothepast b3f611e14a Gameini updates.
Updates game inis for Serious Sam: Next Encounter (gc), CAPCOM VS. SNK 2
EO (gc), Baten Kaitos Origins (gc), Baten Kaitos Eternal Wings and the
Lost Ocean (gc), Sonic Adventure 2 Battle (gc), Sonic Riders (gc), Sonic
Adventure DX (gc), Mini Ninjas (wii), The Legend of Zelda Skyward Sword
(wii).
Fixes issues 7146 and 6440.
2014-04-26 21:47:44 +03:00
Pierre Bourdon c68be42c55 Merge pull request #226 from LPFaint99/Issue6753
Use a 251 block Memory card for games that do not work with larger cards. Fixes Issue 6753
2014-04-03 10:15:43 +02:00
LPFaint99 c7faf2be4c add setting to game inis to use memory card 251 for games that cannot use large memory cards 2014-03-29 10:18:27 -07:00
Linktothepast d618cccccd Gameini updates.
The Sims 2 Pets (gc), NHL 2005 (gc), NHL06 (gc), Blood Omen 2 (gc),
R:Racing Evolution: Life in the Fast Lane (gc), World Of Zoo (wii),
Super Mario Galaxy 1 and 2 are affected.

Fixes issue 7067.
2014-03-29 11:29:33 +02:00
Pierre Bourdon 7286700a1c Do not force DSPLLE in Zelda HLE games anymore. 2014-03-27 10:41:48 +01:00
Linktothepast 82f772fdcc Remove the extra parameters field from the PH.
Metroid: Other M was the only game which required this field, but the
issue in that game can be fixed properly by enabling format change
emulation. Hence, there's no point in having this around anymore.
Fixes issue 6644.
2014-03-15 15:04:39 +02:00
Linktothepast ad7d5a3ed9 Gameini updates.
For Disney's Hide & Sneak (gc), Kelly Slater's Pro Surfer (gc),
Codename: Kids Next Door (gc), X-Men 2 Wolverine's Revenge (gc).
Fixes issue 7024.
2014-02-20 17:57:00 +02:00
Linktothepast 7410bddaf0 Gameini update for FINAL FANTASY FABLES: Chocobo's Dungeon.
Minimap is fixed for the game in latest dev, so removing the emu issue
notes. Testing commit.
2014-02-08 12:29:31 +02:00
degasus 91cddd874b GameSettings: wipe cache display lists 2014-01-31 07:40:37 +01:00
kostamarino@hotmail.com 3a7cd4e873 Gameini database update for Crash Tag Team Racing (gc), Baten Kaitos Eternal Wings and the Lost Ocean (gc), Disney's Magical Mirror starring Mickey Mouse (gc), Disney's Hide & Sneak (gc), Skylanders: Swap Force (wii).
Fixes issue 6984.
Fixes issue 6972.
2014-01-25 19:29:48 +02:00
crudelios cdfe58f7ed Rewrote bounding box algotithm. Fixes issues 5967, 6154, 6196, 6211.
Instead of being vertex-based, it is now primitive (point, line or dissected triangle) based, with proper clipping.
Also, screen position is now calculated based on viewport values, instead of "guesstimating".

This fixes many graphical glitches in Paper Mario: TTYD and Super Paper Mario.

Also, the new code allows Mickey's Magical Mirror and Disney's Hide & Sneak to work (mostly) bug-free. I changed their inis to use bbox.

These changes have a slight cost in performance when bbox is being used (rare), mostly due to the new clipping algorithm.

Please check for any regressions or crashes.
2014-01-25 15:36:23 +00:00
kostamarino@hotmail.com 0a5bd83af2 Gameini database update for Mega Man Anniversary Collection (gc), Tony Hawk's Pro Skater 3 (gc) and WarioWare, Inc. Mega Party Games (gc).
Fixes issue 6959.
2014-01-17 18:14:10 +02:00
Tony Wasserka 5fb8d07953 GameSettings: Deleted references to the ZTP hack. 2014-01-16 00:42:57 +01:00
kostamarino@hotmail.com 6319b1867b Gameini database update. Update for WarioWare, Inc. Mega Party Games (gc) and The Legend of Zelda Skyward Sword (wii). Also remove the emulation notes regarding games using EA VP6 playback library.
Fixes Issue 6830.
2014-01-05 17:02:45 +02:00
Ryan Houdek eb3b933dd0 Remove all instances of OpenCL in the Dolphin Project. A brief history of OpenCL in Dolphin. OpenCL was originally added to the Dolphin codebase 1 month after it was released with OS X Snow Leopard in 2009. OpenCL was one of the largest group projects that Dolphin ever has had. The OpenCL texture decoder was originally aded with version 1.0 of the OpenCL spec; This version didn't have the capability of a OpenCL-OpenGL interop which would allow for uploading textures once and have it decoded directly to a OpenGL texure. This was to be worked out when the OpenCL 1.1 spec was released and allowed the interop. This work has never been done, and no one in the team is willing to work on it for various reasons. OpenCL has had the unreasonable expectation that it increases the performance of video games that require a large amount of EFB copies like NSMBW. In reality, enabling OpenCL just put the graphics card in a higher power mode which increased the game speed. This is due to the unfortunate effect of Dolphin tending to not push GPUs out of their lower frequency power savings modes. Thanks to everyone that had contributed to the OpenCL texture decoder. 2013-12-11 15:15:55 -06:00
Tony Wasserka 6a587c1b31 OpenCL: Use correct license header for TextureDecoder. 2013-12-11 20:35:12 +01:00
kostamarino@hotmail.com 1763dc2076 Gameini database update. Beyond Good and Evil (gc), Hunter: The Reckoning (gc), MARIO SUPERSTAR BASEBALL (gc), Heavy Fire Special Operations (wiiware), Tiger Woods PGA TOUR 2005 (gc), Tiger Woods PGA TOUR 06 (gc), Midway Arcade Treasures (gc), Midway Arcade Treasures 2 (gc), Midway Arcade Treasures 3 (gc), FINAL FANTASY Crystal Chronicles (gc), Freestyle Metal X (gc), Hunter: The Reckoning (gc), Finding Nemo (gc), Tony Hawk's Pro Skater 4 (gc), Yogi Bear (wii), Ghost Mansion Party (wiiware) are updated/added.
Fixes issue 6773.
Fixes issue 6774.
Thanks nash67 for his help.
2013-11-22 14:03:12 +02:00
Ryan Houdek c8d7db9767 Fix FXAA shader for OpenGL ES 3. 2013-10-29 07:24:16 +00:00
Ryan Houdek cfa709a1c5 This introduces a FXAA post processing shader for our OpenGL backend. I would like to acredit mudlord for making this possible. He provided the code necessary for making this PP shader possible. Without it, this shader would have still not been done. So a major hats off for doing all the hard work mudlord. 2013-10-27 17:45:53 -05:00
kostamarino@hotmail.com 0eba84c09f Gameini database update. Carmen Sandiego(gc), Ed, Edd n Eddy (gc), Ice Age 2 The Meltdown (gc), The Incredibles(gc), Jedi Knight II: Jedi Outcast(gc), Enter The Matrix (gc), X-Men Next Dimension(gc), Project Zero 4 (wii), Resident Evil Archives: Resident Evil Zero (wii), Shaun White Snowboarding: Road Trip(wii), GoldenEye007 (wii), Namco Museum 50th Anniversary (gc), Future Tactics (gc), The Grim Adventures of Billy & Mandy (gc), NASCAR 2005 (gc), NAMCO MUSEUM (gc), MVP Baseball 2005 (gc), BIONICLE (gc), TY the Tasmanian Tiger 2 (gc), Blast Works Build, Trade, Destroy (wii), The Croods Prehistoric Party (wii) and various Japanese games are added/updated.
Fixes issue 6751.
Fixes most ini files from issue 6726.
Thanks to nash67 for his help.
2013-10-24 23:19:17 +03:00
comex bf352c3ed0 Update Global Melee Netplay Settings to add Pokemon Stadium. (There is probably a better way to manage this.) 2013-10-19 18:20:25 -04:00
degasus 5a212a8fe0 jit64: enable faddsx again
It was disabled because of issue 182, but as this game depeneds on FPRF, it was just 'fixed' because of the fallback to interpreter (which implements FPRF by default).
Also enables FPRF for this game via GameIni, so that the issue is still workaround.

If there are any regressions because of this commit, please try to enable FPRF in GameIni.
2013-10-17 01:43:16 +02:00
kostamarino@hotmail.com e9c2c16c93 Gameini database update. "RESIDENT EVIL CODE VERONICA X" added, "The Incredible Hulk:Ultimate Destruction" added some game regions, "Xenoblade Chronicles" updated and added NTSC region, SAMURAI WARRIORS 3 updated, Lord of the Rings: Aragorn's Quest disabled idle skipping for a speed boost.
Fixes issue 6676.
2013-10-12 14:01:49 +03:00
kostamarino@hotmail.com 8a993b44b6 Big gameini database update. Remove most projection hacks enabled by default in gameinis since they are no longer needed after the removal of d3d9 and they can create issues. All of those were there to improve compatibility of the direct 3d9 backend. Also remove direct 3d 9 references in emulation issues since they are no longer relevant. Improve speed of Battalion wars (gc) and Battalion Wars 2 (Wii) by disabling idle skipping (both slowed down considerably with it enabled). Enable by default lle audio in lightweight gc games with issues using zelda hle, specifically Pikmin 1 and 2 (GC), and Mario Kart double dash (GC). The Hulk(gc), Godzilla(gc), Project Zero 2(wii), Wild West Guns (wiiware), Bit Boy!!(wiiware) are added in the database. Sengoku BASARA, FFCC THE CRYSTAL BEARERS updated. 2013-10-06 16:57:27 +03:00
comex a2fd52ef4f Move existing Melee AR codes to be for revision 0 and add JMC's for revision 2.
He claims they don't work on that revision either, but from a quick
Google they (most of them?) seem to be intended for it, so keep them in
case they're useful for anyone.
2013-09-28 23:38:40 -04:00
kostamarino@hotmail.com cb715f4fc9 Gameini database update. Enforce LLE recompiler in Wind Waker to prevent a situation where LLE interpreter might be enforced without wanting it. If the user selected in the general sound settings LLE interpreter, closed the window to apply it and then reopened it to select HLE, running Wind Waker afterwards would enforce LLE interpreter on boot. 2013-09-28 16:47:42 +03:00
kostamarino@hotmail.com ad73efda57 Gameini database update.
Fixes issue 6662.
Fixes most of the games in issue 6666.
2013-09-27 18:39:13 +03:00
comex 0787019cbe Check in 2x versions of Clean*. Thanks, MaJoR1! 2013-09-25 02:06:53 -04:00
kostamarino@hotmail.com 823bb44ba7 Gameini update for Skies of Arcadia and Call of duty Black Ops. Both games don't need projection hacks any more, they work perfectly fine with all backends. Skies of Arcadia actually had an issue of improper shadows with the projection hack if opengl and d3d9 was used in latest dolphin builds. 2013-09-24 01:39:48 +03:00
kostamarino@hotmail.com e544894f14 Gameini database update of Metroid: Other M. The game actually needed emulate format changes and not a projection hack to work properly. Disabled the projection hack and the game now works fine with all backends (it didn't with d3d11).
Fixes issue 4226.
2013-09-23 23:49:15 +03:00
Pierre Bourdon 1f95a294cd Add the new 'Clean' themes from MaJoR and default to Clean by changing the name of the config key (yes, hack) 2013-09-22 16:00:56 +02:00
kostamarino@hotmail.com a2a01d2fc9 Gameini database update.
Fixes issue 6531.
Fixes issue 6532.
2013-09-16 18:49:17 +03:00
Pierre Bourdon 501eafb407 Overlay local gameinis over global gameinis instead of copying.
Huge megacommit because a lot of things needed to be modified to make this
possible.
2013-09-14 17:46:41 +02:00
Pierre Bourdon aa202c2e21 Move global gameinis from User to Sys. Get rid of SHARED_USER. 2013-09-14 06:08:30 +02:00
Pierre Bourdon 86e765f3eb Move Themes/ from User to Sys. Only Gameinis remain. 2013-09-14 06:08:30 +02:00
Pierre Bourdon 91a758b342 Move TextureDecoder.cl from User to Sys 2013-09-14 06:08:30 +02:00
Pierre Bourdon c3eec379df Move global User/Wii to Sys/Wii 2013-09-14 06:08:30 +02:00
Pierre Bourdon e7213ca4b1 Overlay the user Shaders/ over the shared one to avoid copying files 2013-09-14 06:08:30 +02:00
Pierre Bourdon 6bdb6585d6 Overlay the user Maps/ over the shared one to avoid copying files 2013-09-14 06:08:29 +02:00
skidau 7784fa4c67 Merge branch 'master' into wii-network
# By Ryan Houdek (185) and others
# Via degasus (12) and others
* master: (625 commits)
  Revert "Don't open/close file for every file operation." as it was crashing PokePark in Windows builds.
  Array overrun fixed in VertexShaderCache for the DX11 plugin.
  Fixed DSPTool build.
  Windows build fix
  Go back to assuming every HID device is a wiimote on Windows. Fixed issue 6117. Unfixed issue 6031.
  VideoSoftware: Improve fog range adjustment by using less magic and more comments.
  revert RasterFont for VideoSoftware
  ogl: fix virtual xfb
  Windows build fix from web interface...
  Adjusted the audio loop criteria, using >= on the Wii and == on GC.  This fixes the audio static that occurred in Wii games after hours of play.
  Forced the exception check only for ARAM DMA transfers. Removed the Eternal Darkness boot hack and replaced it with an exception check.
  VideoSoftware: Implement fog range adjustment, fixing issue 6147.
  implement 4xSSAA for OGL
  move ogl-only settings into backend
  Fix description of disable fog, and move it to enhancements tab.
  Reverted rd76ca5783743 as it was made obsolete by r1d550f4496e4.
  Removed the tracking of the FIFO Writes as it was made obsolete by r1d550f4496e4.
  Forced the external exception check to occur sooner by changing the downcount.
  Mark the Direct3D9 backend deprecated.
  Prefer D3D11 and OpenGL over D3D9 by default.
  ...

Conflicts:
	CMakeLists.txt
	Source/Core/Common/Common.vcxproj.filters
	Source/Core/Common/Src/CommonPaths.h
	Source/Core/Core/Core.vcxproj.filters
	Source/Core/Core/Src/Core.cpp
	Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp
	Source/VSProps/Dolphin.Win32.props
	Source/VSProps/Dolphin.x64.props
2013-03-27 13:19:23 +11:00
Pierre Bourdon 9a404ca6d4 Ship by default a free DSP ROM that can handle most games with LLE
At the end of July 2011, LM published a free DSP ROM that works with games
using the Zelda UCode. His ROM only has the code to handle UCode loading and a
few utility functions, the rest is missing. This includes the four large sound
mixing functions used by the AX UCode and the DROM containing coefficients used
for polyphase resampling in AX.

This is an improved, updated version of this ROM, which changes the following:

- We now have a free DROM that works for polyphase resampling by "emulating"
  linear interpolation. The coefficients contained in the DROM are normally a
  list of { c1, c2, c3, c4 } which are used to interpolate a sample value from
  four previous samples:
    out_sample = prev1 * c1 + prev2 * c2 + prev3 * c3 + prev4 * c4

  The coefficients are chosen depending on the fractional part of the current
  position (basically, our position between the previous and the next sample).
  We can use this fact to generate (c1, c2, c3, c4) for each possible
  fractional part so that:
    out_sample = prev3 * curr_pos + prev4 * (1 - curr_pos)

  Which is the formula for linear interpolation between prev3 and prev4. Linear
  interpolation is not as good as polyphase resampling but it still works very
  well and I couldn't really hear any difference between the two. If someone
  wants to generate real polyphase filter coefficients, they are welcome to
  submit a patch.

- The IROM now contains the 4 mixing functions used by the AX UCode: mix_add,
  mix_add_two, mix_add_ramp, mix_add_ramp_two. They are large, inlined
  functions (probably for performance reasons) in the official DSP IROM, our
  version prefers to use a loop. This *should* be more performant with our DSP
  JIT implementation, but I did not benchmark that.

Because the new DSP ROM is working just as well as the official ROM in 95% of
cases, it is now shipped by default with Dolphin and will be used with DSPLLE
if you don't have an official DSP ROM in User/GC. It will still display a panic
alert at every boot to notice you that you are using a non official DSP ROM
made by us, which is not perfect.

Games using the CARD, IPL or GBA UCodes are still broken. I don't know what
games this actually impacts, but this is a very small proportion compared to
what works.
2013-03-16 23:54:55 +01:00
Matthew Parlane ca4ea817e0 Merge branch 'master' into wii-network
Conflicts:
	Source/Core/Common/Src/CommonPaths.h
	Source/Core/Common/Src/FileUtil.h
	Source/Core/Core/Src/HLE/HLE.cpp
	Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.cpp
2013-01-26 21:46:12 +13:00
Matthew Parlane e0c9a1fd09 Merge branch 'master' into wii-network
Conflicts:
	Source/Core/Common/Src/CommonPaths.h
	Source/Core/Core/CMakeLists.txt
	Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp
	Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.cpp
	Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp
2013-01-01 23:28:46 +13:00
skidau 95f6685900 Changed the HLE system to allow it to hook the beginning, the end or replace the entire function without changing the GC memory. Fixes Kirby's Return to Dreamland.
Added a way to categorise the type of HLE function.  Currently, there are debug, floating point, memory and generic functions.
Added a HLE function for OSGetResetCode (Warm reset).  Fixes the CSI games.
Added a switch to disable all of the HLE functions if the idle skipping option is disabled.
2012-12-28 14:26:46 +11:00
skidau fbdf9ba153 Added preliminary support for ES_LAUNCH (Wii Multi-boot games) by using HLE to hijack the OSBootDol function.
Metroid Prime Trilogy is working.  Wii Sports+Wii Sports Resort is not working.  Any games which can be played using the dol replacement trick should work here.

Suspect that the DOL's are meant to receive an argument list which has not been catered for in this code.  This probably also means that the Metroid Prime Trilogy games are locked in Veteran difficulty for the time-being.
2012-12-26 23:06:42 +11:00
Ryan Houdek 532fdada96 Adds the Wii Korean settings file. It was handled in the wii-network branch in rev c42a6f156e. Master handles the settings files differently. Until wii-network merges in to master, this closes issue 5642. 2012-12-14 11:37:26 -06:00
Matthew Parlane 53b624c381 No longer need settings files. 2012-01-31 17:03:04 +13:00
skidau b9547a07f5 Updated the Gecko code handler to the latest version from Gecko OS 1.9.3.1.
Added a check to ensure that the number of codes fits in memory (maximum 231 codes).
Store a copy of codehandler.bin in the Sys directory.
2012-01-03 01:24:17 -05:00
Shawn Hoffman a80429b020 Fix the wiimote speaker problem in the core and remove the HLE patch for it.
Real wiimote tested on windows, untested but should work on linux, dunno about osx.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7272 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-02 12:06:06 +00:00
skidau d92aad4430 Added Wiimote speaker support by hack patching out the IsBusyStream function using HLE. DSP LLE is required to process the speaker data. This commit works with real Wiimotes. I have added the code to decode the audio from the emulated wiimotes but have not added the code to output their audio to the PC speakers.
* Added HLE function IsBusyStream which signals that the Wiimote is ready to accept speaker data.  This function is not a conversion from the real PPC code.  It a simple function that returns the "ready" status after being polled.
* Added code to find and patch HLE functions on boot
* Added 4bit Yamaha ADPCM decoder from the ffmpeg project
* Removed some test code
* Added some copyright notices

Fixes issue 438.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7225 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-22 12:48:35 +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