Commit Graph

8457 Commits

Author SHA1 Message Date
Jonathan Li e347c8b0b1 gsdx:windows: Remove DXSDK references from property sheets
GSdx doesn't use the DirectX SDK anymore.

Also clean up the property sheets while I'm at it.
2016-03-30 00:03:04 +01:00
Jonathan Li b243e2532b gsdx-d3d9: Remove d3dx9 stuff and use d3dcompile
Using D3DX9 requires the end user to install the Direct X redist files.

Switch to using D3DCompile.
2016-03-30 00:03:04 +01:00
Jonathan Li 2ec8d88d80 gsdx-d3d11: Remove d3dx11 stuff and use d3dcompile
Using D3DX11 requires the end user to install the DirectX redist files.

Switch to using D3DCompile, and distribute D3DCompiler_47.dll for
Windows Vista, 7 and 8 users (Windows 8.1 onwards supplies
D3DCompiler_47.dll with the OS).
2016-03-30 00:03:04 +01:00
Jonathan Li 8f4823d604 gsdx-dx: Load D3DCompiler dll at runtime
D3DCompiler_47.dll will be loaded for Windows 8.1 and above (and maybe
Windows 7 devs), D3DCompiler_43.dll will be loaded for Windows 7 and
below.
2016-03-30 00:03:04 +01:00
Jonathan Li 80b6140a3e gsdx:windows: Prefer Windows SDK over old DX SDK
Some files are present in both the Windows SDK and the old DirectX SDK.
Use the newer versions of the files in the Windows SDK where possible.
2016-03-30 00:03:04 +01:00
Jonathan Li 7f3f6e96d8 cdvdgigaherz: Use Windows SDK headers
The rosddk headers are no longer necessary and have been removed.
2016-03-29 23:51:17 +01:00
Gregory Hainaut f1b3d7d036 Merge pull request #1200 from hoholee12/master
GameDB: Default to Positive round mode for Ed, Edd, 'n Eddy & 	GameDB: SLES-52895 and SLUS-20904 are same, and patch works.
2016-03-29 11:08:00 +02:00
Gregory Hainaut de24ce0a8f x86emitter: miss comas here 2016-03-28 18:10:39 +02:00
Jonathan Li cb29585e84 Merge pull request #1254 from turtleli/isoreader-layer1
cdvd:iso: Use Primary Volume Descriptor to find DVD layer break
2016-03-28 13:05:02 +01:00
Gregory Hainaut f6ee94589f gsdx hw: OI_GSMemClear supports various frame formats
Could help #1267
2016-03-28 10:47:42 +02:00
Jonathan Li 587c0ea339 Merge pull request #1237 from turtleli/xinput
lilypad|xpad: Remove DirectX SDK dependency, support both XInput 1.3 and 1.4
2016-03-28 09:46:58 +01:00
Gregory Hainaut a99750ae87 gsdx hw: only enable OI_GsMemClear when both depth/alpha test are disabled
Fix #1262
2016-03-26 11:28:28 +01:00
refractionpcsx2 181d8f52d5 Merge pull request #1261 from Catarax/master
GameDB: Oni (PAL-F) Black Screen Fix & Missing Oni PAL Entries
2016-03-25 17:12:18 +00:00
Gregory Hainaut 261ef9ab6a gsdx: move some DBZGT hacks to Dx level
Based on this thread:

