Menu

#1581 can't start x64sc from command line when specifying a file name

v3.5
closed
dqh
None
GTK3
x64sc
2021-10-21
2021-10-11
ftc
No

I am on MacOS here (Catalina 10.15.7), on a intel Mac. I've tried various versions of x64sc 3.5, including also the latest build, and also including the SDL version. I can start vice just fine from the command line, like this:

~/c64/vice-gtk3-3.5-r40507/x64sc.app/Contents/MacOS/x64sc

However, it crashes if I specify a file name. Like this:

~/c64/vice-gtk3-3.5-r40507/x64sc.app/Contents/MacOS/x64sc mydemo.d64

What happens is that the icon turns up in the dock, and it is visible for a short while, but no window appears, and the dock icon goes away. In fact, it doesn't seem that I can submit any parameters on the command line. The following doesn't work either:

~/c64/vice-gtk3-3.5-r40507/x64sc.app/Contents/MacOS/x64sc --help

If I go back to version 3.1, I can specify a filename like this without problems. So, I can do:

~/c64/vice_3.1/x64sc.app/Contents/MacOS/x64sc mydemo.d64

No problems to run mydemo.d64 there, or to add the --help parameter and get the expected help information printed out.

In MacOS, I use the default zsh. Trying the same things in Bash doesn't solve any of the problems.

Discussion

  • gpz

    gpz - 2021-10-11
    • assigned_to: dqh
     
  • dqh

    dqh - 2021-10-11

    The .app files are not meant to be used that way at the moment, which is why there is a top level bin folder with launch scripts in it. try:

    ~/c64/vice-gtk3-3.5-r40507/bin/x64sc mydemo.d64
    
     
  • ftc

    ftc - 2021-10-14

    Your suggestion works fine! Thank you.

     
  • compyx

    compyx - 2021-10-21
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB