Commit Graph

561 Commits

Author SHA1 Message Date
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
Léo Lam 843b030eda WiimoteReal: Add a hidapi IO implementation
Based on ca0c2efe7a. Credits go to flacs.
However, unlike the original commit, hidapi does not completely replace
the current implementations, so we can still connect Wiimotes with 1+2
(without pairing).

Also, it is only used on Linux and OS X for now. This removes the
advantage of having only one implementation but there is no other
choice: using hidapi on Windows is currently impossible because
hid_write() is implemented in a way that won't work with Wiimotes.

Additionally:
* We now check for the device name in addition to the PID/VID so we can
  support the Balance Board and maybe third-party Wiimotes too. This
  doesn't achieve anything with the DolphinBar but it does with hidraw.
* Added a check to not connect to the same device more than once.
2016-10-03 11:41:23 +02: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