Commit Graph

29 Commits

Author SHA1 Message Date
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
Souzooka 55112938a2 GSDumpGUI: Make sure all child processes are closed when closing main form. (#2900)
* Make sure all child processes are closed when closing main form

* Try/catch kill processes in case they are starting/exiting, dispose after killing
2019-03-26 23:27:13 +01:00
lightningterror 6e49139d0e [skip ci] gsdumpgui: Auto select first GSdx dll on the list upon program launch. 2019-02-09 02:06:38 +01:00
lightningterror 46b70a72cb [skip ci] gsdumpgui: Allow to open ini file even when no gsdx dll is selected.
ini file is already shared between dlls (previous commit) so there's no
need for verification anymore.
2019-02-09 01:14:53 +01:00
lightningterror 8c6e4cd28b [skip ci] gsdumpgui: Update code to share only one gsdx config for all dlls. 2019-02-09 01:14:53 +01: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 acc9530d66 GSDumpGUI: Update the GUI interface
Rearranged/updated many GUI elements.
Reduce height of window to make it more appealing for laptop users.
Add OpenGL HW/SW options to Renderer Override.

[skip ci]
2018-01-18 21:50:54 +00: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
Jonathan Li e511265cc9 gsdumpgui: Make it work even if it's not named GsDumpGUI.exe
Fixes #1592.

[skip ci]
2016-09-28 23:21:26 +01:00
Jonathan Li aa3f4c74dc GSDumpGUI: Add png image display support 2016-03-02 22:57:15 +00:00
Miguel A. Colón Vélez 6462393aaf Introduce end-of-line normalization
Signed-off-by: Gregory Hainaut <gregory.hainaut@gmail.com>
2015-08-04 23:52:48 +02: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 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 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 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
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 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 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 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
feal87 b7f3b93ecd GSDXGSDumpGUI :
Big optimization, reorganization of the code to be more coherent.
Now the Bitmap of "No Image" is created once.
Fixed crash on opening the bitmap.
Now the program change the GSDX window icon, with its own.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2666 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-04 14:54:20 +00:00
feal87 85c23ce0a0 GSDumpGUI : Added CRC detection for dumps. Added some renderer override functionality for fast testing. (F2 to shuffle)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2665 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-04 13:47:36 +00:00
feal87 a964bc907f GSDumpGUI : Added the "clear log on start" and the "select the last line of the log whenever new data arrive".
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2664 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-04 12:12:55 +00:00
feal87 afde55c1c8 First commit as developer in the team. :P
Committed the first revision of the new GSDX Dump Viewer. At the moment it contains the PThreads dll inside the build process and output to the bin directory of the tools directory till I know for sure I can output the exe directly into pcsx2 bin directory. :P
Report here or on the issue tracker any bug you find. (in this application) :P

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2652 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-01 16:47:58 +00:00