Commit Graph

455 Commits

Author SHA1 Message Date
JMC47 99180eaae3 Disable JITFollowBranch for Need For Speed: MW
Need For Speed: Most Wanted crashes with JITFollowBranch enabled when
entering the garage, shop or other buildings from freeroam.
2018-07-15 21:18:11 -04:00
spycrab cc6526f553
Merge pull request #6222 from iwubcode/emulated_input_improvements
Emulated wii input improvements
2018-07-12 20:36:53 +02:00
spycrab b2f1945187 GameINI/N: Disable branch following by default 2018-07-09 22:58:40 +02:00
iwubcode b5db180ac4 Add 'Boom Blox Bash Party' ini that contains Hard/Soft/Medium shake speeds and Fast/Slow/Medium swing speeds. It mimics the 'Boom Blox' ini 2018-07-07 12:55:52 -05:00
iwubcode 6194badeda Add 'Boom Blox' ini that contains Hard/Soft/Medium shake speeds and Fast/Slow/Medium swing speeds 2018-07-07 00:49:47 -05:00
Techjar fe347851f1 Force arbitrary mipmap detection for some games known to use it
This will avoid effects being unexpectedly broken in these games if the user disables the option globally. This list is by no means comprehensive, these are just the games I could confirm use custom mipmaps.
2018-07-01 04:42:47 -04:00
Admiral H. Curtiss 2b1bfc886a Update GameINI settings for the Japanese Pokémon Colosseum Bonus Discs.
These discs use the Pokémon Colosseum engine and thus need Safe Texture Cache for scrolling text to display correctly.
2018-06-03 01:50:29 +02:00
JosJuice e8631dd68b Sync wiitdb files with GameTDB 2018-05-27 22:26:02 +02:00
JosJuice e6ed919672 Remove enforced inaccurate settings from Lemony Snicket game INI
I have no idea why these were here... And the SkipIdle setting
doesn't even exist anymore.
2018-05-23 19:45:20 +02:00
JosJuice a9ffd13305 Game INI updates
https://bugs.dolphin-emu.org/issues/7104
https://bugs.dolphin-emu.org/issues/8452
https://bugs.dolphin-emu.org/issues/9040
https://bugs.dolphin-emu.org/issues/10554
https://bugs.dolphin-emu.org/issues/10059
https://bugs.dolphin-emu.org/issues/10155
https://bugs.dolphin-emu.org/issues/10324
https://bugs.dolphin-emu.org/issues/10758
https://bugs.dolphin-emu.org/issues/10759
https://bugs.dolphin-emu.org/issues/10930
https://github.com/dolphin-emu/dolphin/pull/5702#issuecomment-318903278
https://github.com/dolphin-emu/dolphin/pull/5717
https://forums.dolphin-emu.org/Thread-big-brain-academy-problem
https://forums.dolphin-emu.org/Thread-netflix-instant-streaming-disc-testing
https://forums.dolphin-emu.org/Thread-wii-new-carnival-games?pid=469822#pid469822
2018-05-23 19:43:46 +02:00
JosJuice 517af3f044 Add vertex rounding to game INIs for certain titles
https://bugs.dolphin-emu.org/issues/10186
2018-05-23 16:05:30 +02:00
JosJuice 8ff3124e5e Remove remaining EmuState sections from game INIs 2018-05-23 15:58:07 +02:00
Léo Lam 037040c7a0 Data: Remove /shared2/{ec,succession}
These are created by the ECDK library (used in the Wii Shop Channel
for example) on first use. There's no need to provide dummy files.
2018-05-12 18:59:22 +02:00
John Pansera 84f84c71b6 Force safe texture cache for SimCity Creator 2018-04-23 01:08:24 +02:00
aldelaro5 ff59297213
Remove the now unused dummy debugger icons ressources 2018-04-13 15:31:53 -04:00
MayImilae f59a8a1493 Add basic "breakpoint" icons
Per spycrab’s request
2018-04-11 16:46:35 -07:00
MayImilae 53ad149187 Remove rating icons 2018-04-10 23:36:06 -07:00
MayImilae b86a2ff94d Fixing some photoshop export issues
Whoops, didn’t catch these
2018-04-10 22:26:59 -07:00
MayImilae a441bbfa28 Add new Emerald theme
New colour! Includes debug icons and @4x versions as well
2018-04-10 21:41:25 -07:00
MayImilae 8886d79a97 Add debug icons and @4x versions
Adds the new debug icon set and @4x versions of existing files
2018-04-10 21:40:23 -07:00
JosJuice 91732e2baf Remove support for projection hacks
This isn't really useful for anything anymore as far as I know.
2018-04-01 21:41:18 +02:00
Shawn Hoffman 6a0c15491b Remove EmuState 2018-03-31 16:21:17 +02:00
Shawn Hoffman 180eb35876 Remove EmuState from packaged GameSettings ini files 2018-03-31 16:06:04 +02:00
Léo Lam 289ed21140 GameINI: Add a game patch to work around dcache issue (RX4E4Z)
Work around a dcache issue by preventing the game from doing
something pointless.

