Commit Graph

375 Commits

Author SHA1 Message Date
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