Commit Graph

3480 Commits

Author SHA1 Message Date
arcum42 be28c5a745 spu2-x: I'm pretty sure that these lines should have had breaks after them... (pointed out by gregory.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3015 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 12:43:51 +00:00
arcum42 0231a47547 Left this in accidentally.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3014 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 06:56:43 +00:00
arcum42 427206a97c Fixed the database reader in Linux again (by moving the check into a better location). Got rid of some unused Patch code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3013 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 06:51:10 +00:00
arcum42 00f7cde4e0 zzogl-pg: Copy all the old zerogs patches that used to be in the patches folder into zzogl (minus the FF X ones, as the FFX hack is no longer relevant). Commented out right now, because I'm not sure how many of these are even useful any more.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3012 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 05:02:25 +00:00
ramapcsx2 58697dbe8f GSdx:
Get the offset hack working normally again.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3011 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 04:51:15 +00:00
cottonvibes bd2a211144 - Added katamari (j) skip video patch.
- Added description on the patch syntax in the game database header...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3010 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 04:41:16 +00:00
cottonvibes 259af5f4b5 added katamari (u) patch...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3009 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 04:25:22 +00:00
cottonvibes d9afa28644 Bye-Bye patches folder ;p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3008 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 03:24:19 +00:00
cottonvibes 7abc292cb2 Patches are now part of the game database.
They can be CRC specific, or just based on the game serial.

Examples:
[patches]
	// This patch is loaded regardless of crc
	patch=0,EE,002aa040,word,24020001
[/patches]

[patches = 84993903]
	// Patches go here
	// This is only loaded if crc = 84993903
	patch=0,EE,002bc040,word,24020341
[/patches]


notes:
- pcsx2 only loads the first [patches] block that matches the game.
- The [patches] block based on crc takes priority when pcsx2 searches for patches...
- Everything in-between the patches block gets fed to pcsx2's old patch parser; so currently the patch syntax is the same as before...
- A lot of patches weren't added to the database since they didn't include serial codes in their *.pnach files :/


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3007 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 03:11:00 +00:00
ramapcsx2 1d534c7481 Same fix for cdvdGigaherz as the last rev + workaround for ZeroGS so it also works in default Vista/Win7 installs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3006 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 01:15:41 +00:00
ramapcsx2 6cb3f00f68 Add "setSettingsDir" export definitions to a few plugins that were missing them.
Fixes an issue where they could not access their config files in restrained PCSX2 installs.
Fixes issue 686.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3005 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-14 23:15:23 +00:00
Jake.Stine e6a201917a * Added Refresh button to the bios selector.
* Added some brevity info to the Bios Selector screen during first time wizard.
 * NSIS: Added IsUserAdmin script; not used quite yet (see diff comments)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3004 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-14 18:15:27 +00:00
ramapcsx2 9a9f3a6914 There was a slight threading affinity issue with r3000, so we have to revert it :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3003 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-14 17:20:06 +00:00
sudonim1 c7aa146489 I hate D3D.
32-bit depth buffers for D3D9 users if available.  Lots of code shuffling for reasons I don't even remember.  Stuff.  Pretty much just the 32-bit depth buffers.  That's good though, you don't have to envy D3D10 users half as much now.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3002 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-14 14:05:39 +00:00
cottonvibes 70a247674d Get the console title-bar to say "Unknown Game" if the game wasn't found in the database...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3001 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-13 22:04:52 +00:00
pcsx2guide cbb865632d * Added support for up to 24 threads. If you have a cluster server at home, enjoy PS2 emulation at 20x normal speed!
* Added DX11 support. DX11 enabled cards now give a +~40% speedup
* New SSE-X instructions we invented for PCSX2. Give a +200% speedup even on old CPUs.
* Full 64bit support. If you have 64 bit windows, be prepared for a 300% speed up.
* Implemented new DMAC, so far we have ~15 games that show improvements.
* Added support for USB-enabled vibrators. Feel the full pleasure of gaming, now also with PCSX2!
* SPU2-X now decodes Dolby Digital 7.1!
* Please test to find any bugs in the 24-thread code, it's a bit complex so some tiny bugs might have crept in.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3000 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-13 21:15:55 +00:00
arcum42 a18e8c74ad zzogl-pg: Patch to prevent compilation issues if fPIC is in the compilation flags.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2999 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-13 20:41:48 +00:00
ramapcsx2 d91bcf2bbc Few more installer fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2998 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-13 20:22:00 +00:00
Jake.Stine 03d1662be8 NSIS Installer:
* Fixed issues with start menu links
 * Added an option for desktop shortcut!
 * capitalization consistency (PCSX2 instead of pcsx2 for all user-displayed names)
 * improved the uninstaller logic slightly.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2997 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-13 13:21:45 +00:00