The game's DVD read function writes 0x87654321 to the entire read
buffer and 0x12345678 to the last 4 bytes. It then calls DVDReadAsync()
and without waiting for the read to complete at all, it checks if the
last 4 bytes are still 0x12345678. If they are, then the game fails.

The check always passes on console because DVDReadAsync() calls
issueCommand(), which calls DCInvalidateRange(read_buffer) (dcbi).

Dolphin cannot emulate this without an extremely significant
performance hit.
2018-03-02 12:07:17 +01:00
Anthony e7ed4857b1
Merge pull request #6380 from Linktothepast/gameinis
Gameini updates.
2018-02-23 19:44:44 -08:00
Anthony 1e8f4ce84f
Merge pull request #6363 from AwesomeMarioFan/feature2
GameINI: Safe texture cache for uDraw games
2018-02-12 09:29:39 -08:00
Linktothepast db11c4a1be Gameini updates
A few gameini updates
2018-02-10 13:26:01 +02:00
John Pansera 826402007c GameINI: Fix menu in the polar express 2018-02-07 18:26:35 -05:00
John Pansera 57ac96a377 GameINI: Safe texture cache for uDraw games 2018-02-07 12:42:42 -05:00
booto aae8634a58 Clean up codehandler a little; stash msr on stack to preserve 2018-02-03 13:07:25 +08:00
booto 83d18fc2fa Restore original MSR when returning from codehandler 2018-01-14 04:51:48 +08:00
Helios747 78f0ca69ae [INI] Force Single Core mode in Sonic Adventure 2 Battle 2018-01-12 10:25:41 -08:00
Leo Lam 8a9eff1404
Merge pull request #6215 from iwubcode/immediate_mode_fixes
Game Inis: Additional games requiring 'Immediate Mode' off
2017-12-20 17:26:14 +01:00
iwubcode bb0d6cced4 Game Inis: change Rhythm Heaven Fever to have Immediate Mode disabled which is needed for certain levels 2017-11-28 21:24:54 -06:00
iwubcode febeb49df2 Game Inis: set Immediate Mode to false for Xenoblade and Zelda Twilight Princess which are known to have frame pacing issues with it enabled 2017-11-28 21:24:54 -06:00
JosJuice 6344997fad Don't forcibly enable immediate XFB in game INIs
Forcing people to use hacks is a bad idea in general, and there are
two practical problems with doing it for immediate XFB in particular:

1. It breaks the GC IPL, which some users run when launching games.

