mirror of
https://github.com/sp00nznet/xboxrecomp.git
synced 2026-12-06 18:39:43 +00:00
21488f4d3d
Both open issues (#1, #2) are people bouncing off the same wall. All four documented steps failed on a stock Windows console; reproduced each one. - tools/xbe_parser was the only tool package without __init__.py/__main__.py, so `py -3 -m tools.xbe_parser` could never run (issue #2, verbatim). - disasm auto-detect hardcoded `burnout3_analysis.json` in two copies. Now globs `*_analysis.json` from one helper, so per-game names work (issue #1). - GETTING_STARTED step 2 never passed --json, so the file step 3 requires was never produced. - A U+2192 arrow in recomp's argparse description and in xbe_parser's --extract-sections output crashed cp1252 consoles, i.e. `recomp --help` was a traceback on default Windows terminals. Also adds the MIT LICENSE file. README has claimed MIT since the initial release but no license text existed, which legally left the repo all-rights-reserved and blocked contribution. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
13 lines
313 B
Python
13 lines
313 B
Python
"""
|
|
CLI entry point for the XBE parser.
|
|
|
|
Usage:
|
|
py -3 -m tools.xbe_parser game_files/default.xbe
|
|
py -3 -m tools.xbe_parser game_files/default.xbe --json output/analysis.json
|
|
py -3 -m tools.xbe_parser game_files/default.xbe --extract-sections output/sections/
|
|
"""
|
|
|
|
from .xbe_parser import main
|
|
|
|
main()
|