http://forums.pcsx2.net/Thread-Dragon-Ball-Z-Budokai-Tenkaichi-3-Graphical-Issue-Emulator-does-not-render-outlines
2016-03-25 08:23:50 +01:00
Gregory Hainaut 8ca212d142 linux: example how to use clang tidy 2016-03-25 08:23:50 +01:00
Gregory Hainaut 791a14bec0 gsdx linux: add a gui box to select the png compression level 2016-03-25 08:23:50 +01:00
Jonathan Li a80a7175f3 xpad: Use the Windows SDK and remove unneeded dependencies 2016-03-23 19:12:44 +00:00
Jonathan Li 13bb7cf30a xpad: Support both XInput 1.3 and 1.4 2016-03-23 19:12:43 +00:00
Catarax b866055264 GameDB: Oni (PAL-F) Black Screen Fix & Missing Oni PAL Entries
The french version of Oni will be playable, no more stuck in a black screen after the intro videos. Added also the PAL-S and PAL-I Oni entries to the list.
2016-03-22 15:39:51 +01:00
refractionpcsx2 c163b845eb Merge pull request #1260 from Catarax/master
GameDB: Tony Hawk's Games Crash and Graphics Fix & Jak X Boot Fix
2016-03-22 12:33:54 +00:00
Catarax 3f9ea4fc79 GameDB: Tony Hawk's Games Crash and Graphics Fix & Jak X Black Screen Patch
Set VU0/1 to Nearest by default in order to fix the graphics and avoid a PCSX2 crash to Tony Hawk's games. Corrected the name of a Tony Hawk's Underground (PAL) release. And Jak X (PAL/NTSC) will now boot correclty, avoiding a black screen by default.
2016-03-22 12:41:13 +01:00
Gregory Hainaut 93067ee30f Merge pull request #1258 from orbea/master
MAN_DIR added
2016-03-22 00:04:44 +01:00
Gregory Hainaut 205b496d5c gsdx: fix gl recording regression 2016-03-21 18:52:26 +01:00
Gregory Hainaut 8e5e770fd1 gsdx hw: Ensure GS memory is always cleared properly
It will fix some issues on FMV

Previous behavior can be restored with the hack "UserHacks_DisableGsMemClear"

