Commit Graph

40 Commits

Author SHA1 Message Date
lcdr
8498b35ca5 Added option to retry replica parsing with added ScriptComponent
to account for objects with custom scripts not mentioned in the registry
2016-08-30 10:32:09 +02:00
lcdr
dd914f7f5e Added support for custom types to structparser and rewrote captureviewer and the struct definitions to use them. 2016-07-23 11:39:29 +02:00
lcdr
4b6306643f Updated game message parsing. 2016-07-23 11:39:00 +02:00
lcdr
9341e006a3 Updated scene transition parsing. 2016-06-29 11:47:58 +02:00
lcdr
c85615e75f Renamed length to count in ScriptComponent. 2016-06-27 22:11:41 +02:00
lcdr
eb1e10a10f Added support for paths. 2016-06-21 21:24:11 +02:00
lcdr
b7b2a922ad Added support for moving platform component. 2016-06-21 21:19:50 +02:00
lcdr
aca1f54fc4 Implemented support for shared subcomponents and updated structures. 2015-12-15 18:46:30 +01:00
lcdr
b422f372a8 Added PKViewer for viewing and extracting the contents of PK files. 2016-01-03 00:14:10 +01:00
lcdr
024c1f9a72 Better usability of INI configuration. 2015-11-19 21:25:16 +01:00
lcdr
aca5f16e28 Fixed a bug in decompress_sd0 2015-10-26 18:26:27 +01:00
lcdr
17383b7f8b Added support for UI Messages. 2015-10-22 18:30:15 +02:00
lcdr
bbc743d5d7 Improved support for components and game messages, along with further minor updates. 2015-10-12 19:33:34 +02:00
lcdr
86dfe01355 Added if, while and break statements to support more complex parsing logic. 2015-09-30 18:00:42 +02:00
lcdr
3e10476cd6 Changed decompress_sd0 to operate on bytes instead of files. 2015-09-26 16:29:40 +02:00
lcdr
e2e7ff5183 Structure definition syntax changed to use type instead of length. 2015-09-20 14:42:16 +02:00
lcdr
9419e656b5 bitstream now uses struct instead of ctypes for type conversion. 2015-09-01 20:50:21 +02:00
lcdr
3a1c0a73e0 Don't convert invalid rows if not adding link info. 2015-08-29 13:51:08 +02:00
lcdr
0d133acbad Expressions to be evaluated now get precompiled to optimize speed. 2015-08-23 18:29:54 +02:00
lcdr
1e6dddb073 Minor updates to the structure definition files. 2015-08-23 18:28:36 +02:00
lcdr
9298a98f60 Changed the file extension of the viewers to .pyw so they get opened as GUI Applications. 2015-08-20 19:55:55 +02:00
lcdr
c6b0d74654 Fixed if clause in type conversion 2015-08-10 12:42:24 +02:00
lcdr
7ffb5a0ca2 Packet search now doesn't delete tags 2015-08-10 12:09:54 +02:00
lcdr
4811452be4 Added find_packets, a script for finding matching packets within multiple .zip captures 2015-08-09 21:42:46 +02:00
lcdr
d15b3a05a5 Game message parsing is now optional 2015-08-09 21:16:23 +02:00
lcdr
3d05cec13c Fix for broken resizing 2015-08-09 17:15:01 +02:00
lcdr
7131e64ee2 Fix for 2 lines that were accidentally left out 2015-08-09 17:11:27 +02:00
lcdr
742c32c5cd Added luzviewer for viewing .luz (and .lvl) files, and reorganized the viewers so they use a common base class. 2015-08-09 13:05:21 +02:00
lcdr
7f694262a5 Added decompress_sd0, which decompresses files compressed in the sd0 format 2015-08-01 21:55:07 +02:00
lcdr
5d60fbc34b Added fdb_to_sqlite. This is a conversion script from the FDB to the SQLite format. 2015-07-31 22:19:21 +02:00
lcdr
cc9c765a18 Minor updates to captureexplorer. 2015-07-31 22:16:48 +02:00
lcdr
33696fd9e8 captureexplorer now reads the options from a file named captureexplorer.ini
format:
[paths]
db_path=
gamemessages_path=
[parse]
2015-06-22 21:23:38 +02:00
lcdr
c4c0bad416 Added support for normal packets and reduced code duplication. 2015-06-14 12:16:57 +02:00
lcdr
bfa76cf704 Added the structure definition files for replica parsing. 2015-06-11 21:20:10 +02:00
lcdr
1e36774079 Added captureexplorer. 2015-06-08 21:22:58 +02:00
lcdr
651f0d05db Yielded structures now include the indentation level. 2015-06-03 20:36:11 +02:00
lcdr
780fd4e614 Backwards-incompatible changes.
Changed:

Structure definition syntax changes:

* The VAR: variable reference has been replaced by EVAL: which allows you to use any expression, even involving other variables. The result of the expression is used as the value (e.g. loop length).

* The "always ...?" syntax for defining fatal asserts has been changed to "assert ..."

* The "expect ..." syntax for non-fatal asserts has been introduced.

Parser changes:

* The Structure tuples yielded by parse now include a parameter "unexpected" that will be None if no expects are defined, True if any expects are False, or False if all expects are True.

* It is now possible to pass pre-defined variables to parse.
2015-06-02 20:09:11 +02:00
lcdr
993e2d3211 README.md edited online with Bitbucket 2015-04-21 20:01:26 +00:00
lcdr
f0a3521422 Minor updates! 2015-04-21 21:55:09 +02:00
lcdr
e7f20f3eaf Added structparser 2015-03-31 20:03:55 +02:00