JayFoxRox / xbox-tools

A collection of tools related to original Xbox
62 stars 11 forks source link

python-scripts: locate `a56` #26

Closed JayFoxRox closed 7 years ago

JayFoxRox commented 7 years ago

Currently the path to a56 is hardcoded (to a local path on my drive). Should be fixed asap.

However, I'm not sure how to best go about this. I think we should look in os.environ['A56'] and if that does not exist in the current path. If nxdk includes a56 in the future it could also be located through os.nviron[NXDK_DIR] in the future.

I'd expect that there is a python package / module / lib to do this for us.

JayFoxRox commented 7 years ago

Uses A56 environment variable now. PR for other approaches are welcome.