snipem / gt7dashboard

Gran Turismo 7 Race Telemetry Dashboard
GNU General Public License v3.0
186 stars 32 forks source link

Does not support Python 3.12 and later #26

Open snipem opened 7 months ago

snipem commented 7 months ago

Python 3.12 removed imp packages which are used by salsa20.

This should be ported to https://pycryptodome.readthedocs.io/en/latest/src/cipher/salsa20.html . Which should also reduce the pain for Windows users that have to install C++ redistributables.

I have tried https://pypi.org/project/pure-salsa20/ in the past but it is about 1000 times slower than salsa20. This leads to some heavy CPU usage.

noztos commented 5 months ago

Shall I try to convert by this? Have you tried it already?

(nice to meet you. I find this tool useful.)

snipem commented 5 months ago

I think the pure-salsa20 would be the best route. If you try to port, use this and maybe do some cpu benchmarks on decoding. I do not multiply the current CPU usage.