Enhance animation and control tests; improve rendering and shape loading validation
- Added tests for player animations in animation_archive_tests to ensure all animations are loaded correctly. - Updated entity_dispatch_entry_tests to validate animation direction updates and added tests for sixteen-direction animations. - Expanded isometric_controls_tests with comprehensive key event handling and action requests for various controller states. - Improved map_renderer_tests by adding viewport rendering tests to compare unbounded and bounded views. - Enhanced shape_archive_tests to validate shape frame loading and decoding consistency.
This commit is contained in:
parent
e00f9f3186
commit
a76b071049
28 changed files with 1608 additions and 154 deletions
28
py_mcp_query.py
Normal file
28
py_mcp_query.py
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
import json
|
||||
|
||||
addrs = ["000d:44df","000d:4c99","000d:7000","000d:46ec"]
|
||||
results = {}
|
||||
|
||||
try:
|
||||
import ghidra_mcp
|
||||
except Exception as e:
|
||||
print(json.dumps({"error": "missing ghidra_mcp module", "exc": str(e)}))
|
||||
raise SystemExit(1)
|
||||
|
||||
for a in addrs:
|
||||
entry = {}
|
||||
try:
|
||||
entry['decompile'] = ghidra_mcp.decompile_function(a)
|
||||
except Exception as e:
|
||||
entry['decompile_error'] = str(e)
|
||||
try:
|
||||
entry['disassemble'] = ghidra_mcp.disassemble_function(a)
|
||||
except Exception as e:
|
||||
entry['disassemble_error'] = str(e)
|
||||
try:
|
||||
entry['xrefs'] = ghidra_mcp.get_xrefs(a)
|
||||
except Exception as e:
|
||||
entry['xrefs_error'] = str(e)
|
||||
results[a] = entry
|
||||
|
||||
print(json.dumps(results))
|
||||
Loading…
Add table
Add a link
Reference in a new issue