Restructure update

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrrstark
    Adept
    • Aug 2013
    • 101

    #16
    Originally posted by Nick
    Link in the first post
    lol.. :S

    I thought the answer was no because of a comment on roguelike radio saying the dev branches were secret so that people didnt complain about changes not done yet...

    anyways... Cool!

    Comment

    • Zikke
      Veteran
      • Jun 2008
      • 1069

      #17
      Originally posted by mrrstark

      I thought the answer was no because of a comment on roguelike radio saying the dev branches were secret so that people didnt complain about changes not done yet...
      People will complain with or without actual knowledge of details.
      A(3.1.0b) CWS "Fyren_V" NEW L:50 DL:127 A++ R+++ Sp+ w:The Great Axe of Eonwe
      A/FA W H- D c-- !f PV+++ s? d P++ M+
      C- S+ I- !So B ac++ GHB? SQ? !RQ V F:

      Comment

      • LostTemplar
        Knight
        • Aug 2009
        • 670

        #18
        Great job, btw is there any roadmap for people who may want to help ?

        Comment

        • Nick
          Vanilla maintainer
          • Apr 2007
          • 9637

          #19
          Originally posted by LostTemplar
          Great job, btw is there any roadmap for people who may want to help ?
          Probably nothing quite so precise as a roadmap

          We have broad aims of making the code more readable, more general and more easily modifiable; all of these with a view of making it easier to make gameplay changes when the time comes.

          Given that, I think it's just a matter of looking at a bit of the code you're interested in, and see if it can be improved along those general lines. Stuff gets discussed a bit in the #angband-dev channel on irc.freenode.net, or you can just fork the restruct branch on github and make pull requests.

          Same goes for anyone who can abide my brutal and autocratic management style.
          One for the Dark Lord on his dark throne
          In the Land of Mordor where the Shadows lie.

          Comment

          • LostTemplar
            Knight
            • Aug 2009
            • 670

            #20
            How save files are working in current version ?
            It refuses to save and I cannot fix it yet.

            Not that bad, it works if I manually create ~/angband/Angaband/save
            Seems like bug to me.
            Last edited by LostTemplar; October 9, 2014, 23:40.

            Comment

            • takkaria
              Veteran
              • Apr 2007
              • 1951

              #21
              Originally posted by Nick
              Same goes for anyone who can abide my brutal and autocratic management style.
              I can vouch that Nick is where the Steve Jobs' soul went after he died.
              takkaria whispers something about options. -more-

              Comment

              • Nick
                Vanilla maintainer
                • Apr 2007
                • 9637

                #22
                Originally posted by LostTemplar
                How save files are working in current version ?
                It refuses to save and I cannot fix it yet.

                Not that bad, it works if I manually create ~/angband/Angaband/save
                Seems like bug to me.
                That's odd. Could that have been a permissions issue?
                One for the Dark Lord on his dark throne
                In the Land of Mordor where the Shadows lie.

                Comment

                • Nick
                  Vanilla maintainer
                  • Apr 2007
                  • 9637

                  #23
                  Originally posted by takkaria
                  I can vouch that Nick is where the Steve Jobs' soul went after he died.
                  you'll pay for that
                  One for the Dark Lord on his dark throne
                  In the Land of Mordor where the Shadows lie.

                  Comment

                  • LostTemplar
                    Knight
                    • Aug 2009
                    • 670

                    #24
                    That's odd. Could that have been a permissions issue?
                    Not likely, at first it simply was unable to save, then I did something and it started giving "cannot create /home/lt//.angband" message and quit, and then eventually it got magically fixed and now create required dirs if I delete them.

                    "cannot create" I can understand, but why it doesn't even try to create dirs at first.

                    Comment

                    • Nick
                      Vanilla maintainer
                      • Apr 2007
                      • 9637

                      #25
                      Originally posted by LostTemplar
                      Not likely, at first it simply was unable to save, then I did something and it started giving "cannot create /home/lt//.angband" message and quit, and then eventually it got magically fixed and now create required dirs if I delete them.

                      "cannot create" I can understand, but why it doesn't even try to create dirs at first.
                      I don't think "cannot create" is an angband error message - maybe something to do with configure options.
                      One for the Dark Lord on his dark throne
                      In the Land of Mordor where the Shadows lie.

                      Comment

                      • LostTemplar
                        Knight
                        • Aug 2009
                        • 670

                        #26
                        Init.c line 215, message is from there.
                        Btw this function create_needed_dirs () is only called from main () if UNIX is defined, is it intended behaviour ?
                        Also it is called from main_crb, but nowhere else.

                        So it seems that it never create any dirs unless unix or OS X is used.

                        Also on unix it behave incorrectly if defines are incorrect, and I got this at first somehow (I cannot understand how autoconf works).

                        One more strange thing, it defines in autoconf.h a full path to angband, so it only can run from the same place, where it was compiled, IMHO not the best behaviour.
                        Last edited by LostTemplar; October 10, 2014, 11:08.

                        Comment

                        • debo
                          Veteran
                          • Oct 2011
                          • 2402

                          #27
                          You have to restructure your directories to play angband after the restructure. It's meta.
                          Glaurung, Father of the Dragons says, 'You cannot avoid the ballyhack.'

                          Comment

                          • Nick
                            Vanilla maintainer
                            • Apr 2007
                            • 9637

                            #28
                            Originally posted by LostTemplar
                            Init.c line 215, message is from there.
                            Btw this function create_needed_dirs () is only called from main () if UNIX is defined, is it intended behaviour ?
                            Also it is called from main_crb, but nowhere else.

                            So it seems that it never create any dirs unless unix or OS X is used.

                            Also on unix it behave incorrectly if defines are incorrect, and I got this at first somehow (I cannot understand how autoconf works).

                            One more strange thing, it defines in autoconf.h a full path to angband, so it only can run from the same place, where it was compiled, IMHO not the best behaviour.
                            So, a few things.

                            I think you have master branch; you probably want restruct.

                            UNIX is defined for everything except Windows.

                            The best way to build from the github source is
                            Code:
                            ./autogen.sh
                            ./configure (you may want options here like --with-no-install to run out of the source directory; --help gives an exhaustive list)
                            make
                            and if you are installing
                            Code:
                            make install (or maybe sudo make install)
                            One for the Dark Lord on his dark throne
                            In the Land of Mordor where the Shadows lie.

                            Comment

                            • Nick
                              Vanilla maintainer
                              • Apr 2007
                              • 9637

                              #29
                              Last Friday (or Saturday, or both, depending where you live) we had a devteam meeting; this seems a good time to do an update.

                              Main stuff since last update:
                              • Effect unification is complete
                              • A lot of duplicate spell code has been removed
                              • More work on the core-UI split.
                              • Terrain types have been drastically simplified, and door locks are now handled in the trap layer instead of the terrain layer
                              • Monster memory is now in a separate file in the user directory instead of in savefiles
                              • The monster movement and attack code has been reorganised and cleaned up
                              • Many of the game constants have been put in an edit file rather than being compiled in, so they are user alterable
                              • Edit file format has been standardised, and edit files made (hopefully) more readable
                              • Lots of other code simplification.


                              Looking forward, we are hoping to get the code to a playable state probably fairly early next year, and do some form of pre-release so that people can shoot holes in it all. Once we actually have a real release, I believe we should be able to do actual new stuff at a fairly rapid rate.

                              Thanks to everyone for your patience, and to everyone who is contributing to this process; also especial thanks to the devteam for at least trying to keep some sort of check on my insanity.
                              One for the Dark Lord on his dark throne
                              In the Land of Mordor where the Shadows lie.

                              Comment

                              • AnonymousHero
                                Veteran
                                • Jun 2007
                                • 1393

                                #30
                                Just curious: Is it semi-playable, or is it too buggy/crashy for that ATM? (I don't mind starting new games if there are savefile compat changes or if the game eats a character.)

                                Comment

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