This is a simple tool I created to be able to easily tell the precise time of End of Injection event in PD TDI engines.
- Download & install the latest version of Python from: https://www.python.org/downloads/
- Download this repository as a zip and open a console window in that directory
- Run
pip install -r requirements.txt
to install the dependencies - Run
py eoi.py
to test if the program's working
Run the following commands to get started quickly:
git clone https://github.com/krook1024/edc15-eoi.git
cd edc15-eoi
python -m pip install -r requirements.txt
py ./eoi.py -h
Let's imagine we have a file called current.bin
, in that case we can run
py eoi.py -f current.bin -l
to list the avaiable codeblocks. The output will look something like this:
Available codeblocks in current.bin
โญโโโโโโโโโโโโโโโโโฌโโโโโโโโโโฌโโโโโโโโโโฌโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโฎ
โ CodeBlock ID โ Start โ End โ ID location โ Gearbox type โ
โโโโโโโโโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโค
โ 2 โ 0x717ee โ 0x817ed โ 0x77a50 โ Manual โ
โฐโโโโโโโโโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโฏ
After finding out the codeblock ID, we can go ahead and run the program like this:
py eoi.py -f current.bin -c 2
and it will show all the necessary maps and calculations.
If you want to also show the tables in a graphical view, you can use
py eoi.py -f current.bin -c 2 -p
- You can run
py eoi.py -h
to print the documentation of each argument. - The order of the arguments don't matter, as long as all required arguments are set.