redphx / joydance

Use Joy-Cons to play Ubisoft's Just Dance on all platforms
MIT License
84 stars 5 forks source link

Python not recognized #53

Open sarantula opened 2 months ago

sarantula commented 2 months ago

Typing python dance.py or python3 dance.py doesn't work

Adding python to environment variables doesn't work

Typing py dance.py works for whatever reason

It would be cool if instead of having to do everything in command prompt this came with an installer and launcher, if that's at all doable for dev. thanks.

BroJac5246 commented 2 months ago

Hi!

The issue with Python is quite odd, I've never had something like that happen to me. Does it work on other Python files? If not, it's probably an issue with Python. Either way, my understanding is that it's not a major problem, right?

I agree, an installer would be great! One was suggested in # 18 and it was shown to be easily possible. However, this project is no longer actively developed, so it's unlikely that this would be added. In the meantime, you could try creating a .ps1 file that opens JoyDance, then create a shortcut that opens that file in PowerShell. You can even place it in the Start Menu! You can find info on that online. (If you want, I have one that works that I could provide you, but my computer is off right now and I don't feel like waiting for it to boot).

I hope these help :D

sarantula commented 2 months ago

Hey thanks for responding. I spend like 4 hours troubleshooting and it is a python problem, or rather, a windows not detecting python is installed problem. I've tried every fix for it and got nowhere. It's understandable the project isn't developed anymore, it's quite old. I'm not really savvy with programming unfortunately but I'll try what you suggested. If you could share that file that would be great though. Thank you so much!

BroJac5246 commented 2 months ago

I can try getting my ps1 script to you later today, it's not very complicated.

sarantula commented 2 months ago

I can try getting my ps1 script to you later today, it's not very complicated.

thank you so much, really appreciate it

BroJac5246 commented 2 months ago

I've uploaded the .ps1 and the shortcut in this file. I'd recommend placing the .ps1 in the root of the directory in which you have JoyDance installed, but you should be able to put it wherever. Edit it to point to the correct directory. Put the shortcut on the desktop, then go to Properties and edit the path to point to the .ps1 script. If you want, you could then move or copy it to the Start Menu. If you have any questions, I'm happy to try to help :D

JoyDance Shortcuts.zip