Fix #768
And maybe #855
2016-03-21 18:26:22 +01:00
refractionpcsx2 c87e4a4582 Merge pull request #1255 from Catarax/master
GameDB: Tony Hawk's Proving Ground PAL Crash & Graphics Fix
2016-03-21 09:06:43 +00:00
orbea 72699bc988 MAN_DIR added 2016-03-20 23:02:59 -07:00
Catarax c59406e9e4 GameDB: Tony Hawk's Pro Skater 2003 Crash & Graphics Fix
Set VU0/1 to Nearest by default in order to fix the graphics and avoid a PCSX2 crash (the game is Tony Hawk's Pro Skater 4 in japanese)
2016-03-21 02:40:38 +01:00
Catarax 9f8e4bcef4 GameDB: Tony Hawk's Project 8 PAL Crash & Graphics Fix
Set VU0/1 to Nearest by default in order to fix the graphics and avoid a PCSX2 crash (like other Tony Hawk's episodes made by Neversoft)
2016-03-21 02:27:51 +01:00
Catarax 722448c97b GameDB: Fixed Region Info of SLES-51721 2016-03-20 23:47:22 +01:00
Catarax 007c46eedd GameDB: Tony Hawk's Proving Ground PAL Crash & Graphics Fix
Set VU0/1 to Nearest by default in order to fix the graphics and avoid a PCSX2 crash (like other Tony Hawk's episodes made by Neversoft)
2016-03-20 23:44:03 +01:00
Jonathan Li 5d303c793b cdvd:iso: Use Volume Descriptor to find layer break
The DVD layer 0 sector count is stored in the Volume Space Size field of
the Primary Volume Descriptor on DVD layer 0. This value is the same as
the total sector count for a single layer DVD and the first layer 1 LSN
of a dual layer DVD.

Let's use that to determine the layer 1 start LSN instead of using the
brute force approach. Since this approach is much faster than the
previous approach, the layer break is no longer cached.
2016-03-20 21:42:35 +00:00
refractionpcsx2 6649f43069 VIF: Only delay MSCAL - Fixes #1218 Downhill Domination and Twisted Metal Head-On. Snowblind games still fine 2016-03-20 17:18:17 +00:00
Gregory Hainaut c43b1ac201 gsdx tc: extend the fast invalidation hack to limit the size of target read
It actually removes the previous hack that read the full target.

Unfortunately snowblind engine game uses big target so the read is very big too (1280x448)
which is killer for the perf. Whereas the game requires only 24x12 texels

Give a 2x speed boost on Champion of Norrath !!!
2016-03-20 18:11:44 +01:00
refractionpcsx2 be34b963e9 Merge pull request #1252 from Catarax/master
GameDB: Various Graphics Fix
2016-03-20 17:06:37 +00:00
Catarax 3f67fac085 GameDB: Tony Hawk's American Wasteland PAL Crash & Graphics Fix
Set VU0/1 to Nearest by default in order to fix the graphics and avoid a PCSX2 crash (like other Tony Hawk's episodes made by Neversoft)
2016-03-20 17:34:32 +01:00
Catarax ade2c23fb5 GameDB: Tony Hawk's Downhill Jam NTSC Graphics Fix (SLUS-21456)
Set VU0/1 to Nearest by default to Tony Hawk's Downhill Jam in order to fix the graphics (like other Tony Hawk's episodes using the engine by Neversoft).
2016-03-20 17:31:22 +01:00
Catarax e344ec46a5 GameDB: Tony Hawk's Project 8 NTSC Graphics Fix (SLUS-21444)
Set VU0/1 to Nearest by default to Tony Hawk's Project 8 in order to fix the graphics (like other Tony Hawk's episodes using the engine by Neversoft).
2016-03-20 17:28:57 +01:00
Catarax 0fdaf659d6 GameDB: Tony Hawk's Proving Ground NTSC Graphics Fix (SLUS-21616)
Set VU0/1 to Nearest by default to Tony Hawk's Proving Ground in order to fix the graphics (like other Tony Hawk's episodes using the engine by Neversoft).
2016-03-20 17:25:04 +01:00
Catarax d998ca2f0f GameDB: Burnout 2 PAL Graphics Fix (SLES-51044)
VU0/1 set to "Negative" by default to the SLES-51044 release, this fix is already used in the SLUS-20497 release on GameDB.
2016-03-20 17:19:58 +01:00
Catarax d4b79754ad GameDB: Disney's Extreme Skate Adventure Graphics Fix (SLES-51721)
VU0/1 set to "Nearest" by default to the SLES-51721 release, this fix is already done in the SLES-51721 release.
2016-03-20 17:10:02 +01:00
Gregory Hainaut 46ff5dccff gsdx: be debug friendly 2016-03-20 16:15:00 +01:00
Gregory Hainaut a83b8d62ec gsdx linux: add a gui checkbox for the "fast texture invalidation" hack 2016-03-20 13:59:24 +01:00
Gregory Hainaut 7eb242d3ad gsdx-ogl: remove the ogl_texture_storage option
The previous commits make PBO faster for all drivers.
2016-03-19 01:00:52 +01:00
Gregory Hainaut 68aa182b16 gsdx-ogl: sort the texture upload code
I wanted to do a separate path for palette texture. So far, it isn't very
conclusive.
2016-03-19 00:58:58 +01:00
Gregory Hainaut 46a4d2dc47 gsdx-tc: add UserHacks_DisablePartialInvalidation for snowblind engine game
Games uses very special texture with a lots of repeating.

It is much faster to send the full texture rather than trying to partially invalidate it.

On my gs dump:
FPS: 29 => 68 !
2016-03-19 00:25:58 +01:00
Gregory Hainaut eb69522641 gsdx-ogl: optimize texture memory upload
Previous code was
1/ unpack texture into local buffer
2/ copy local buffer into gl buffer
3/ copy gl buffer to texture

New code is
1/ unpact texture directly into gl buffer
2/ copy gl buffer to texture

Perf increase (done in native)
DQ8:   255 -> 270 (+5%)
Colin: 126 -> 135 (+8%)
ZoE:   50  -> 54  (+8%)
2016-03-18 20:24:42 +01:00
Gregory Hainaut da741e294e gsdx-ogl: optimize GPU->CPU memory transfer size
Might help for snow engine game (a little)

Previous code use to read the full texture whereas now it will be limited
to the size of the useful data.
2016-03-18 20:24:42 +01:00
FlatOutPS2 adb17bb071 Remove cheats file from redundant folder
Persona 4 cheats file and the cheats folder a redundant, as the
installer doesn't use this folder, but creates a seperate cheats folder
in My Documents/PCSX2 and the Binary release creates a cheats folder the
first time you start up PCSX2.
2016-03-18 15:38:35 +01:00
Jonathan Li 02ea7d390c lilypad:windows: Switch to includes from Windows SDK 2016-03-17 23:58:19 +00:00
Jonathan Li 834652922a lilypad:windows:xinput: Only support 1.3 and 1.4
1.3 is used on Vista and 7, so we don't need earlier versions.
2016-03-17 23:58:18 +00:00