SaltieRL / carball

📈 A Rocket League replay decompiling and analysis library
https://saltierl.github.io/carball/dev/bench/
Apache License 2.0
143 stars 48 forks source link

Error with decompile_replay #265

Open Rulerofzeworld opened 2 years ago

Rulerofzeworld commented 2 years ago

When running the example code:

import carball
_json = carball.decompile_replay('9EB5E5814D73F55B51A1BD9664D4CBF3.replay', 
                                output_path='9EB5E5814D73F55B51A1BD9664D4CBF3.json', 
                                overwrite=True)

I receive the following error:

Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    _json = carball.decompile_replay('9EB5E5814D73F55B51A1BD9664D4CBF3.replay',
TypeError: decompile_replay() got an unexpected keyword argument 'output_path'

Looking at the code in decompile_replays.py, the function has no output_path variable.

It was, however, present one commit before.

What should I do to get the same output as before, using the new version?