Commit Graph

4562 Commits

Author SHA1 Message Date
Jake.Stine 718b04a20d Integrated new wxSavestates. Features:
* Savestates are now 'proper' zip archives, which can be opened by any zip tool such as 7zip or winrar.  PS2 virtual machine memory components are stored as individual files (such as eemem.bin, iopmem.bin, etc), and can be extracted, modified, and re-packed easily (maybe fun for hacking!)
 * Savestate filenames are now based on a combination of serial code and CRC, ex: SLUS-12345_(0D386A2).00.p2s
 * Savestates made during the BIOS will have meaningful CRC codes now, instead of 0000000.
 * Minor improvements to error handling.
 * Better support for unicode and internationalized windows installs.
 * Prep work for eventual screenshots embedded into savestates (WIP)
 * Changed i18n macros around a bit to help differentiate out some of the lesser needed translation items. gettext po/pot file updates will be forthcoming.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4132 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-23 06:03:49 +00:00
Jake.Stine 6164c87af5 wxSavestates: mergeinfo error...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxSavestates@4131 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-23 05:38:37 +00:00
Jake.Stine 79caa6c665 wxSavestates branch: sync with trunk, preparing for re-integration.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxSavestates@4130 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-23 05:17:39 +00:00
ramapcsx2 056844fe1c Really fix last bug :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4129 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-22 20:04:12 +00:00
feal87@gmail.com 38d320335f Thanks Rama for the debug.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4128 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-22 19:54:06 +00:00
feal87@gmail.com 685a6a0d52 Forgot little thing. :(
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4127 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-22 19:47:49 +00:00
feal87@gmail.com 8973c0f440 On Rama request :
1) Implemented 2 new operations (Go To Start and Go To Next VSync)
2) Autoselect the client when started up
3) Fix little bug when trying to run to the packet 0.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4126 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-22 19:45:31 +00:00
feal87@gmail.com 9be3624120 Forgot to reset the registers. My bad.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4125 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-22 18:58:43 +00:00
feal87@gmail.com a8f1683392 As Pseudonym suggested, now when stepping or running to it start from the beginning of the dump.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4124 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-22 18:45:54 +00:00
feal87@gmail.com 9ba23ab0c6 Experimental Step VSync support to debug intraframe.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4123 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-22 18:33:53 +00:00
arcum42 def52f300e spu2-x: compilation fix; pcsx2: fix the codeblock project; zzogl-pg: Add some comments and debugging code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4122 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-22 10:43:20 +00:00
feal87@gmail.com 0962198a3b Implemented basic Step and RunTo functionality in the debug mode. Still very simple and probably bugged/incomplete. Just need to make some story in the svn, before doing some new big work. :D
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4121 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-22 09:19:58 +00:00
feal87@gmail.com e085883e1c Forgot a little fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4120 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-22 07:07:35 +00:00
feal87@gmail.com 3be87bb2b0 1) Fixed crash when no ini was created, but an override is attempted.
2) Started writting the debug mode. (a little gif browser grouped by VSync is created)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4119 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-22 06:59:53 +00:00
ramapcsx2 57dd103e0d SPU2-X:
Adapted the de-alias and frequency response filters from nenolod's "UPSE", a high quality PSF player.
(http://nenolod.net/projects/upse/)
These 2 filters are present on the real SPU(2) as well and are meant to increase the audio quality
by fixing aliasing and then equalizing the final result.
It currently mostly seems to accentuate the presence and highs.

Thanks a ton for hinting at this and for letting us adapt your code for SPU2-X, nenolod! :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4118 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-22 05:37:38 +00:00
feal87@gmail.com c1811e6903 Little fix to focus. Forgot to commit this one.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4117 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-21 08:07:43 +00:00
feal87@gmail.com 0c32038480 Reactivated the overrides modifying manually directly the inis. Now the app should be stable enough to allow base testing. I can now restart working on the debugger.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4116 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-21 07:42:45 +00:00
feal87@gmail.com 3038ccafb9 1) Resolved the problem with the GSFreeze. Now the states are loaded and reproduced correctly.
2) Put an error message when trying to load old savestates not compatible.
3) Added a clone function for dump. (may be useful later on)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4115 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-21 07:29:33 +00:00
ramapcsx2 402a52bbc6 Small fix to logging.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4114 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-20 21:36:06 +00:00
gregory.hainaut@gmail.com 6a96e46920 zzogl:
* increase a little the hack window (better for screenshot, not too big for small screen)
* Use generic clut function in FlushDecodeClut
* Various clean and comment


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4113 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-20 19:57:50 +00:00
feal87@gmail.com 39780dcc10 Modified a little the code to be more modular. Should not change the behaviour.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4112 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-20 16:28:59 +00:00
feal87@gmail.com 9c9e2b8c51 Little change to the function called. (Shouldn't do any kind of difference)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4111 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-20 13:42:53 +00:00
sudonim1 02818b0304 GSDx: fixed incorrect use of CComPtr that would leave a dangling reference in the settings dialog code (only affects old pcsx2 versions and wouldn't be a significant resource leak even there)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4110 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-20 07:14:18 +00:00
feal87@gmail.com f1e5814c8b Added some statistics to better identify the type of dump you are using.
Fixed some code to be coherent with actual pcsx2 state. (Still need to talk to Jake to understand the new changes)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4109 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-19 21:32:09 +00:00
feal87@gmail.com 36f9dcfcfa Little fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4108 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-19 16:54:56 +00:00
feal87@gmail.com 58aa33b8bc git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4107 96395faa-99c1-11dd-bbfe-3dabce05a288 2010-12-19 16:03:21 +00:00
feal87@gmail.com 0d0778a5dd Started working on the debugger. Prepared only the link between master and client app. Have to investigate on the changes in the PATH1 done by Jake.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4106 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-19 15:55:52 +00:00
feal87@gmail.com b3c90f21a6 Clearing up everything was using the old replay code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4105 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-19 14:44:09 +00:00
feal87@gmail.com 5ef3d80f47 Rewritten all the dump functionality to be completely managed by my application and not relying anymore on gsdx REPLAY function. This is the first of a series of commit. The plan is to have a decent debug tool to understand problems with gsdx. Plan to do some other commit to clear up the code not used anymore
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4104 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-19 14:41:11 +00:00
feal87@gmail.com 8a69681505 Added some more verbose logs to GSDumpGUI (I'll start now to make a native loader for the dumps file inside the app)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4103 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-19 11:28:38 +00:00
feal87@gmail.com 40f6aef1d3 Fixing some stuff on the GSDumpGUI (more update to come) to allow me to test decently Gsdx while waiting for DirectX SDK to complete download
1) Change log to "log.txt"
2) Fix a crash when an invalid directory is specified in the textbox.
3) Fix working folder for loading library. Now it searches for dependencies in the same folder as the plugin dll.
4) Fix configuration save/loading

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4102 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-19 10:48:09 +00:00
Jake.Stine ccc88e38b6 wxSavestates: fix for GCC compilation error.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxSavestates@4101 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-19 08:45:54 +00:00
Jake.Stine 4ebbe65c4f w32pthreads: maintenance work; applied patches inspired by the VLC guys that make the code a little more sensible where pointer types are concerned. Removed some obsolete ancient compiler crap regarding interlocked exchanges.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4100 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-19 08:31:35 +00:00
sudonim1 375a766cf1 GSDx: Disable MSAA if all checks failed. Also, prefer normal 32 bit depth to lockable 32 bit depth on D3D9. I was anticipating a use for locking but further examination of the code revealed that to be impractical.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4099 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-17 01:32:40 +00:00
Jake.Stine 262dc135fa wxSavestates: BIOs boot/running status is now correctly displayed in the console titlebar.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxSavestates@4098 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-15 04:45:43 +00:00
Jake.Stine bbb1c8a94a wxSavestates: Fixed Bios CRC calculations and improved robustness against saving multiple states at once (hackfix). Console title still doesn't display the BIOS label properly ... not sure yet the good way to remedy that one.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxSavestates@4097 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-15 00:04:23 +00:00
Jake.Stine a728cfee96 wxSavestates: many bugfixes!! *now* it's ready for testing. :p
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxSavestates@4096 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-14 22:41:02 +00:00
gregory.hainaut@gmail.com b39546fe81 cmake: rework the resource stuff. Avoid rebuild and files are clear by cmake.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4095 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-14 21:44:12 +00:00
Jake.Stine 73d74e85c0 wxSavestates: add missing file.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxSavestates@4094 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-14 20:12:03 +00:00
gregory.hainaut@gmail.com 0f772de2ec cmake: Add ressource file
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4093 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-14 19:08:15 +00:00
Jake.Stine 9eddbb5845 wxSavestates: savestates now include game serial code, and a ps2z extension (which can be linked to any zip-supporting tool, like winzip or 7zip). This branch is ready for extensive testing. :)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxSavestates@4092 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-14 15:09:22 +00:00
Jake.Stine daf47b50a0 wxSavestates branch: (partially sync'd with trunk**)
* Finished up zipfile-style savestate implementation
 * Simplified BaseSaveState class, and removed lots of now-unneeded code.
 * Prepared the i18n stuff for a pcsx2_Dev.pot file (WIP), and sorted more stuff to pcsx2_Tertiary.pot.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxSavestates@4091 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-14 07:28:05 +00:00
Jake.Stine 83e343b593 * Bugfix for Recent Iso List (it stopped remembering stuff a couple revs ago).
* Doing some configuration panel additions and cleanups (UI/theme-related) -- WIP.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4090 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-14 07:18:09 +00:00
gregory.hainaut@gmail.com c8ebbdc00f zerospu2: Use local copy of wavfile like spu2x
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4089 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-12 11:08:04 +00:00
Jake.Stine 21c022542f Minor i18n-related bugfixes.
* "Browse" option in recent iso menu should translate now.
 * Dialogs and config panels remember their positions more reliably (when using X or alt-F4 to close PCSX2, for example).
 * Preliminary language selector dialog (available in debug builds only).  Will finish it up later.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4088 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-12 07:43:21 +00:00
cottonvibes e38a0ba32d microVU: minor changes
- Added mVUcacheInitReserve and mVUcacheMaxReserve constant values for now which can be tinkered with until we implement runtime user-modifiable cache reserve-sizes.
- Improved the "microVU - cached program" printouts on dev builds.

pcsx2:
- Fixed the typos in SysOutOfMemory_EmergencyResponse()

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4087 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-12 06:38:17 +00:00
arcum42 f68eb19543 zzogl-pg: Fix compilation in Debug mode.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4086 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-12 00:33:10 +00:00
Jake.Stine fe5212696d GCC compilation fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4085 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-11 11:01:27 +00:00
cottonvibes 835127b69e microVU: Implemented indirect jump address caching (speedup)
Indirect jumps (JR/JALR) get a table which stores the previously jumped-to x86 code entry points, and this table is indexed by the jump-to PC address.
If current jump is jumping to a previously jumped-to address, the table will have an entry-point, but before it is returned, the microProgram for which the entry point belongs to must be validated to see if it matches the current contents of VU memory.
The program validation check is remembered and doesn't need to be performed again until after a micro memory clear (which happens when vif writes to vu micro memory).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4083 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-11 04:44:25 +00:00
Jake.Stine 6f289bedaf i18n:
* Fixed command line help display for non-english (invoked via --help)
 * Startup/wizard now uses default operating system language when possible.
 * Added a language 'Apply' button to the first time wizard, which applies new translations immediately.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4082 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-11 01:03:10 +00:00