Character Savefile Permissions on the Mac

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nppangband
    NPPAngband Maintainer
    • Dec 2008
    • 926

    Character Savefile Permissions on the Mac

    I am happy to now own a Macbook Air, and am finally able to fix a couple long standing bugs in NPP that only happen on the OSX port. Or at least I would if I could figure out how to get the files to open.

    I have had some users send me some safe files for de-bugging purposes, but I can't figure out how to give NPP permission to open the file. I have tried going to get info menu for the individual files and granting permission. I have associated the .dat files with NPP as well. Neither of those changes helped.

    Whenever I try to open a savefile, they are all greyed out. The only file I can open are ones from the "recently used" file list, which are characters created on the machine. How do the comp players get permission to play comp characters?

    I am on the latest Mountain Lion OS, and using the ODX port (I haven't converted the cocoa port for NPP yet.)

    Thanks in advance for anyone who can help.
    NPPAngband current home page: http://nppangband.bitshepherd.net/
    Source code repository:
    https://github.com/nppangband/NPPAngband_QT
    Downloads:
    https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57
  • Derakon
    Prophet
    • Dec 2009
    • 9022

    #2
    I believe for competitions OSX players are forced to use the "Import" option instead of the "Open" option. For some reason it doesn't work otherwise, and I've no idea why.

    I believe that files created by the local program can still be Opened, though. Which is probably why this particular bug has never really gotten enough interest to be fixed properly.

    Comment

    • Nick
      Vanilla maintainer
      • Apr 2007
      • 9637

      #3
      Originally posted by Derakon
      I believe for competitions OSX players are forced to use the "Import" option instead of the "Open" option. For some reason it doesn't work otherwise, and I've no idea why.
      The OSX ports (both of them, IIRC) look for file type, which is the mechanism OSX uses to decide whether something is openable by an application. The type is set by the OSX ports, but not by other ports; the "Import" option is to allow you to get around this.

      I didn't know this for ages, and actually used a utility for changing the file type until Pete Mack enlightened me.
      One for the Dark Lord on his dark throne
      In the Land of Mordor where the Shadows lie.

      Comment

      • half
        Knight
        • Jan 2009
        • 910

        #4
        Originally posted by Nick
        The OSX ports (both of them, IIRC) look for file type, which is the mechanism OSX uses to decide whether something is openable by an application. The type is set by the OSX ports, but not by other ports; the "Import" option is to allow you to get around this.

        I didn't know this for ages, and actually used a utility for changing the file type until Pete Mack enlightened me.
        I did exactly the same as Nick. Then on being told the answer, I just renamed the Import option to Open and removed the old Open.

        Comment

        • nppangband
          NPPAngband Maintainer
          • Dec 2008
          • 926

          #5
          That worked. Thanks all!
          NPPAngband current home page: http://nppangband.bitshepherd.net/
          Source code repository:
          https://github.com/nppangband/NPPAngband_QT
          Downloads:
          https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57

          Comment

          Working...
          😀
          😂
          🥰
          😘
          🤢
          😎
          😞
          😡
          👍
          👎