2. Competitive players don't necessarily want the lowest possible
   latency - they might want the latency that's the closest to console,
   so if they're playing locally with a low-latency monitor, they might
   not want to use immediate XFB. (This isn't a theoretical concern -
   I've seen Melee players want to increase their latency.)

Besides, it feels arbitrary that just these five specific games should
have immediate XFB forced on.
2017-11-27 14:32:27 +01:00
Sepalani b4b80e1be9 totaldb.dsy: RecvFrom and SendTo added 2017-11-19 23:18:50 +01:00
iwubcode 1f1574b7ab Game inis: Update Def Jam: Fight for NY to disable 'Immediate Mode' by default (it has cutscenes) 2017-11-17 22:11:34 -06:00
iwubcode be1853f956 Game inis: Update Wiiware game Midnight Bowling to disable 'Immediate Mode' by default 2017-11-17 22:11:33 -06:00
iwubcode cf8c007769 Game Inis: Turn on immediate mode by default for competitive games (Melee, Brawl, Tatsunoko, Mario Party 5) 2017-11-17 22:11:33 -06:00
iwubcode f8c2806830 Game Inis: Set Zelda Collector's Edition to have Immediate Mode set to false to avoid graphical errors in NES games. 2017-11-17 22:11:32 -06:00
iwubcode 725d14e4c6 Update game inis that need 'Immediate Mode' disabled due to having extra/incomplete frames in XFB. Also add new game inis: disable 'Immediate Mode' on Mushroom Men which needs XFB timing for its videos and disable 'Immediate Mode' on Go Vacation which also has extra/incomplete frames in some minigames. 2017-11-17 22:11:31 -06:00
iwubcode c58010404d Update all inis to remove old XFB settings. Also update Krome Studios games to use 'Immediate XFB' and Rogue Squadron games to disable 'Immediate XFB'. 2017-11-17 22:11:30 -06:00
JosJuice 2d3dd5ede7 Revert "Convert to/from old EFB scale numbering"
This reverts commit 1fc910b3ea,
replacing the old INI setting EFBScale with a new INI setting
called InternalResolution, which has a simpler mapping:

                  | EFBScale             | InternalResolution
----------------- | -------------------- | --------------------
Auto (fractional) | 0                    |
Auto (integral)   | 1                    | 0
1x                | 2                    | 1
1.5x              | 3                    |
2x                | 4                    | 2
2.5x              | 5                    |
3x                | 6                    | 3
4x                | 7                    | 4
5x                | 8                    | 5
6x                | 9                    | 6

All the fractional IRs were removed in f090a943.
2017-11-02 21:39:05 +01:00
Tony Drake 43390f62c4 Add INI file for Midnight Bowling (WiiWare)
Without virtual xfb, the game will show distorted graphics once leaving
the title screen. This adds an INI file to make the game playable.

The wiki page for this game also notes the need for virtual xfb.
2017-10-21 16:43:38 -04:00
gamemasterplc f7b9c9d06c Add Kirby Return to Dreamland metafortress patch
Only added for US and JP version. Based off gameconfig patch included in USB loaders. gameconfig patch exists for PAL version but not dolphin patch.
2017-09-01 21:21:21 +02:00
Léo Lam 7ecd22200f GameINI: Add INIs for Brawl VC games
Brawl ships with VC games that have their own ID and are different from
the VC releases.
2017-08-23 12:07:59 +02:00
Leo Lam 01cea374a6 Merge pull request #5907 from gamemasterplc/master
Fix 8 and 16 bit writes in codehandler
2017-08-17 03:33:23 +08:00
Leo Lam c91211b6ce Merge pull request #5867 from leoetlino/widescreen
GameINI: Replace Wii.Widescreen with AspectRatio
2017-08-11 18:23:54 +08:00
Michael M fcb1eb9d3b dsp_rom: skip bootucode_ax when running from entrypoint
This could cause the first branch of the bootucode procedure, which
takes its parameters from the AX registers, to run during the ROM init
sequence. Since the ROM doesn't set any of the AX registers, the values
aren't meaningful, and can cause bad DMA transfers and crashes.
2017-08-10 10:53:12 -07:00
gamemasterplc 0f4c3a2ae1 Fix 8 and 16 bit writes in codehandler
The codes would both overwrite where it should and 16400 bytes after where it should. The bug was caused by a usage of an incorrect register.
2017-08-08 18:29:20 -05:00
JosJuice 1fc910b3ea Convert to/from old EFB scale numbering 2017-08-08 12:09:50 +02:00
JosJuice f090a94319 Remove non-integer IRs 2017-08-08 12:09:50 +02:00
Léo Lam e58ba76f07 Don't force the aspect ratio in GameINIs
Instead, add a SuggestedAspectRatio option which tells Dolphin which
aspect ratio to use when the aspect ratio option is set to Auto.
2017-08-05 14:27:16 +08:00
Léo Lam 8ee5253c5b GameINI: Replace Wii.Widescreen with AspectRatio
Wii.Widescreen is a setting that cannot be changed on the fly after
emulation has started, so anything booted after the initial title
will have an unexpected aspect ratio.

We can just set Video_Settings.AspectRatio instead, which *can* be live
changed, since it doesn't involve messing with the SYSCONF at any time.

This is also much closer to the behaviour of the Wii U, which
configures the DMCU to force 4:3 transparently, instead of doing it the
intrusive way (touching the SYSCONF).
2017-08-05 14:27:05 +08:00
John Pansera 55b0ce593f GameINI: Add Startup Menu 2017-08-04 14:53:52 +08:00
Leo Lam a53f9f2df5 Merge pull request #5781 from gamemasterplc/master
Improved Super Mario Sunshine INIs
2017-08-02 00:04:07 +08:00
Léo Lam 5588d7d607 GameINI: Force safe texture cache for the Wii Shop 2017-08-01 13:41:07 +08:00
Léo Lam 0191c4c903 GameINI: Force safe texture cache for the System Menu 2017-08-01 13:41:07 +08:00
JosJuice a9aabc398a Update game INIs
https://bugs.dolphin-emu.org/issues/10171
https://bugs.dolphin-emu.org/issues/10207
https://bugs.dolphin-emu.org/issues/10336
https://bugs.dolphin-emu.org/issues/10355
https://bugs.dolphin-emu.org/issues/10370
https://github.com/dolphin-emu/dolphin/pull/5726#discussion_r126879253
2017-07-24 09:09:16 +02:00
gamemasterplc f3c1190ba1 Improved Super Mario Sunshine INIs
Fixed PAL codes. Replace heatwave code with proper widescreen code. Also improved some other codes.
2017-07-12 15:11:31 -05:00
mimimi085181 5a9daac7a6 Remove efb2ram from Spyro: A Hero's Tail(G5S.ini) 2017-07-10 01:49:27 +02:00
Leo Lam 6a0d064f6e Merge pull request #5672 from KAMiKAZOW/patch-2
GZLE01 & GZLP01 – Add Cheatcode to Remove Distance Blur
2017-06-28 11:05:44 +02:00
Leo Lam 72bde53f9f Merge pull request #5713 from Tilka/pool_edge
GameSettings: enforce real XFB for Pool Edge
2017-06-28 10:29:43 +02:00
Tillmann Karras 91bfe8c7b6 GameSettings: enforce real XFB for Pool Edge 2017-06-28 01:12:13 +01:00
gamemasterplc 1a452a829a Improved Gecko Codehandler
Based off codehandleronly.bin. Improves support for codes with conditionals due to adding cache invalidation on stores. You also have support for mode code lines at once before Dolphin freezes at startup.
2017-06-25 08:48:24 -05:00
bfc0f2e516 GZLE01 & GZLP01 – Add Cheatcode to Remove Distance Blur
Merge remote-tracking branch 'origin/patch-2' into patch-2
Update GZLE01.ini
2017-06-24 16:40:24 +02:00
Tillmann Karras b784e36e27 GameSettings: update Yummy Yummy Cooking Jam
The game is playable now, it just needs safe texture hashing.
2017-06-18 15:36:43 +01:00
Michael Maltese e3531d17d7 Update free DSP ROM and coefficients to support GBA ucode
- coef: Explicitly set 23 different values that are used by GBA UCode,
  and tweaked overall parameters to more closely match those 23 values.
- irom: Moved a few functions to their proper places, updated BootUCode
  to configure DMA transfers using AX registers as well as IX registers
  (the GBA UCode uses this to do two sequential transfers in one call),
  and added partial functions used by GBA UCode.

All functions were reverse-engineered solely based off of observed
effects on the virtual machine: register states before-and-after, dmem
interactions, and DMA transfers. The specific coefficients were observed
being read from dmem, and must be exactly those values to function
properly. I have no knowledge of how the official ROM implements these
functions, or how it is implemented overall.

Tested with The Legend of Zelda: Four Swords Adventures, Final Fantasy
Crystal Chronicles, and Billy Hatcher and the Giant Egg (to download
ChuChu Rocket!).
2017-06-03 15:16:39 -07:00
MaJoR bd3e868033 Add new Hi-DPI themed rating stars
This adds new themed rating stars to all of the theme folders, with the
intent to eventually replace the awful old ratings stars in
sys/resources. I’m not a coder so it will be up to someone else to use
these files to replace the ratings stars in WX and Qt. Their dimensions
are the same as the old ones, so it should be pretty easy to implement,
though it will require moving over to theme-able files and supporting
HiDPI for them.

@4x files are present for future proofing / possible android usage.

All files have been optimized with opti-png.
2017-05-25 19:32:46 -07:00
Markus Wick 3a2ec8c8a1 Merge pull request #5440 from ligfx/axhledelayinterrupt
AX-HLE: delay sending interrupt when done processing command list
2017-05-23 14:29:45 +02:00
Léo Lam 89b5549fe0 Include the latest WiiTDB
This allows us to print user friendly names for titles out of the box,
without requiring the user to manually download a title database and
place it in the correct location.

No auto-update mechanism is implemented as it would be substantially
more complicated and overkill (imo), since titles are not updated
that often. I have however added a script to make updating them easier.

The database can be freely used without any restriction. I have
contacted the author.
2017-05-21 18:57:55 +02:00
Michael Maltese b25babfbf3 GameSettings: Star Wars: The Clone Wars no longer requires DSP-LLE 2017-05-19 19:04:06 -07:00
spycrab c8ce20e539 Fix "All Mini Games Unlocked" AR Code 2017-04-17 12:52:59 +02:00
MerryMage cd2d0897d6 GameIni: DSP LLE no longer required for Star Wars: Rogue Squadron
Affects:
* Star Wars: Rogue Leader
* Star Wars: Rebel Strike
2017-04-08 16:04:09 +01:00
JMC47 d320a2a067 Force Wallace and Gromit to use smaller memcard. 2017-02-21 16:09:49 -05:00
JosJuice de7d0188a7 Remove FastDiscSpeed from games fixed by the previous commit 2017-02-08 14:50:19 +01:00
JosJuice 6a68915fb8 Remove Guitar Hero 5 hack that apparently disabled USB functionality
Also remove all instances of "Sample Game Name" from game INIs.
2017-02-06 22:16:39 +01:00
Léo Lam fa3d1e117f GameINI: Enable XFB for Karaoke Revolution Glee 1-3
This prevents the games from flickering.
2017-02-04 23:12:49 +01:00
booto 2fbdf2a3ce Hack to stop dcbz/dcbi over low MEM1 trashing memory. 2017-01-28 18:04:44 -05:00
degasus cbe9c3e040 GameSettings: Don't ship speedhack which are enabled by default.
This may slow down a few games, but we don't want to support this kind of mess.
2017-01-27 00:07:19 +01:00
CharlesCorrin 25ae6d8d24 GameSettings: Note for Star Fox Adventures
Adds a note to Star Fox Adventures to let people know how to accurately emulate the game's glow effects.
2017-01-22 19:30:05 -05:00
Matthew Parlane 8b6bf84a7e Merge pull request #4508 from Ecksters/patch-2
GameINI: NAC/NAR - Legend of Zelda: Ocarina of Time and Majora's Mask VC - Set EFBToTextureEnable to False
2017-01-13 13:18:08 +13:00
Léo Lam 64101137cd Remove pre-generated SYSCONF
Dolphin is able to generate one with all correct default settings, so
we don't need to ship with a pre-generated SYSCONF and worry about
syncing default settings.

Additionally, this commit changes SysConf to work with session SYSCONFs
so that Dolphin is able to generate a default one even for Movie/TAS.
Which SYSCONF needs to be touched is explicitly specified to avoid
confusion about which file SysConf is managing.

(Another notable change is that the Wii root functions are moved into
Core to prevent Common from depending on Core.)
2017-01-12 21:30:11 +01:00
Anthony 4c90ad7514 Merge pull request #4490 from leoetlino/wii-dsy
Add common Wii SDK function signatures to the signature DB
2016-12-31 16:31:50 -08:00
JosJuice 0f1ce0e1f4 Remove incorrect usage of "ASCII" and "ANSI"
Windows-1252 was sometimes being referred to as ASCII or ANSI
in Dolphin, which is incorrect. ASCII is only a subset of
Windows-1252, and ANSI is (rather improperly) used in Windows
to refer to the current code page (which often is 1252 on
Western systems, but can also be something entirely different).

The commit also replaces "SJIS" with "Shift JIS". "SJIS"
isn't misleading, but "Shift JIS" is more commonly used.
2016-12-26 15:49:39 +01:00
JosJuice 3e4f682b76 Game INI updates
- F.ini: PR #4189 removes the need for 1x IR according to JMC
- GWO.ini: Just force integral resolution, not auto resolution
- GALP01.ini: I have no idea why EFBScale would be forced here
- GINX69.ini: I think JMC said it's fixed, but I can't find his post...
- SNS.ini: https://bugs.dolphin-emu.org/issues/9891
- P INIs: https://bugs.dolphin-emu.org/issues/9938
2016-12-25 09:36:49 +01:00
Daniel Eck 6ca5533d7c GameINI: NAR Legend of Zelda: Majora's Mask VC
Set EFBtoTextures=False, fixes issue #9942 from Ocarina of Time, makes Link preview visible in Equipment screen, with EFB to Textures Only enabled the preview stays black, rather than showing Link's current equipment.
2016-12-10 09:01:03 -07:00
Léo Lam c785352c6f Add common Wii SDK function signatures to the signature DB
The signature DB is very helpful for generating a symbol map for games
which don't ship with debugging symbols, since it includes signatures
for common SDK functions.

However, it isn't very complete and only contained signatures for GC
games -- the current database isn't very helpful for Wii games, which
still have a huge number of unknown functions even after using this DB.

Yet Wii games typically share a lot of code (since they all use the
SDK), and not having symbols makes it a lot harder to look into what
a game is doing… So this commit adds common Wii SDK function signatures
to the database, in order to make generated symbol maps a lot more
useful for Wii games.

The debug info comes from the debugging map that was left in the Wii
version of The Legend of Zelda: Twilight Princess. To avoid cluttering
the DB with game-specific debug info (even though it already contains
some game-specific symbols), some basic filtering was done on the
shipped symbol map:

    egrep '(section layout|\.a|m_Do|lib|Lib| OS)' tp-framework.map | grep -v Z2 > common-wii-sdk.map

Then this map was loaded in Twilight Princess, and "append to existing
signature file" was used to append the new hashes to totaldb.dsy.
2016-12-09 23:40:06 +01:00
Daniel Eck 015a2aff4f GameINI: NAC Legend of Zelda: Ocarina of Time VC
Set EFBtoTextures=False, fixes issue #9942, makes Link preview visible in Equipment screen, with EFB to Textures Only enabled the preview stays black, rather than showing Link's current equipment.
2016-12-09 12:37:56 -07:00
Alex Kerr a7ef1de25b Create G2RE52.ini
Adds codes for G2RE52 (Shrek SuperSlam). Sourced from https://github.com/ShrekBoards/patches/blob/master/gamecube/G2RE52.ini.
2016-11-30 19:29:57 +00:00
mbc07 a8478b3ec4 GameINI update for newer Just Dance games 2016-10-29 23:52:03 -03:00
shuffle2 0789499bf0 Merge pull request #4181 from ntt4/patch-1
[GameINI] Set MSAA and MaxAnisotropy to 0 for Sonic Heroes
2016-10-02 21:56:21 -07:00
shuffle2 81be83bc85 Merge pull request #4159 from Enverex/patch-1
SSX Tricky requires real XFB to display videos
2016-10-02 21:00:53 -07:00
JosJuice a1486d48ef Merge pull request #4199 from vlad54rus/patch-1
[Gameini] Serious Sam: Next Encounter
2016-09-25 22:50:04 +02:00
Jason 5fc51b45a0 code adjustments in response to review 2016-09-13 10:52:14 -05:00
Jason a6b3237211 lens distortion post-processing shader 2016-09-12 11:07:44 -05:00
Vladislav c16b3f4637 Serious Sam: Next Encounter gameini
Game works perfectly on Dolphin 5.0. It does not need 'EFB to RAM' anymore.
2016-09-08 20:07:22 +07:00
JMC47 4b62d19818 Star Wars: The Clone Wars INI 2016-09-05 23:42:10 -04:00
ntt4 7cdedda70f Set MSAA and MaxAnisotropy to 0
Makes the game more playable than the current config file as of 5th Sep 2016.

Set MSAA and MaxAnisotropy to 0 to remove odd black shadows, see here https://wiki.dolphin-emu.org/index.php?title=Sonic_Heroes#Graphical_Glitches_with_IR.3E1
2016-09-05 00:32:02 +01:00