Changes between Version 129 and Version 130 of FAQ


Ignore:
Timestamp:
Mar 2, 2023, 1:57:39 PM (13 months ago)
Author:
Langbart
Comment:

macOS: 0 A.D. is damaged and can't be opened.

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v129 v130  
    5252    {{{#!td style="border-right:none;border-bottom: 1px dotted lightgrey;padding-left:0.5em"
    53531. Try to disable all mods not compatible with the new version via the `Mod Selection` page.
    54 2. If you cannot access the `Mod Selection` page, try to locate your `user.cfg` file (see wiki/GameDataPaths) and either backup and then delete it or search for `mod.enabledmods`. Replace this line with:
    55           {{{
    56             mod.enabledmods = "mod public"
    57           }}}
     542. If you cannot access the `Mod Selection` page, try to locate your `user.cfg` file (see [[GameDataPaths|wiki/GameDataPaths]]) and either backup and then delete it or search for `mod.enabledmods`. Replace this line with:
     55      {{{#!cfg
     56      mod.enabledmods = "mod public"
     57      }}}
    58583. In some cases after disabling old mods, you might also have to delete the contents of your `/0ad/mods/user` folder. The wiki article [[GameDataPaths|wiki/GameDataPaths]] should tell you where to find it.
    5959    }}}
     
    8282|----------------
    8383    {{{#!td style="border-right:none;border-bottom: 1px dotted lightgrey;padding-left:0.5em"
    84 Try to locate your `user.cfg` file (see wiki/GameDataPaths) and add the following lines to it:
    85           {{{
    86             view.zoom.min = "30"
    87             view.zoom.max = "300"
    88           }}}
     84Try to locate your `user.cfg` file (see [[GameDataPaths|wiki/GameDataPaths]]) and add the following lines to it:
     85      {{{#!cfg
     86      view.zoom.min = "30"
     87      view.zoom.max = "300"
     88      }}}
    8989By decreasing `view.zoom.min` you can zoom in closer and by increasing `view.zoom.max` you can zoom out further. The default values of the game are 50 and 200. With a larger zoom max more things have to be drawn, expect reduced performance, especially on weak GPU's.
    9090    }}}
     
    208208    {{{#!td style="border-right:none;padding-left:0.5em"
    209209Try to locate your `user.cfg` file (see [[GameDataPaths|wiki/GameDataPaths]]) and add the following lines to it:
    210           {{{
    211             cursorbackend = "system"
    212             nohwcursor = "true"
    213           }}}
     210      {{{#!cfg
     211      cursorbackend = "system"
     212      nohwcursor = "true"
     213      }}}
    214214- Related forum thread: [https://wildfiregames.com/forum/topic/78840-i-dont-have-a-cursor-in-the-game I don't have a cursor in the game] (30/Apr/22)
    215215    }}}
     
    230230    {{{#!td style="border-right:none;padding-left:0.5em"
    231231Try to locate your `user.cfg` file (see [[GameDataPaths|wiki/GameDataPaths]]) and add the following lines to it:
    232           {{{
    233             borderless.fullscreen = "false"
    234           }}}
     232      {{{#!cfg
     233      borderless.fullscreen = "false"
     234      }}}
    235235- Related Ticket: [https://trac.wildfiregames.com/ticket/6644 #6644 Game Menu not accessible when playing at resolution 5120x1440 fullscreen]
    236236
     
    250250[[Image(FAQ:macOS_installation.jpg,center,600)]]
    251251- See Apple Support: [https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/12.0/mac/12.0 Open a Mac app from an unidentified developer]
     252    }}}
     253  }}}
     254  {{{#!tr
     255    {{{#!th style="border-left:none;text-align:left"
     256>0 A.D. is damaged and can't be opened.
     257[[Image(FAQ:macOS_damaged.png,center,90%)]]
     258    }}}
     259    {{{#!td style="border-right:none;padding-left:0.5em"
     260When downloaded through a typical browser, an attribute called `com.apple.quarantine` is added to the file. When the file is opened, macOS Gatekeeper is triggered. The problem would probably not occur if 0 A.D. would be signed with a developer AppleID, which costs an annual subscription.[[BR]]
     261As a workaround, users can manually remove extended attributes using `xattr`, a natively installed macOS utility for viewing/removing extended attributes from files. Open `Terminal` and type the following command.
     262{{{#!sh
     263xattr -rc /Applications/0\ A.D..app
     264}}}
     265
     266{{{#!div class="important" style="background: #ffd"
     267**NOTE:** If the file was downloaded using `curl --remote-name <URL>` or `wget <URL>`, the problem would not occur because no attribute would be added.
     268}}}
     269
     270- Related article: [https://osxdaily.com/2018/05/03/view-remove-extended-attributes-file-mac/ How to View & Remove Extended Attributes from a File on Mac OS] (3/May/18)
     271- Related forum thread: [https://wildfiregames.com/forum/topic/106325-m1-install-corrupt-error M1 install "corrupt" error] (26/Feb/23)
    252272    }}}
    253273  }}}
     
    619639
    620640[[Image(FAQ:barter_trade.png,center,600)]]
    621 
    622641    }}}
    623642  }}}