Sil on OS X Mavericks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • half
    Knight
    • Jan 2009
    • 910

    Sil on OS X Mavericks

    Has anyone here tried Sil on Mavericks? I upgraded my dev machine and found that I can *only just* continue to compile the game for Mac (using the ageing Carbon setup) but cannot actually *play* it on my Mavericks Mac (including older versions of Sil downloaded from the website). That means I'm out of luck for developing on Mavericks and I'll need to revert to Mountain Lion.

    Has anyone else tried it on Mavericks? Did it run?
  • debo
    Veteran
    • Oct 2011
    • 2402

    #2
    I just downloaded 1.2.1 Mac and ran it on mavericks, worked fine. (I got past stat allocation and was running around 50'.)

    When does yours bork?
    Glaurung, Father of the Dragons says, 'You cannot avoid the ballyhack.'

    Comment

    • half
      Knight
      • Jan 2009
      • 910

      #3
      Originally posted by debo
      I just downloaded 1.2.1 Mac and ran it on mavericks, worked fine. (I got past stat allocation and was running around 50'.)

      When does yours bork?
      Mine would produce an incorrectly sized black window on the screen, then crash.

      I'm glad to hear that it worked for you though. The problem might have been caused by some kind of corruption due to running a version that was broken (before I worked out how to coax it to compile properly). I foolishly didn't try running Sil before I tried compiling it. I've reset back to Mountain Lion via Time Machine, but might try upgrading again on the weekend and see if it works when I don't do any messed up compilation.

      Comment

      • Fendell Orcbane
        Swordsman
        • Apr 2010
        • 460

        #4
        I've been using Maverick since it first came out and no problems at all : )

        Comment

        • absolutego
          Scout
          • Aug 2013
          • 41

          #5
          i've never been able to run the site's binaries, they always crash on start-up for me.

          i tried building it with X support once and i got a "launching sil" prompt over and over, so maybe something's weird on my system. i didn't mess with the xcode build because it wanted me to install ten trillion gigabytes.

          Comment

          • taptap
            Knight
            • Jan 2013
            • 710

            #6
            Originally posted by absolutego
            i've never been able to run the site's binaries, they always crash on start-up for me.

            i tried building it with X support once and i got a "launching sil" prompt over and over, so maybe something's weird on my system. i didn't mess with the xcode build because it wanted me to install ten trillion gigabytes.
            Someone else. With me the binaries worked fine until recently but after a system update in December or November they stopped doing so, 10.6.8 here. What I found so surprising was that it suddenly changed. Since then I play in virtualbox, but it is really tedious.

            Comment

            • half
              Knight
              • Jan 2009
              • 910

              #7
              The main aim for 1.3 is to get tiles working properly. This will involve moving the Mac front end from the antiquated 'Carbon' to the still current 'Cocoa'. Hopefully as a side effect it will quash this lingering 'crash at launch' bug and the 'ask for admin password on savefile load' bug.

              It will probably require some outside assistance though, as I know nothing about Mac programming (either Carbon or Cocoa) and the Cocoa main file can't simply be slotted in since it is designed for the new file hierarchy of source code files that Vanilla introduced a decade or so ago, after Sil split off.

              Comment

              • molybdenum
                Apprentice
                • May 2013
                • 84

                #8
                Originally posted by half
                The main aim for 1.3 is to get tiles working properly. This will involve moving the Mac front end from the antiquated 'Carbon' to the still current 'Cocoa'. Hopefully as a side effect it will quash this lingering 'crash at launch' bug and the 'ask for admin password on savefile load' bug.

                It will probably require some outside assistance though, as I know nothing about Mac programming (either Carbon or Cocoa) and the Cocoa main file can't simply be slotted in since it is designed for the new file hierarchy of source code files that Vanilla introduced a decade or so ago, after Sil split off.
                I'll take a look at the source and see if I can provide any help. Carbon is pretty much fully deprecated by Apple at this point. My plan is to implement the last few outstanding features of the V Carbon port in a rewrite of the OS X front end. Hopefully, it'll make it a bit easier for variant maintainers to update as well.

                Comment

                • phaethon
                  Rookie
                  • May 2014
                  • 16

                  #9
                  Originally posted by half
                  Mine would produce an incorrectly sized black window on the screen, then crash.

                  I'm glad to hear that it worked for you though. The problem might have been caused by some kind of corruption due to running a version that was broken (before I worked out how to coax it to compile properly). I foolishly didn't try running Sil before I tried compiling it. I've reset back to Mountain Lion via Time Machine, but might try upgrading again on the weekend and see if it works when I don't do any messed up compilation.
                  I just got a new mac (OS X 10.9.3), and this is exactly what happens for me as well when trying to use the precompiled app (from the amirrorclear site). I get error messages when trying to make from source. Has anyone gotten around this?

                  Comment

                  • phaethon
                    Rookie
                    • May 2014
                    • 16

                    #10
                    Well, I'm about to retire my ~2011 Mac, and it looks like I'll have no easy way to play Sil til the next update. I tried using Wine on the Windows binaries, and it works kind of, but it isn't stable. I've tried editing down the source code to get main-crb.c to build, but I haven't been successful. The NewGWorld function call caused errors, but I could just delete the entire function that was calling it, since it looks like it is only there for non-ASCII graphics support. The next errors were related to CopyBits, which looks like it relates to quickdraw? At this point I think I'm out of my depth. I snooped around the Angband 3.5 source (which builds successfully) to see if I could find some workarounds, but the code is different enough that I was unsuccessful.

                    The only thing I haven't tried is trying to build an X11 version using the linux makefile and running it through XQuartz. Anyone else done that?

                    Anyone have any ideas or anything they've done that worked? I guess VirtualBox is an option, but that is so resource hungry I don't think it'll work for me. Any other option? Half, any updates on Cocoa support? I promise I'm not rushing you, but if you're almost done I'd like to know so I can quit killing myself with workarounds and just wait.

                    (Please forgive the double post)

                    Comment

                    • absolutego
                      Scout
                      • Aug 2013
                      • 41

                      #11
                      have you tried console? it's never failed to build for me
                      you'll probably need homebrew or something but that's not a big deal (it's not like you have to install macports anymore)
                      anyway drop me a line if you want to give it a go and have problems with it

                      Comment

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