Commit Graph

2747 Commits

Author SHA1 Message Date
cottonvibes 5597a5e575 Cleanup patch.cpp...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3032 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-17 05:18:11 +00:00
Jake.Stine b6bc57b9e6 NSIS Installer:
* Added Visual Studio 2010 Redistributables to the installer package.
 * Added some component descriptions. :)
 * Separated several things into nsh header files for organizational purposes


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3031 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-17 04:52:31 +00:00
cottonvibes 9c9769c380 Since we don't have a proper cheating system in pcsx2 yet, we're going back to the pnach system for game cheats.
This means you can put your cheats in "\cheats\*.pnach" and pcsx2 will read them from there.

Notes:
I have included some persona 4 cheats as an example in this commit...

Also note that currently the "Enable Patches" menu item also pertains to cheats (as well as database file patches).
I will add a separate "Enable Cheats" menu item in the future...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3030 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-17 01:56:54 +00:00
cottonvibes 16dfd5c9fc - Added eeRoundMode and vuRoundMode options to the game database (these options are only applied if patches are enabled)
- Rename game database to "GameIndex.dbf"


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3029 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-16 09:50:15 +00:00
arcum42 8d6532a987 Add 2 games to the database. Fix a Linux warning (non pod-safe object).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3028 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-16 07:12:05 +00:00
cottonvibes bd1b566347 Added back 2 games that were removed from the database due to a bug i had...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3027 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-16 06:27:57 +00:00
cottonvibes 0effd563a8 - Added the rest of the patches thanks to Shadow Lady and Refraction finding their serial codes.
- Fixed a bug in the database_loader omitting the last game in the database...


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3026 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-16 06:10:03 +00:00
cottonvibes 1d32141799 If a game doesn't have a serial code (homebrew, demos, etc..), then pcsx2 will search for its crc in the database.
Note: In this case you will set Serial = crc in the database (this should only be done when the game doesn't have a real serial code)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3025 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-16 05:01:17 +00:00
cottonvibes ed9b0a3715 - Console TitleBar mentions how much patches were loaded (if no patches loaded then it doesn't say anything)
- Database key searching is no-longer case-sensitive (so for example: [patch = A1B2C3D4] is the same as [Patch = a1b2c3d4])


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3024 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-16 03:51:49 +00:00
Jake.Stine 9b4239d81a SPU2-X: Fix compilation errors under windows, and remove the /LTCG warnings when building Devel targets.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3023 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-16 01:03:52 +00:00
arcum42 9baed432c9 cmake: A bunch of 32 bit/64 bit stuff.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3022 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-16 00:36:42 +00:00
arcum42 b363b7c715 cmake: Change the way stripping is handled.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3021 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-16 00:12:10 +00:00
arcum42 de91c8f30b cmake: Some patches from athos and gregory. spu2-x builds in cmake.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3020 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 23:36:13 +00:00
ramapcsx2 c34210dc78 Installer:
Got rid of the redist check. Now the package always installs / repairs in unattended mode.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3019 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 17:43:44 +00:00
ramapcsx2 174166fa68 A few tweaks and additions to the installer.
Also avoid an issue where the FirstTimeWizard would fail creating some files.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3018 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 16:37:21 +00:00
Jake.Stine 3b2dbb8c6f NSIS Installer: disabled the vc-redist check since it's buggy or something, and fixed the desktop shortcut link.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3017 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 14:26:13 +00:00
Jake.Stine 5ec274ca0a NSIS Installer:
* Added banner image
 * (UAC) Re-enabled forced-admin mode for now
 * Fixed a bug in the vc redist installer.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3016 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 13:13:55 +00:00
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