Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find the aseprite executable #3

Open
prtksxna opened this issue Jun 6, 2022 · 3 comments
Open

Unable to find the aseprite executable #3

prtksxna opened this issue Jun 6, 2022 · 3 comments

Comments

@prtksxna
Copy link

prtksxna commented Jun 6, 2022

I'm trying to use AseSync23 on MacOS. Installed NekoVM to be able to run AseSync23.n but I'm having trouble in telling it the location of an Aseprite binary.

I've tried /Users/youzer/Library/Application\ Support/Steam/steamapps/common/Aseprite/Aseprite.app/Contents/MacOS/aseprite but it throws that that it doesn't exist. I've run that binary independently and it does in fact exist and work. I've tried the .app file as well with the same result. Any idea what might be going wrong here?


PS Thank you for making this tool, I'm excited to get it working and improving my workflow! 😄

@prtksxna
Copy link
Author

prtksxna commented Jun 9, 2022

Found an issue with the path! The backslash needed to be escaped, so the correct path would be:
~/Library/Application\\ Support/Steam/steamapps/common/Aseprite/Aseprite.app/Contents/MacOS/aseprite

And so the command I'm running is:
neko AseSync.n asesynctest.yyp art/ --aseprite "~/Library/Application\\ Support/Steam/steamapps/common/Aseprite/Aseprite.app/Contents/MacOS/aseprite"

With this I'm no longer getting that error. Instead, I get:

No template sprite is defined, looking for first sprite...
An error occurred: std@sys_read_dir

Called from C:\Tools\Dev\HaxeToolkit\haxe\std/neko/_std/sys/FileSystem.hx line 95
Called from AseSync.hx line 161
Called from AseSync.hx line 253
Press Enter to exit!

Screen Shot 2022-06-09 at 1 13 10 PM

I do have the spr_asebase sprite in GameMaker but not sure if I should set it up in any specific way

@YellowAfterlife
Copy link
Member

Try

neko AseSync.n ./asesynctest.yyp art/ --aseprite "~/Library/Application\\ Support/Steam/steamapps/common/Aseprite/Aseprite.app/Contents/MacOS/aseprite"

(is AseSync.n right next to the project?)

@prtksxna
Copy link
Author

It was originally inside the project folder, I moved it right next to it and tried. Got the same result:

prtksxna@comp gmstest % neko AseSync.n ./asesynctest.yyp ./art/ --aseprite "~/Library/Application\\ Support/Steam/steamapps/common/Aseprite/Aseprite.app/Contents/MacOS/aseprite"

No template sprite is defined, looking for first sprite...
An error occurred: std@sys_read_dir

Called from C:\Tools\Dev\HaxeToolkit\haxe\std/neko/_std/sys/FileSystem.hx line 95
Called from AseSync.hx line 161
Called from AseSync.hx line 253
Press Enter to exit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants