pcsx2/tools
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
..
bin2cpp cmake: 2011-07-14 09:02:37 +00:00
dynacrchack GSdx: New: Dynamic CRC Hacks system (disabled by default). 2011-09-07 18:38:27 +00:00
GSDumpGUI Fixed inconsistent newlines / added as many svn:eol-style=native properties as I could without killing myself. 2011-03-25 05:06:49 +00:00
bin2app.sh Linux: Using Code::Blocks Custom Compile option to generate embedded resources now. :) 2009-09-07 13:40:16 +00:00
CMakeLists.txt Commit a modified copy of the CMake files from issue 513. (Note: work in progress. Not currently for general use. Builds made using cmake are currently not supported, and unlikely to work properly.) 2010-01-21 15:12:50 +00:00
Utilities_vc2008.sln First commit as developer in the team. :P 2010-03-01 16:47:58 +00:00
Utilities_vc2010.sln ... and because svn can't do direct casing changes, it requires 2 commits. -_- 2009-09-07 12:27:33 +00:00