davisdude / slp2mp4

Convert slippi replay files for Super Smash Bros Melee to videos
MIT License
10 stars 2 forks source link

slp2mp4 run: error: argument path: 'path' is not a valid file or directory #14

Open Alcas1 opened 1 year ago

Alcas1 commented 1 year ago

I keep seeing this error on Windows 11 no matter which path I try.

I've tried: Game_20230512T131657.slp .\Game_20230512T131657.slp ./Game_20230512T131657.slp "C:\Users\jonat\Documents\Slippi\" "C:/Users/jonat/Documents/Slippi/" "C:\\Users\\jonat\\Documents\\Slippi\\Game_20230624T173855.slp" "C:\Users\jonat\Documents\Slippi\Game_20230624T173855.slp" "C://Users//jonat//Documents//Slippi//Game_20230624T173855.slp" "C:/Users/jonat/Documents/Slippi/Game_20230624T173855.slp"

Do you have any examples of how these paths are supposed to look on windows? I'm executing these all from the slippi replay directory itself(tried outside of it too). Any help would be great

davisdude commented 1 day ago

Really sorry - not sure how I missed this. I typically run the program from the directory the replays are in. On Windows, you can do this with shift + right click.

The syntax should be slp2mp4 run <directory>, e.g. slp2mp4 run . for your current directory.

An upcoming improvement will also fix this.