Commit Graph

56 Commits

Author SHA1 Message Date
KrossX bd6261e3de GSDumpGUI: Watch for directory changes.
Also try to avoid unclosed file handles.
2019-08-07 16:50:59 +02:00
KrossX b749c8ef7d GSDumpGUI: Fix unbalanced stack exception. 2019-08-07 16:50:59 +02:00
KrossX 317683461f GSDumpGUI: Run one frame per loop for better performance.
Also, make sure to check messages before vsync. GSdx message loop runs per vsync.
2019-08-07 16:50:59 +02:00
KrossX 0d6b9e9570 GSDumpGUI: Close when GSdx window is hidden.
The plugin hides the window on WM_CLOSE (wnd x button) and does not post quit message.
2019-08-07 16:50:59 +02:00
KrossX b245b06959 GSDumpGUI: create the vsync packet just once. 2019-08-07 16:50:59 +02:00
KrossX 003046c91c GSDumpGUI: Minor improvements.
Loop changes, icon and info shows up, can take screenshot.
2019-08-07 16:50:59 +02:00
willkuer 1414d64b18 [skip ci] GSDumpGui: Only reload dumps and dlls separately if their respective settings change, make config portable, autodetect dump/dll folder. (#2926)
- Add simple logging infrastructure and further improve the existing one
- Delegate loading of dlls and dumps into dedicated loader classes
- Adjust user interaction to restrict updates to only relevant parts
- Gsdx dlls (dumps) are only reloaded when a new path for gsdx dlls (dumps) was given. That means dlls are not reloaded just because the dumps path was changed or another dump was selected
- When GSDumpGui can not find the specified settings folder or there is no setting saved so far it will look into the directory of the currently running application (however as before only exactly in the directory and not in subdirectories)
- Further decouple model, view and 'controller' logic.
- Restrict directory checks to application basepath instead of current directory as current directly is changed at too man places
- Avoid some minor memory leaks by disposing some disposable elements

Note: Net framework requirement has been increased to 4.0 to run/compile the application.
2019-04-15 17:24:25 +02:00
willkuer 48b2383096 [skip ci] GSDumpGUI: Fixes multiinstance crashes. (#2925)
- automatically find the next free TCP port yielded by OS
- transfering currently used instance-fixed port to launched clients
- connect each client via given port

See #1637
2019-04-14 12:04:58 +02:00
lightningterror a17b0e5364 [skip ci] GSDumpGui: Adjust copyright information.
Add copyright header information to files that didn't
have any. The info is copied from files that already
had copyright information.

Add info for Alessio when he last commited.
Add PCSX2 Dev Team in copyright information.
2018-05-10 14:47:30 +03:00
lightningterror 039d035952 gsdumpgui: s/GSDX/GSdx/ 2018-01-18 21:50:54 +00:00
Jonathan Li 8fff11fdee gsdumpgui: Improve renderer override handling
Instead of faffing around with strings and having to handle a lot of
edge cases when trying to override the renderer, just let
WritePrivateProfileString do all the hard work for us instead.
2018-01-18 21:50:54 +00:00
sudonim1 22c1b30ed6 Fixed inconsistent newlines / added as many svn:eol-style=native properties as I could without killing myself.
Please set up auto-props in your svn client.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4488 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-25 05:06:49 +00:00
sudonim1 67caeae57e GSDumpGUI: Clean up GS plugin loading. Try all parent directories before giving up. Attempt at human readable plugin loading errors (fails badly).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4210 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-14 21:07:37 +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
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
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
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
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
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 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
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
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
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