Commit Graph

66 Commits

Author SHA1 Message Date
gregory.hainaut 72d47d547e copyright:
* update missing copyright on
 + plugins/GSdx/config.h
 + pcsx2/MTVU.h
 + plugins/zzogl-pg/opengl/ZZHacks.h
 + plugins/spu2-x/src/DplIIdecoder.cpp
* put a copyright for trivial script file
 + pcsx2/gui/Resources/rebuild.sh
 + tools/bin2app.sh
 + plugins/zzogl-pg/opengl/shaders.sh
* remove autotool from zzogl
* apply the patch for issue 1257. Thanks very much Micove for the hard work.




git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5154 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-04-12 06:30:35 +00:00
avihal b4a0af9769 GSdx: New: Dynamic CRC Hacks system (disabled by default).
See tools/dynacrchack/DynaCrcHack.c for full instructions.

For development of CRC hacks (and just for the fun of creating such a system), Allows GSdx to load and use CRC hack logic from an external DLL, and reload it, at runtime, whenever this DLL changes (but act normally if this DLL isn't found).

This external DLL is compiled from a single C source file (a sample is provided, containing the current MGS3 CRC hack logic). There's also a system to automatically compile this C file into the DLL whenever the C file is modified, thus creating a system of instant [save C file] -> [GSdx switches to the new logic].

It's actually a pretty cool system, and might have other usages where it's useful, for the sake of tests/development/tweaking, to modify code logic during runtime. The overhead of such system compared to pre-compiled code is very low (e.g., in the case of CRC hacks which are called thousands of times/sec, I couldn't notice any difference in performance).

Compilation of the C file is currently done using TCC (Tiny C Compiler - http://bellard.org/tcc/ - extremely fast, light and powerful). TCC itself needs to be downloaded separately (~250K download, no install required). The system currently supports Windows only.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4914 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-07 18:38:27 +00:00
gregory.hainaut@gmail.com 83b3ac85d3 cmake:
* use the standard 3 step flow: cmake, make, make install
* Remove L10N_PORTABLE option, superseeded by PACKAGE_MODE
* Extend PACKAGE_MODE to select the install directory (FHS or local bin)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4805 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-14 09:02:37 +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
ramapcsx2 4adb41f3d9 Whops..
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4365 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 01:31:32 +00:00
ramapcsx2 697f78afe6 Made 2 spamming logs go to DbgCon and fixed a few compiler warnings.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4364 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 01:18:56 +00:00
gabest11 4cd3e3a552 - fixed VS2010 project files and added configuration for AVX
- ConfigIcon_Appearance.h seems to be missing

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4270 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-28 08:21:05 +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 d707844613 Removed the PostBuild from the project to allow easier autobuilding.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4209 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-14 19:59:09 +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
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
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 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
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