arcum42 5b4d508053 cmake: Enable zzogl-pg. (There's still a bug in here somewhere, though...)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2996 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-13 11:03:39 +00:00
arcum42 23e77e4ecc cmake: Missed uncommenting these two lines in r2986. (Which, naturally, broke cmake.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2995 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-13 10:02:03 +00:00
cottonvibes ae3df35369 Scratched the idea about having the compatibilities in increments of 100, and just made them increments of 1 instead.
There shouldn't be a reason to add more categories to the current list, and we will have a 'notes' field for additional information....

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2994 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-13 06:57:14 +00:00
cottonvibes 57206faa23 Took out crc code from title-bar so its not so crammed up... and changed "Compatibility" to "Status" to free up more space.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2993 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-13 05:50:14 +00:00
cottonvibes 46e08b6b8a - Added game compatibility info to database and added about ~50 more games (same info as pcsx2.net's compatibility list)
- Games now display their compatibility status on the console title-bar ^^
- Modifications to DataBase_Loader to write to the database and save changes

Note to pcsx2 team:
The compatibility info is numerically based.
000 ~ 099 = Unknown Compatibility status
100 ~ 199 = Nothing
200 ~ 299 = Intro
300 ~ 399 = Menu
400 ~ 499 = In-game
500 ~ 599 = Playable
600+      = Perfect
(Currently no game has the perfect status since the pcsx2.net compatibility list didn't have that as an option)



git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2992 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-13 04:59:31 +00:00
Jake.Stine 5e228774db NSIS Installer : General improvements and bugfixes; namely making it compatible with the latest version of Advanced Uninstaller, and adding support for packaging dxwebsetup.exe.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2991 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-13 04:15:32 +00:00
ramapcsx2 25301ec90c A few fixes to the installer script. Not done yet, but compiles at least.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2990 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-12 18:34:31 +00:00
Jake.Stine 069d1d59b8 * Should fix iso hot-swapping.
* Fixed a startup crash by moving the game database initialization to cpuReset().  This is a temporary measure until we sort out a better system for it.  This is needed because initializing complex classes in C++ as globals is VERY dangerous and unpredictable.  The databse was being loaded before any wxWidgets/UI objects were being created themselves, so any errors, exceptions, or console logs generated by the database were likely to cause unpredictable behavior.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2989 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-12 18:27:01 +00:00
Jake.Stine 30cf31b7bc SPU2-X: added some safety checks to the savestate code to catch (and ignore) situations where PCSX2 tries to save or load states while the plugins are shut down.
(and fixed compile errors from prev rev -- woops)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2988 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-12 14:18:40 +00:00
Jake.Stine 23a7f7ad21 * Likely fix for linux's crash-on-exit.
* Fix for random crash when hot-swapping plugins from the config panel.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2987 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-12 13:58:10 +00:00
arcum42 052506785b Enable cpu detection in spu2-x. Link to the systems copy of zlib, rather then building a separate copy for pcsx2.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2986 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-12 11:25:30 +00:00
arcum42 5d7facfa15 Get the database reader working in Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2985 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-12 10:25:43 +00:00
arcum42 d24831f0d8 cmake: Start getting zzogl-pg and spu2-x support in the cmake build system. (I'm not enabling it yet, as I don't have time to get it working properly at the moment. That's probably a project for this weekend.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2984 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-12 09:51:46 +00:00
cottonvibes 36973bfb92 - Get pcsx2 to display "game name (region) [serial] [crc]" in the console title-bar based on info found in game database.
- Some work on the database_loader class... now loads all game data into memory, and you can switch the game who's data is being read by calling setGame().
- Made the database_loader class a global "GameDB" so that it can be referred to throughout pcsx2 code...


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2983 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-12 09:33:45 +00:00
cottonvibes 8687a03c78 Added a credits section to game database.
Currently most of the info is based off the information found at http://sonyindex.com


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2982 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-11 21:47:58 +00:00
Jake.Stine 338cc07ce9 Some missing svn:eol-style=native props. It's like they vanish into thin air these things.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2981 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-11 11:44:33 +00:00
cottonvibes 02038a7dc1 oh i forgotten to commit this too ><
guess thats what happens when you don't commit stuff for a few weeks :/

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2980 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-11 09:23:22 +00:00
cottonvibes f26e4a6de6 oh i had forgotten to commit the cdvd.cpp change which used the code from my last update >.>
doesn't really matter though, it just looks up the game in the database and prints the name and serial to console.

i also fixed some bugs in the database file.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2979 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-11 08:21:59 +00:00
Jake.Stine a1870a845b Minor user interface cleanups and tweaks; most notable being some better "spam" protection on the console logger.
Details: Console logger now freezes updates for 100ms after every update.  This means it responds quickly to most logs, but limits series of log spams to 10 updates per second.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2978 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-11 07:17:31 +00:00
cottonvibes 2a05b6d449 Added a game database file which indexes most ps2 games by serial number.
Currently only has game serial/name/region info, but we can use this to load game-specific gamefixes and stuff in the future (and get rid of the pnaches system).

The file is DataBase.dbf, but can be opened and modified as a normal text-file.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2977 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-11 06:14:11 +00:00
Jake.Stine 63f62bf737 User Interface:
* Console Log doesn't force itself into the focus anymore when it opens
 * Suspend/Resume menu item updates more reliably.
 * Changing plugin settings while suspended works nicer; less likely to crash/hang/etc (ironically, changing plugin settings while running was more reliable).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2976 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-10 17:59:03 +00:00
refraction b552c1fdc2 Another minor modification for reverse FIFO
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2975 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-09 19:41:09 +00:00
sudonim1 a8b7c03845 Slightly pedantic change to OPH clearing and added a condition to an FQC assignment statement (there are far too many of these) which I think would interfere with reversed VIF1 operation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2974 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-09 19:30:30 +00:00
refraction 96b1935c5f Nothing to see here
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2973 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-09 19:04:19 +00:00
refraction fe6d76d596 Fix for Tails of Destiny, added some other bits to check for wierd sizes (may never happen). Also put my IF statement back in, seems it does cause problems, commented why
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2972 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-09 19:02:06 +00:00
refraction f5ca7a7a55 Refixed Growlanser, also took out an IF which shouldn't have been in there.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2971 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-09 17:00:45 +00:00
refraction f288a166d3 Minor bug which i didnt think about in last commit
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2970 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-09 16:15:22 +00:00
refraction fbf2a59b32 Fix for Killzone from r2954, also cleaned up some other OPH's that had been missed
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2969 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-09 16:13:27 +00:00
arcum42 e5b02297e9 Copy liba52 into the main 3rdparty directory, and set the linux port of spu2-x in codeblocks up to use it from there.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2968 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-08 02:45:51 +00:00
arcum42 62c15102e4 Add NDEBUG to non-debug targets in Code::Blocks. Remove a few inlines that were causing problems with Linux. Remove a problematic hardcoded initialization of OutputModule I'd forgotten about in Spu2-x.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2967 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-08 01:51:29 +00:00
sudonim1 a3f9d74255 GSDx: very minor change to Z value scaling and a note for future changes based on testing real hardware.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2966 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-08 01:05:32 +00:00