Commit Graph

3802 Commits

Author SHA1 Message Date
avihal@gmail.com 0042843525 PCSX2: Presets: 1. GUI consistency. 2. Fine tuned presets.
The presets system is hopefully done, code wise. Fine-tunning the presets themselves may still take place.

- GUI behavior should be as follows:
1. Overall: any changes made to the GUI without clicking Apply or OK would be discarded (on ESC or Cancel or close ([X])).
2. On 'Presets' unchecked: As long as the config dialog is open, the GUI stays with the values of the current preset (alternative behavior is available with #define PRESETS_USE_APPLIED_CONFIG_ON_UNCHECK).

--> NOTE: OK/Cancel/Apply buttons are never disabled. This is also true for r3768. Needs fixing one day.

- Fine tuned presets with some help from rama and pseudonim. Current Presets are as follows (each preset adds to the previous one):

1 - Safest          : Default settings + Individual speed hacks unticked (to make it visually clearer they're not used).
2 - Safe (faster)   : Recommended speed hacks minus vuFlagHack.
3 - Balanced        : enable vuFlagHack, enable EE timing hack, EE cycle rate to 1 click.
4 - Aggressive      : VU cycle steal to 1 click, enable (m)vuBlockHack, VU clamp mode to 'none'.
5 - Aggressive plus : EE cycle rate to 2 clicks (maximum).
6 - Mostly Harmful  : VU cycle steal to 2 clicks (maximum-1).

Note: The GUI consistency stuff turned out harder than I thought. I intentionally left in the code some commented out Console.WriteLN calls which should help debugging in case it's needed, but they should be removed eventually. I'd appreciate some regression tests and possibly code review for the entire presets system. Thanks.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4183 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-08 23:40:57 +00:00
avihal@gmail.com 9bc27cc7e4 [Safe WIP] Presets: PCSX2 configuration for dummies:
- When Presets are disabled: Nothing changes compared to earlier pcsx2 versions.
- When enabled: All important config options are grayed out, and a slider is used to select 1 of 6 overall config presets, 
  in the range of safest (and slowest) emulation, through trying to balance compatibility and speed, to way-too-many-hacks.
- TODO: 1. Resolve UI inconcistencies ("Cancel" button). 2. Fine-tune the presets. 3. Slight refactoring.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4182 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-06 23:52:04 +00:00
avihal@gmail.com 865cf083f8 Disabling the code for full-screen toggle by double click. It makes pcsx2 unusable for people who use mouse input. I'll re-enable it later together with a user option to disable it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4181 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-06 21:03:14 +00:00
avihal@gmail.com fc7fe0bbcd GSdx: Double-click now toggles full screen.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4180 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-06 20:26:10 +00:00
ramapcsx2 cfb47e2e19 Ran Cppcheck on SPU2-X, fixed a few things it found.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4179 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-06 12:25:01 +00:00
gregory.hainaut@gmail.com ff33680e5c cmake: use absolute path for resources file. (issue 930)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4178 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-05 18:55:33 +00:00
Jake.Stine 267b3bd90d API change: Simplified handling of app/emu config defaults handling. Got rid of the mandatory "defaults" override -- LoadSave APIs for Pcsx2Config and EmuConfig now use the current settings of the class instead.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4177 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-04 22:49:58 +00:00
sudonim1 83e09878b2 Patch from avih, untested (but probably harmless) as I only have one monitor:
Make the GS window go full-screen on current monitor instead of always on primary monitor.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4175 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-02 20:19:46 +00:00
ramapcsx2 74ee0835fd GSdx:
Avih renovated the configuration dialog a bit. It makes lots more sense now, thanks :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4173 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-02 10:24:36 +00:00
ramapcsx2 ed0f6852c0 GameDB updates, yay.
Thanks again, Shadow Lady :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4170 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-02 02:55:49 +00:00
Jake.Stine f76e901c64 Minor cleanups for the new virtual memory alloc/reserve system:
* Moved VIF dynamic recompiler buffers to the recompilers section of PCSX2.
 * Using RecompiledCodeReserve for the VIF SSE functions.
 * Minor bugfixes to VirtualMemory class implementations.
 * Improved error handling and error message display.
 * [TODO] : implement a call to cpuShutdown() to clean up VIF unpack/SSE reserves.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4169 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-30 06:21:07 +00:00
feal87@gmail.com e089cee4b9 GSDumpGui: Little things i forgot.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4168 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-29 09:36:58 +00:00
feal87@gmail.com 5df7a65727 Resolved tree mess by passing entire class through tcp.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4167 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-29 08:41:15 +00:00
Jake.Stine 6a8507d6c3 * Added preliminary word-wrapping support for Han/CKJ character sets. (untested)
* UI bugfix for error/popup window message display (bug introduced just a couple revs ago)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4166 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-28 19:58:51 +00:00
sudonim1 3064551c09 GSDumpGUI: Forgot a file
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4165 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-28 18:32:12 +00:00
sudonim1 22a70739db GSDumpGUI: went a bit mad on changing type width and signs after finding a signedness bug, and (more importantly for now), handled (kind of) split GIF primitives without crashing (hopefully)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4164 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-28 18:31:45 +00:00
sudonim1 3d0b2979bd GSDumpGUI: temporary fix for debugger crash until we implement the real solution
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4163 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-28 16:43:15 +00:00
Jake.Stine 4c3e22e831 * Solution file updates for zzogl (adds needed dependencies)
* A couple i18n fixes listed in Issue 915, relating to dialog message formatting for a couple specific messages.
DevNote:
  * Added some missing operator+() stuff for the pxsFmt string formatter.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4160 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-28 04:14:47 +00:00
Jake.Stine a7fcc3929e * Documented some of the event/threading proxy class and its underlying event queue.
* Simplified and improved (slightly) the savestate memory cleanup on error/cancellation.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4158 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-27 15:25:39 +00:00
arcum42 ae61d6010c zzogl-pg: Merge some of the changes from the NewRegs code into the normally used Reg code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4155 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-27 12:32:38 +00:00
arcum42 7e9cf5a340 Fix a few non-POD type warnings.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4154 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-27 10:05:59 +00:00
sudonim1 e758b6e10a GSDumpGUI: minor change to debugging info
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4151 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-26 14:12:31 +00:00
feal87@gmail.com 100b3f2aea Fixed dump not working correctly.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4150 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-26 13:16:02 +00:00
sudonim1 8053998ebc GSDumpGUI: compiles again, made changes for future reconstitution of GIF primitives and packets
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4149 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-26 12:22:37 +00:00
feal87@gmail.com 56a066c394 Require ToString();
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4148 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-26 11:39:27 +00:00
sudonim1 050354ff0c GSDumpGUI: Did a bunch of stuff I don't even remember. Disclaimer: I don't know C#.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4147 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-26 01:00:11 +00:00
feal87@gmail.com e89c3cb8cc Forgot a little thing
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4146 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-25 20:54:04 +00:00
feal87@gmail.com 1b90cfe7cd git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4145 96395faa-99c1-11dd-bbfe-3dabce05a288 2010-12-25 20:53:14 +00:00
feal87@gmail.com 1e2d305302 Removed useless IF. TEX0 is always plain format.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4144 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-25 20:24:44 +00:00
feal87@gmail.com ef55d3af7e Other clearing up and TEX0 implemented.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4143 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-25 20:08:25 +00:00
feal87@gmail.com a3902c57cc Cleared up a bit the code and added the FOG handler.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4142 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-25 17:18:13 +00:00
feal87@gmail.com bd7ff7de67 Started doing Register detection for the packets. (Still missing A+D and FOG)
Happy Christmas to everyone. ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4141 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-25 11:12:41 +00:00
Jake.Stine ed7638488c zzogl-pg: compilation fixex for MSVC builds:
* resolve a namespace conflict between std::count (due to a 'using namespatce std;' directive)  [debug builds only]
 * switch all MSW-specific code to be unicode compliant so that unicode-only Utilities lib can be used under Windows.  [should work, but needs proper testing]
 * fix some properties sheets so that windows-specific DLL dependencies (common controls and UUID stuff provided by Windows) are linked automatically into wx/utils based plugins.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4140 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-25 04:38:44 +00:00
arcum42 0297a6d364 Various changes to avoid using deprecated Gtk+ code. Gtk+ 3.0 is slated to remove most of the currently deprecated calls...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4139 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-24 23:58:56 +00:00
feal87@gmail.com e51768f8c7 Added Register detection. (Now missing "last" step to decode the real data passed to each register based on the modes)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4138 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-24 19:14:33 +00:00
feal87@gmail.com 4798a1c8e6 git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4137 96395faa-99c1-11dd-bbfe-3dabce05a288 2010-12-24 17:41:28 +00:00
feal87@gmail.com 67291f2fa1 Little fixes. Time to read some manual...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4136 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-24 17:32:28 +00:00
feal87@gmail.com 8b1134a2e5 Little temporary fix for the gif parser. More work to do later on
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4135 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-24 11:47:24 +00:00
feal87@gmail.com 33bed6a5d5 Possibly fixed the problem of gsdx not rendering correctly when stepping into.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4134 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-24 08:52:32 +00:00
feal87@gmail.com 1b5b9b055f While waiting for understanding better how to make Gsdx more sane...
1) Added some basic GIF parser to detect some basic information about the packets. (Still no registers, had little time. :P)
2) Little fixes to allow better navigation.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4133 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-24 08:45:54 +00:00
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