Commit Graph

5027 Commits

Author SHA1 Message Date
gregory.hainaut c0558c00e7 gsdx ogl:
* gui refresh
  + Use some tab to reduce heigth for small screen
  + Add logz option
  + remove broken/experimental keyword. GSdx ogl is not too bad ;)
* autodetect GL_NV_depth_buffer_float

Linux tester you are welcome!



git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5862 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-02-01 11:11:14 +00:00
gregory.hainaut 6f3326a9a4 gsdx ogl: Fog hide this typo :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5861 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-02-01 10:14:01 +00:00
gregory.hainaut 84895eadd9 gsdx ogl: correct most of Z-depth issue
Best setting if you driver support GL_NV_depth_buffer_float => GL_NV_Depth = 1 & logz = 0
Otherwise => GL_NV_Depth = 0 & logz = 1

Explanation of the bug:
Dx z position ranges from 0.0f to 1.0f (FS ranges 0.0f to 1.0f)
GL z Position ranges from -1.0f to 1.0f (FS ranges 0.0f to 1.0f)

Why it sucks:
GS small depth value will be "mapped" to -1.0f. In others all small values will be 1.0f! Terrible lost
of accuraccy.

The GL_NV_depth_buffer_float extension allow to set the near plane as -1.0f.
So
"GL z Position ranges from -1.0f to 1.0f (FS ranges 0.0f to 1.0f)"
will become
"GL z Position ranges from -1.0f to 1.0f (FS ranges -1.0f to 1.0f)"
and therefore
"z posision [0.0f;1.0f] will map to FS [0.0f;1.0f]" as DX

