Commit Graph

5216 Commits

Author SHA1 Message Date
refraction 3016161920 Modified my changes from r5392, one small fix and some code movement, thanks to DarkShoelaces for pointing it out.
Also cleaned up the DMA change made in r5393 and added a small comment of explination to why it is now right :P

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5413 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-13 19:55:25 +00:00
gregory.hainaut e06484adb8 gsdx: update the copyrigh address thank to sed
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5412 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-09 18:16:11 +00:00
gregory.hainaut 818e5ff4eb i18n: Apply pg patch to better detect the system language
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5411 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-08 16:47:02 +00:00
gregory.hainaut 66f7a16f7d i18n: long awaited update
* New nb_NO (only main, iconized was bad)
* update tr_TR/it_IT/ko_KR/pl_PL/pt_BR/sv_SE
* refresh pot/po


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5410 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-08 16:41:26 +00:00
gregory.hainaut 81cc4d51da GSdx, linux: remove some letf-overs
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5408 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-08 16:06:44 +00:00
gregory.hainaut 6cf8c444b4 i18n: update 2 strings not aligned on current gui
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5407 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-08 16:03:14 +00:00
sudonim1@gmail.com 5ccc4bbfdf SuperVU: fixed null pointer dereference in constructing an exception object.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5406 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-05 22:35:49 +00:00
gregory.hainaut b1541f4ab7 onepad: reduce dialogs of another 25 pixels for small screen.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5405 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-05 20:53:03 +00:00
sudonim1@gmail.com ad3720c107 VIF: EXPERIMENTAL, NOT SANITY CHECKED: Delayed VU execution until the next flush, mpg, microprogram call or (as a fallback) end of dma packet to deal with cases like MSCAL, UNPACK, MSCAL (expects the first program to receive the unpack data).
Fixes Snowblind's games (BG Dark Alliance etc.), Mortal Kombat Shaolin Monks.  May break things, needs extensive testing.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5404 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-05 20:13:50 +00:00
gigaherz 31f685c490 [VS2012] For some reason when I made the conversion I totally forgot to copy these, and I didn't notice that until yesterday.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5403 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-05 18:04:09 +00:00
sudonim1@gmail.com 4ab5b03bdc SPU2-X: Use zero coefficients when the sample data references a higher entry in the coefficients table than we know about and print a warning to the console if logging is enabled. Fixes audio glitches in "Crash" series games. Also fixed the voice stop log, it was printing when voices looped.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5402 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-03 11:43:16 +00:00
sudonim1@gmail.com 7e528d3f1f SPU2-X: cleaned up the re-enabled debugging messages from r5400.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5401 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-03 09:55:08 +00:00
ramapcsx2 2e1b138219 SPU2-X: Add the alignment check to console logging.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5400 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-02 22:20:18 +00:00
sudonim1@gmail.com d4e4abfe82 SPU2-X: TDA is a fake internal register (which should probably be nuked), so reading from the FIFO (or whatever 1AC is) certainly shouldn't use it. Also fixed up related code a little. We don't know of any games which actually use this though. Actually I don't know if we know that reading this register does anything, this could all be the product of an overactive imagination.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5399 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-02 22:07:11 +00:00
sudonim1@gmail.com 7027c54309 SPU2-X: Don't force align transfer addresses, fixes The Bouncer. I honestly don't know on what basis they were force aligned in the first place. The Bouncer very strangely has correctly aligned sample data in IOP memory which it uploads using an unaligned DMA with SPU2 set to an unaligned address, resulting in the data being correctly aligned in the end. Weird. It also writes the address twice in the order high word, low, low, high, the first pair being aligned and the second pair not. Really weird.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5398 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-02 21:33:16 +00:00
sudonim1@gmail.com b643fa06d5 SPU2-X: Fix a minor logging bug.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5397 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-01 13:10:38 +00:00
sudonim1@gmail.com c86a003b0d Bleh: some really unproductive hacking on DOA2 implementing the noted "better" way to patch the previously patched function and a poorly understood hack to get past the black screen (but the US game just breaks later if you do this). All of this is commented out, it's just for the benefit of my future self when he comes back to trying to fix this game.
Current status: the pad rpc hangs in the second iteration of the main game loop for an unknown reason.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5396 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-31 20:44:00 +00:00
gregory.hainaut 8f4ceea43a onepad: reduce a bit (75 pixels) the heigh of the dialog for NNNNx768 displays
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5395 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-31 20:08:20 +00:00
ramapcsx2 5fd4f75be5 Optimistically removed all the SkipMPEGHack gamefixes from the database.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5394 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-31 19:39:54 +00:00
ramapcsx2 99d8eac84a Found and hopefully fixed a really long standing DMAC bug.
This gets videos working in Katamari Damaci, Baldurs Gate, Tales of Destiny 2, Suikoden Tactics and others.
May fix other games as well, these are just the popular ones :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5393 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-31 19:11:57 +00:00
refraction ca2d9b0469 Vif Unpacks: Fixed Issue 1325 with Non-SSE4 processors.
Put in some handling for MPG Overflows (VIF command, not videos :P)
Fixed another SSE Unpack bug i came across - Effected THPS Project 8

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5392 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-25 19:09:29 +00:00
ramapcsx2 f44e697743 New optional gamefix detects when a full motion video runs and temporarily switches GSdx to software rendering mode.
This is a workaround for the many FMV issues that occur in hardware rendering and that will take a while longer to get a proper fix.
It doesn't have any checks for the current video mode, so don't put GSdx in software mode and expect this to adapt, okay? :p
Note: It's possible to get crashes from switching renderers so please report those if you get them.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5391 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-21 19:11:53 +00:00
ramapcsx2 fb851cfdfc GSdx:
Added loading of external shaders, coded by KrossX (thanks again :p ).
Right now it looks for a file called "shader.fx" in PCSX2's main directory.
If it finds one, the PageUp key activates the external shader (instead of the built-in FXAA).
We have a forum thread for some nice shaders to try out here:
http://forums.pcsx2.net/Thread-Custom-Shaders-for-GSdx

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5390 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-20 19:46:51 +00:00
gigaherz 801867ab95 [vs2012] ZeroGS/ZZogl: Also disable SAFESEH for the other targets, not just Debug.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5389 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-20 13:01:47 +00:00
gigaherz 107ba696bd Missed one reference in he vs2008 sln
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5388 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-19 21:10:48 +00:00
gigaherz 995f2adbd5 Remove glew from the 3rdparty libs. It's not currently used by any project.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5387 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-19 21:06:49 +00:00
gigaherz f724e6fa07 Turn off SAFESEH for ZeroGS and ZZogl.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5386 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-19 20:52:19 +00:00
gigaherz c696c40924 ZeroGS/vs2012: "count" is a function in the vs2012's std:: namespace, so it conflicts to use count as a variable when "using namespace std;" is in place. Renamed the two instances of that issue to "counter".
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5385 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-19 20:03:47 +00:00
gigaherz a21c85266c Make PCSX2 compile with Visual Studio 2012 (3/3): Upgrade the project files and fix a few project names. Update the .sln to point to the right project files.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5384 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-19 19:54:12 +00:00
gigaherz 027b7a8b98 Make PCSX2 compile with Visual Studio 2012 (2/3): Copy project files and solution from their vs2010 originals. Not updated yet!
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5383 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-19 19:45:56 +00:00
gigaherz 72372c2219 Make PCSX2 compile with Visual Studio 2012 (1/3): Workaround compiler differences that result in compile-time errors.
NOTE: The 'glew' project does NOT build yet, but it will have to be decided how to approach the problem (String literal too long in glew.rc)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5382 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-19 19:36:59 +00:00
gregory.hainaut e650a1d8a0 GSdx ogl: Fix a nasty crash because of the multithread hack.
canditate for 1.0 branch


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5381 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-19 13:06:40 +00:00
refraction d465c18228 More vif work to fix Shadowman 2 and improve the function of some parts. Gave vifstalled a more specific job and reasons for the stall. Also did some work with the irq offset, seperating it from the stalls.
Savestate bump needed.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5380 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-16 23:03:27 +00:00
sudonim1@gmail.com 9e76c0ba49 Removed the SDL project from the visual studio solutions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5379 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-15 13:41:18 +00:00
gregory.hainaut 68fa8ae195 cmake:
* search 32-bits library on /usr/lib/../lib32 on 64 system (if they don't support Debian/Ubuntu multiarch)
* downgrade the 64-bits FATAL_ERROR to a warning. It is much more easier to use multiarch than to set a chroot.
* incorporate Micove's patch to allow keyword on PLUGIN_DIR define. (fixed issue 1233)
* Allow to use command line pcsx2 option with the linux launcher script. Thanks Rafael for the idea.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5378 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-15 10:31:28 +00:00
gregory.hainaut 4f087a6a8e 3rdparty: remove SDL code source (and reduced 3rdparty size by 40%)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5377 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-15 10:23:50 +00:00
gregory.hainaut 226b2d63b8 gsdx: remove completely the SDL backend. Let's hope I didn't break too much VS
cmake: take the opportunity to drop the support of 3rdparty compilation. Distributions have got a more recent version of zlib/soundtouch anyway.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5376 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-15 10:22:19 +00:00
gregory.hainaut b70c5eb8b7 gsdx ogl: incorporate DX sudonim's changes on ogl
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5375 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-15 10:14:13 +00:00
ramapcsx2 3cd3262612 Added the new OPH hack to Sphinx the Cursed Mummy and Buffy the Vampire Slayer.
Both should run fine now, only tested Sphinx though.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5374 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-15 09:39:53 +00:00
sudonim1@gmail.com 6669b7d6ef Game fixes: Extended the OPH hack a bit to set APATH to each path in turn in addition. Should make the hack fix some Eurocom games (Sphinx and the Cursed Mummy, some Buffy thing, others?)
VIF: changed a memcpy_aligned on 64-bit aligned data to memcpy_fast.  Doesn't matter with the current memcpy set we use but could have caused a crash in the future.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5373 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-14 22:30:04 +00:00
refraction 0e3a7f74be Fixed a bug pseudonym spotted. stalls should be handled properly once again on games that have IRQ's on VIF Mark commands.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5372 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-14 20:52:24 +00:00
avihal c83b72339b Fixed: Change-Language menu item was a checkbox (plain menu item is enough here).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5371 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-14 08:50:12 +00:00
avihal 58ee82334d New: Allow changing the language at any time.
Added menu item (always in English): Misc -> Change Language. Displays a message that the first time wizard will be displayed after pcsx2 is restarted, and requests the user to restart.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5370 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-14 08:35:30 +00:00
avihal 42f3f9526f Fixed Issue 1311: UI percentage values sometimes save incorrectly to ini file.
All UI percentage values (framerates, zoom) are saved incorrectly when the number ends with 0n (e.g. 105 is saved as 150, 307 is saved as 370, etc). The problem becomes apparent when these values are loaded from the ini file after restarting pcsx2.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5369 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-14 07:15:27 +00:00
refraction f19c0b7ca9 VIF: Some optimizations for the VIF Rec, some small clean-up/optimizations for VIF itself.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5368 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-13 19:11:34 +00:00
gregory.hainaut 68a833f4e7 cmake:
* set CMAKE_POSITION_INDEPENDENT_CODE variable for future cmake policy (which need to be upgraded to remove some warnings)
* On multiarch system, force the search on 32bits library (/usr/lib/i386-linux-gnu). Change previous compilation behavior on 64 bits system
    - Before: cmake search lib in 64 bits dir (64 bits lib needed to be install) but the linker got the 32 bits lib under the hood.
    + now: cmake search lib in 32 bits dir (only 32 bits lib need to be install). The linker still get 32 bits lib. In others word, you need to install -dev:i386 package on debian/ubuntu system



git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5367 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-12 07:26:39 +00:00
gregory.hainaut 20958dede3 i18n: use standard pcsx2_Iconize instead of an additional key lookup. In others word, english string is now included directly in the po/pot
Translators note: I save previous translation but a careful review is mandatory


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5366 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-10 10:10:55 +00:00
gregory.hainaut 636c16f2df gsdx ogl:
* add some dummy shader. Can be modify inside the debugger apitrace
* glclear* commands` seem to depend on scissor test and depth mask. Allow full write for the depth buffer
* texture debug, try to output some nice colors for the depth buffers


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5365 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-08 17:49:23 +00:00
gregory.hainaut 7ff8abe376 zzogl-pg:
* properry separate both GLSL implementation
* glsl4: Use a define for logz instead of extra math computation. Much more easier to understand


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5364 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-08 17:44:03 +00:00
sudonim1@gmail.com 0d9d10bc26 GSDX: Temporary fix for another unorm precision issue.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5363 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-06 17:49:15 +00:00