smash-ultimate-blender icon indicating copy to clipboard operation
smash-ultimate-blender copied to clipboard

ultimate_tex_cli fails to launch on MacOS

Open ScanMountGoat opened this issue 1 year ago • 4 comments

Importing fails with a permission denied error on MacOS with Apple Silicon. The ultimate_tex_cli isn't marked as executable and won't make it past gatekeeper without using ctrl + right click open to trust the executable.

  • [x] set executable bit in git files
  • [ ] set executable bit when installing zip in Blender

ScanMountGoat avatar Nov 29 '23 16:11 ScanMountGoat

I'll see if I can get this working. It would be a good idea to add error handling for the nutexb to PNG conversions telling users to export them in a separate step if it fails.

ScanMountGoat avatar Nov 29 '23 16:11 ScanMountGoat

I can add the error handling when I get the chance

Sent via the Samsung Galaxy S22 Ultra 5G, an AT&T 5G smartphone Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: SMG @.> Sent: Wednesday, November 29, 2023 10:53:59 AM To: ssbucarlos/smash-ultimate-blender @.> Cc: Subscribed @.***> Subject: Re: [ssbucarlos/smash-ultimate-blender] ultimate_tex_cli fails to launch on MacOS (Issue #213)

I'll see if I can get this working. It would be a good idea to add error handling for the nutexb to PNG conversions telling users to export them in a separate step if it fails.

— Reply to this email directly, view it on GitHubhttps://github.com/ssbucarlos/smash-ultimate-blender/issues/213#issuecomment-1832328966, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASPNW534PX7VPNSS33RQPODYG5SCPAVCNFSM6AAAAAA77ZEQU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSGMZDQOJWGY. You are receiving this because you are subscribed to this thread.Message ID: @.***>

ssbucarlos avatar Nov 29 '23 16:11 ssbucarlos

I fixed the executable bit not being set in the git files. Blender clears this when unzipping the addon during installation for some reason. As a workaround, MacOS users can just mark ultimate_tex_cli as executable by running this from terminal. Another option is to just use the ultimate_tex application separately.

chmod +x "$HOME/Library/Application Support/Blender/4.0/scripts/addons/smash-ultimate-blender/ultimate_tex/macos/arm64/ultimate_tex_cli" 
chmod +x "$HOME/Library/Application Support/Blender/4.0/scripts/addons/smash-ultimate-blender/ultimate_tex/macos/x86/ultimate_tex_cli" 

ScanMountGoat avatar Nov 30 '23 15:11 ScanMountGoat

Hi! As it happens, a very similar problem happened to me when I used this on Arch. I ended up having to set the ultimate-tex-cli binary to be executable manually to get any textures at all to import.

dumbasaroc avatar Dec 12 '23 06:12 dumbasaroc