Yes we just get back all precision lost previously :)
However you need hardware (intel?) and driver support (free driver?/gles?) :(





git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5860 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-31 21:30:54 +00:00
ramapcsx2.code e27d04ff08 Fix for intention change in last commit, was an oversight :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5859 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-31 12:00:50 +00:00
ramapcsx2.code c03a1c9bd0 Small round of patches for various issues, #3.
Fixed a bad string in the German translation, added GSdx-avx2 to the installer, silenced a debug print and shortened the app name in release builds.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5858 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-31 11:53:00 +00:00
gregory.hainaut 1c5cec4647 i18n: refresh all languages with previous fix incorporated
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5857 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-30 19:27:58 +00:00
gregory.hainaut c707bf8572 i18n:
* add a PERL script to ensure translation quality (ie check c-string format)
* Fix c-format error as best as can! It will hopefully fix various potential crash


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5856 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-30 19:26:09 +00:00
refraction 4ac5f70f08 Updated Widescreen hacks. Removed hacks where different regions (PAL/NTSC) share CRC as this will cause problems. KH2 PAL fixed thanks to devina40 :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5854 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-27 23:39:47 +00:00
refraction 1aedab7910 Installer: Removed SDL.dll as it is no longer required by any plugins.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5853 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-27 19:40:21 +00:00
refraction 1d680c9d82 Silencing assert for the moment as it seems to work regardless. (assert triggered since r5851)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5852 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-27 19:30:29 +00:00
gregory.hainaut 61da62bf27 pcsx2: Create GetProgramDataDir (for cheats_ws and game db)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5851 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-27 18:59:52 +00:00
gregory.hainaut 48356e31b8 linux:
* use same path as game index db for cheats and cheats_ws
* install the new cheat zip file on cmake and debian installer 


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5850 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-26 18:00:14 +00:00
avihal@gmail.com afa2336254 Installer: use cheats_ws.zip instead of dbf
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5841 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-26 02:34:58 +00:00
refraction 5b14ca0fb9 GSDX: Clear up all compiler warnings. No changes to emulation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5840 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-26 00:58:21 +00:00
refraction d4211394a5 Another small thing picked up by VS Analyzer. Again probably no actual change in emulation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5839 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-26 00:21:51 +00:00
refraction 8e6e0f4c66 Just a couple of small fixes picked up by the compiler, no change to emulation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5838 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-25 23:36:40 +00:00
avihal@gmail.com 5187f8bfe1 ws_cheats folder goes back to documents (following r5640, r5824 and r5826). This way the installer only installs the cheats_ws,zip file at the installation dir, while users could put their own ws cheat files at cheats_ws folder under documents. Portable mode is unaffected.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5837 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-25 21:31:42 +00:00
avihal@gmail.com 980229ce5b Widescreen hacks db: change from dbf to normal zip (also replaced the dbf with a zip of current ws hacks).
Logic stays the same as before: If no ws hack is loaded from the normal cheats_ws folder, they try finding ws hacks at the zip.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5836 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-25 21:13:52 +00:00
ramapcsx2.code d89d02a59f Refinement of the last patch.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5835 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-25 19:53:12 +00:00
ramapcsx2.code 2ba52ebf3e GSdx:
This fixes the crashes on F9 for me. We don't want to call GSgetTitleInfo2() when GSOpen() isn't finished yet.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5834 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-25 19:36:45 +00:00
sudonim1@gmail.com 7fce5709d4 GSDX: Forgot to remove a bit of cruft in the last rev.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5833 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-25 19:17:00 +00:00
sudonim1@gmail.com d6457e9983 GSDX: Fixed the allocation checks in the previous couple of revs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5832 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-25 19:14:28 +00:00
ramapcsx2.code ab1f4f99af Small round of patches for various issues, #2.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5831 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-25 15:53:31 +00:00
ramapcsx2.code b99aa05cbf Small round of patches for various issues.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5830 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-25 14:25:48 +00:00
refraction 18b345fab9 Installer: Update to include new cheats_ws.dbf file
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5829 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-24 23:01:46 +00:00
avihal@gmail.com d9026a10a7 Wide screen hacks db: fix boot to bios (was trying to load all patches, now only the patches for CRC 00000000)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5828 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-24 21:33:09 +00:00
avihal@gmail.com d11382a20c Support single widescreen dbf file. Also includes a batch file to create a cheats_ws.dbf file from individual pnach files, and also includes the cheats_ws.dbf file which was generated from the current individual ws cheat pnach files.
Still needs: 1. remove all single ws pnach files from the repository. 2. Update the installer/uninstaller accordingly.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5827 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-24 21:13:25 +00:00
gregory.hainaut 4ae6b0cb83 redo commit r5824 with the eye open this time...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5826 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-24 18:12:11 +00:00
gregory.hainaut 2f7d642113 i18n: update sv_SE/tr_TR/ko_KR + refresh others
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5825 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-24 17:46:01 +00:00
gregory.hainaut 6214fd0456 pcsx2: Used correct path for cheats/cheats_ws (thanks avih)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5824 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-24 17:41:23 +00:00
ramapcsx2.code 72f7b70f7b SPU2-X:
WinXP should be exempted from Portaudio as the default for now. 
It has a large latency with DirectSound compared to direct use and XA2 isn't available at all.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5823 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-24 17:03:50 +00:00
gigaherz 01daa0b6fd Change the vs2012 project files to use the v110_xp platform toolset, and the vs2013 project files to use the v120_xp platform toolset, so that the resulting executables can be run in Windows XP/2003.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5822 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-24 15:30:34 +00:00
ramapcsx2.code 992a453a68 SPU2-X:
The preferred audio output module is PortAudio, so making it the default under Windows now (it is already on Linux).
It will use wasapi mode with the default sound device by default, both are configurable though.
This setup gives us better latency and a higher time stretch polling frequency, resulting in better quality overall.
With this we can also lower the main latency default from 150ms to now 100ms.
There is no error checking for the wasapi mode selection yet, as I don't know how this should be done. 
Help would be appreciated (gigaherz!) :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5821 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-23 15:19:43 +00:00
refraction 442fc846eb GameDB: Added some missing games. Thanks for GeoMan and shinra358 on the forums :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5820 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-21 21:08:25 +00:00
ramapcsx2.code 55eea6317b GSdx:
HTB123 on our forums came up with a hack that removes the broken main character shadow in hardware rendering
in SMT Nocturne.
This should work for all GSdx recognized versions / regions of the game (tested EU and NTSC-U).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5819 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-21 15:27:05 +00:00
gregory.hainaut c2aa4ff3fd gsdx ogl:
* restore the old fxaa (Asmodeam will be integrated when I got time)
* port the recently added new scanline algo


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5818 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-18 14:46:13 +00:00
ramapcsx2.code f8264bce2c GSdx:
Last patch regarding FXAA and external shader loading, I hope :)
Changes are here: http://forums.pcsx2.net/Thread-Custom-Shaders-for-GSdx?pid=343285#pid343285
I've included bin\shader.fx and the settings file bin\GSdx_FX_Settings.ini.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5817 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-17 10:17:24 +00:00
refraction 8900a72115 GameDB: Kessen 2 patch for EU version SLES 50578
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5816 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-14 23:12:50 +00:00
refraction c4d88a24ed GameDB: COP2 patch for Kessen 2 US version - Fixes Graphics. Will patch the EU version when i can get a dev build run on it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5815 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-13 23:47:01 +00:00
ramapcsx2.code 4015db8403 GSdx: Newest scanlines shader looks much nicer this way :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5814 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-13 18:23:53 +00:00
ramapcsx2.code bdf5e650a6 GSdx: Quick workaround for DX9 until the shader is adapted.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5813 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-13 17:48:43 +00:00
ramapcsx2.code 1155dd6e21 GSdx:
Add another scanline algorithm, made by pseudonym. This one is pretty fancy, using a cosinus function for generating the dark lines.
It only works on unscaled output, so use software rendering or native resolution for hardware.
It's an effect that works best on 240p converted games (like the SNES titles in Mega Man Collection).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5812 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-12 19:47:49 +00:00
gregory.hainaut 23ae6f0641 the regular copy/past mistake
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5811 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-12 12:35:15 +00:00
gregory.hainaut 2238095a82 gsdx ogl: do the same as previous commit but for ogl ;)
* fix the missing auto interlace opt when cycling with hotkey on linux


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5810 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-12 11:38:50 +00:00
ramapcsx2.code 2ac3c47c42 GSdx:
Finish up my scanlines attempt. Now the 2 old shaders are back in and all 3 cycle on F7.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5809 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-11 23:17:07 +00:00
gregory.hainaut f5257b2c3c gsdx ogl: don't rely on GL_ES builtin (3 differents implementations...). Hopefully fix Linux Intel GPU.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5808 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-11 15:01:13 +00:00
gregory.hainaut b5cad8bd6a gsdx ogl linux: use OGL renderer by default otherwise it fallback to unsupported GSDeviceNull which badly crash
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5807 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-10 21:04:04 +00:00
gregory.hainaut 5309dd0e59 zzogl: fix wrong type access
cmake: don't strip by default the binary in release mode
gsdx: disable the regeneration of ogl shader


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5806 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-10 20:25:03 +00:00
refraction cf8912eb2c Dev9ghzdrk: Take the first 3 bytes of the host MAC for the virtual one, should make it unique for people using xlink or multiple people playing the same game.
Hopefully this works anyway ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5805 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-09 22:39:23 +00:00
sudonim1@gmail.com 53c76b3780 GSDX: Nonsense workaround for VS2010 crash issue. We suspect that memory is getting corrupted but we've failed to find the code responsible. Many different changes result in code that doesn't crash for no obvious reason, this one at least looks vaguely like sane code though.
Reverted optimisation flag for VS2010 release target.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5804 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-09 21:51:42 +00:00