[Announce] FrogComposband 7.1.salmiak released

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • lea2501
    replied
    Originally posted by backwardsEric
    A quick way is to tell it you're using an SGI (looks like the only effect of that is to skip the problematic header file):

    Code:
    ./configure --prefix $HOME/.frogcomposband --without-x --with-no-install CFLAGS=-DSGI
    gmake
    Sadly i have the same exact error

    Code:
    Generating dependencies...
    gmake[4]: Entering directory '/home/lea/src/frogcomposband/src'
    In file included from ninja.c:1:
    In file included from ./angband.h:19:
    In file included from ./h-basic.h:66:
    ./h-system.h:43:12: fatal error: 'sys/timeb.h' file not found
    #  include <sys/timeb.h>
               ^~~~~~~~~~~~~

    Leave a comment:


  • backwardsEric
    replied
    Originally posted by lea2501
    How can i compile Frogcomposband in OpenBSD 7.0 -current? i tried the following with no success:

    Code:
    $ ./configure --prefix $HOME/.frogcomposband --without-x --with-no-install
    $ gmake clean
    $ gmake
    A quick way is to tell it you're using an SGI (looks like the only effect of that is to skip the problematic header file):

    Code:
    ./configure --prefix $HOME/.frogcomposband --without-x --with-no-install CFLAGS=-DSGI
    gmake

    Leave a comment:


  • lea2501
    replied
    How can i compile Frogcomposband in OpenBSD 7.0 -current? i tried the following with no success:

    Code:
    $ ./configure --prefix $HOME/.frogcomposband --without-x --with-no-install
    $ gmake clean
    $ gmake
    But i get this output:
    Code:
    gmake[1]: Entering directory '/home/lea/src/frogcomposband'
    Entering directory src
    gmake[2]: Entering directory '/home/lea/src/frogcomposband/src'
    gmake[3]: Entering directory '/home/lea/src/frogcomposband/src'
    gmake[3]: Leaving directory '/home/lea/src/frogcomposband/src'
    gmake[3]: Entering directory '/home/lea/src/frogcomposband/src'
    Generating dependencies...
    gmake[4]: Entering directory '/home/lea/src/frogcomposband/src'
    In file included from monk.c:1:
    In file included from ./angband.h:19:
    In file included from ./h-basic.h:66:
    ./h-system.h:43:12: fatal error: 'sys/timeb.h' file not found
    #  include <sys/timeb.h>
               ^~~~~~~~~~~~~
    1 error generated.
    In file included from monspell.c:1:
    In file included from ./angband.h:19:
    In file included from ./h-basic.h:66:
    ./h-system.h:43:12: fatal error: 'sys/timeb.h' file not found
    #  include <sys/timeb.h>
               ^~~~~~~~~~~~~

    Leave a comment:


  • Sideways
    replied
    That's a good point; I could make thieves drop stolen gold, but also pick up floor gold. Although it would change the money balance a bit, and make the Thieves' Hideout quest less of a warning about giving all your money away.

    Leave a comment:


  • HugoVirtuoso
    replied
    In Frogcomposband, I notice that enemies, especially thieves, don't pick up money from the ground. What's up with that?

    Leave a comment:


  • Sideways
    replied
    Originally posted by Pete Mack
    He does not always have an object drop. But he always drops the gold he steals.
    That's (modern) Vanilla. Thieves in FrogComposband drop any stolen objects, but not stolen gold (although thieves do drop extra gold at the same rate as droppers of good and excellent objects).

    Leave a comment:


  • Pete Mack
    replied
    He does not always have an object drop. But he always drops the gold he steals.

    Leave a comment:


  • backwardsEric
    replied
    For compiling on a Mac, try

    Code:
    ./configure --with-no-install NCURSES_CONFIG=/usr/bin/ncurses5.4-config
    . That worked with Angband on a system with macOS 11.6.2 and Xcode 13.2.1 installed. That path in /usr/bin is where the ncurses configuration tool is. This also worked for Angband:

    Code:
    ./configure --with-no-install --with-ncurses-prefix=/usr LIBS=-lncurses

    Leave a comment:


  • smbhax
    replied
    Originally posted by Grotug
    I enter /src directory and type frogcomposband but says command not found.
    Not sure how things work on Mac, but in Cygwin, running an exe with just its name doesn't work; you have to use "./[file name]"; also, as Sideways mentioned, you would tend to do that outside the /src folder (or even outside the game folder entirely). For instance, in Cygwin I have the game in a folder named "frogcomposband" in my home/[username]/ folder, so after starting Cygwin, from my username folder, to launch the game I type

    Code:
    ./frogcomposband/src/frogcomposband
    ^ You have the "./" on the front (that was what looked missing in what you wrote--but again, not sure exactly what syntax may be required on Mac).

    (And if you want subwindows--this is covered down near the bottom of the readme--you can enter more parameters, like mine with 3 subwindows is

    Code:
    ./frogcomposband/src/frogcomposband -mgcu -- -right 40x25,* -bottom *x7
    )
    Last edited by smbhax; January 9, 2022, 15:54.

    Leave a comment:


  • smbhax
    replied
    Originally posted by Grotug
    Code:
    checking for ncursesw5-config... no
    checking for ncurses - wide char support... no
    *** The ncursesw5-config script installed by ncursesw could not be found
    *** If ncursesw was installed in PREFIX, make sure PREFIX/bin is in
    *** your path, or set the NCURSES_CONFIG environment variable to the
    *** full path to ncursesw5-config.
    Code:
    -- Frontends --
    - Curses                                  No; missing libraries
    - X11                                     No; missing libraries
    - SDL                                     Disabled
    - Windows                                 Disabled
    - Test                                    No
    - Stats                                   No
    
    - SDL sound                               Disabled
    In Cygwin, I get that ncursesw script missing configure message too, which for Frog disables compiling the Curses front end. With no front ends enabled, as in your case, the game won't work (I think your first problem is launching the game with the correct syntax though--see next post).

    Cygwin doesn't have an ncurses 5 package, just 6--so I worked around the ncursesw5-config thing by going into my /cygwin/bin/ directory, copying the ncurses6-config and ncursesw6-config files, and changing "6" to "5" in the names of the copied files. ; ) To my surprise, that hack actually worked, and I was able to compile and run the game.

    Angband vanilla has kind of worked around this problem by changing the ncursesw config error to just a warning, so it doesn't disable the Curses front end. But maybe Frog actually uses a wide character set, unlike Vanilla? Although hm no wait Frog seems to look fine on angband.live in Droid Sans Mono, which is not a (very) wide font (alas!), so probably not.

    Not sure why Vanilla and Frog haven't updated their config settings to detect ncurses/w 6 as well as 5, though. Ncurses 6 has been out since 2015, and is source-compatible with 5 https://invisible-island.net/ncurses/announce-6.0.html--but if the user only has 6, and the config script is hard-coded to check only for 5's filenames or whatever, then this sort of silly problem will occur.

    UPDATE 1/11: backwardsEric has the elegant solution for this curses detection problem in the next page or two of the thread:

    Originally posted by backwardsEric
    For compiling on a Mac, try

    Code:
    ./configure --with-no-install NCURSES_CONFIG=/usr/bin/ncurses5.4-config
    . That worked with Angband on a system with macOS 11.6.2 and Xcode 13.2.1 installed. That path in /usr/bin is where the ncurses configuration tool is. This also worked for Angband:

    Code:
    ./configure --with-no-install --with-ncurses-prefix=/usr LIBS=-lncurses
    (The latter worked for me on Cygwin.)
    Last edited by smbhax; January 11, 2022, 18:55.

    Leave a comment:


  • Grotug
    replied
    Originally posted by Sideways
    FrogComposband should not be launched from the /src folder, but from whichever folder is above /src; although I don't think that's the only problem here. What happens if you configure it with ./configure --with-no-install?
    Code:
    jasonroot@Jasons-MacBook-Pro frogcomposband-7.1.salmiak % ./configure
    checking build system type... x86_64-apple-darwin20.6.0
    checking host system type... x86_64-apple-darwin20.6.0
    checking target system type... x86_64-apple-darwin20.6.0
    checking for tput... /usr/bin/tput
    configure: touching .deps files
    Note: You have chosen to compile for installation, with data files
        in standard locations. For development, you may wish to consider using
        --with-no-install which will leave the game to run from the directory
        into which it was extracted and compiled.
    
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether make sets $(MAKE)... yes
    checking whether ln -s works... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for a thread-safe mkdir -p... ./install-sh -c -d
    checking for windres... no
    checking for rm... /bin/rm
    checking for mv... /bin/mv
    checking for cp... /bin/cp
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking for stdint.h... (cached) yes
    checking for stdbool.h that conforms to C99... yes
    checking for _Bool... yes
    checking for an ANSI C-conforming const... yes
    checking return type of signal handlers... void
    checking for mkdir... yes
    checking for setresgid... no
    checking for setegid... yes
    checking for stat... yes
    checking for mkstemp... yes
    checking for usleep... yes
    checking for fdopen... yes
    checking if gcc supports -Wno-missing-field-initializers... yes
    checking if make supports SysV-style inclusion... yes
    checking for make silent include syntax... gnu
    checking for ncursesw5-config... no
    checking for ncurses - wide char support... no
    *** The ncursesw5-config script installed by ncursesw could not be found
    *** If ncursesw was installed in PREFIX, make sure PREFIX/bin is in
    *** your path, or set the NCURSES_CONFIG environment variable to the
    *** full path to ncursesw5-config.
    checking for mvwaddnwstr... no
    checking for use_default_colors... no
    checking for can_change_color... no
    checking for X... no
    configure: creating ./config.status
    config.status: creating mk/buildsys.mk
    config.status: creating mk/extra.mk
    config.status: creating mk/sinclude.mk
    config.status: creating src/autoconf.h
    config.status: src/autoconf.h is unchanged
    
    Configuration:
    
      Install path:                           /usr/local
      binary path:                            /usr/local/games
      config path:                            /usr/local/etc/frogcomposband/
      lib path:                               /usr/local/share/frogcomposband/
      doc path:                               /usr/local/share/doc/frogcomposband/
      var path:                               (not used)
      (with private save and score files in ~/.angband/FrogComposband/)
    
    -- Frontends --
    - Curses                                  No; missing libraries
    - X11                                     No; missing libraries
    - SDL                                     Disabled
    - Windows                                 Disabled
    - Test                                    No
    - Stats                                   No
    
    - SDL sound                               Disabled
    jasonroot@Jasons-MacBook-Pro frogcomposband-7.1.salmiak % frogcomposband
    zsh: command not found: frogcomposband
    jasonroot@Jasons-MacBook-Pro frogcomposband-7.1.salmiak %
    Edit, woops. Now I understand what you asked:

    Code:
    jasonroot@Jasons-MacBook-Pro frogcomposband-7.1.salmiak % ./configure --with-no-install
    checking build system type... x86_64-apple-darwin20.6.0
    checking host system type... x86_64-apple-darwin20.6.0
    checking target system type... x86_64-apple-darwin20.6.0
    checking for tput... /usr/bin/tput
    configure: touching .deps files
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether make sets $(MAKE)... yes
    checking whether ln -s works... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for a thread-safe mkdir -p... ./install-sh -c -d
    checking for windres... no
    checking for rm... /bin/rm
    checking for mv... /bin/mv
    checking for cp... /bin/cp
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking for stdint.h... (cached) yes
    checking for stdbool.h that conforms to C99... yes
    checking for _Bool... yes
    checking for an ANSI C-conforming const... yes
    checking return type of signal handlers... void
    checking for mkdir... yes
    checking for setresgid... no
    checking for setegid... yes
    checking for stat... yes
    checking for mkstemp... yes
    checking for usleep... yes
    checking for fdopen... yes
    checking if gcc supports -Wno-missing-field-initializers... yes
    checking if make supports SysV-style inclusion... yes
    checking for make silent include syntax... gnu
    checking for ncursesw5-config... no
    checking for ncurses - wide char support... no
    *** The ncursesw5-config script installed by ncursesw could not be found
    *** If ncursesw was installed in PREFIX, make sure PREFIX/bin is in
    *** your path, or set the NCURSES_CONFIG environment variable to the
    *** full path to ncursesw5-config.
    checking for mvwaddnwstr... no
    checking for use_default_colors... no
    checking for can_change_color... no
    checking for X... no
    configure: creating ./config.status
    config.status: creating mk/buildsys.mk
    config.status: creating mk/extra.mk
    config.status: creating mk/sinclude.mk
    config.status: creating src/autoconf.h
    
    Configuration:
    
      Install path:                           (not used)
      binary path:                            ..
      config path:                            /Users/jasonroot/documents/frogcomposband-7.1.salmiak/lib/
      lib path:                               /Users/jasonroot/documents/frogcomposband-7.1.salmiak/lib/
      doc path:                               /Users/jasonroot/documents/frogcomposband-7.1.salmiak/doc/
      var path:                               /Users/jasonroot/documents/frogcomposband-7.1.salmiak/lib/
    
    -- Frontends --
    - Curses                                  No; missing libraries
    - X11                                     No; missing libraries
    - SDL                                     Disabled
    - Windows                                 Disabled
    - Test                                    No
    - Stats                                   No
    
    - SDL sound                               Disabled
    jasonroot@Jasons-MacBook-Pro frogcomposband-7.1.salmiak %

    Leave a comment:


  • Sideways
    replied
    Originally posted by Grotug
    Screwing around in terminal now. Hopefully I'll figure out compiling without wrecking my computer >.<

    Anyone know how to compile this for MacOS? I read the readme.txt but copying and pasting the commands gives a lot of "command not found" messages. I think I did download 20gb of dev tools when it prompted me to, but still not able to compile. *** several command and permissions later *** I did manage to get it to install (lots of lines of code went flying down the screen). But when I type frogcomposband nothing happens and I don't see a new folder or new files after the make install. I enter /src directory and type frogcomposband but says command not found. I double click on frogcomposband from the finder window in the /src folder and this happens:

    Code:
    Last login: Sat Jan  8 11:23:55 on ttys001
    jasonroot@Jasons-MacBook-Pro ~ % /Users/jasonroot/Documents/frogcomposband-7.1.salmiak/src/frogcomposband ; exit;
    /Users/jasonroot/Documents/frogcomposband-7.1.salmiak/src/frogcomposband: Cannot create '/usr/local/var/games/frogcomposband/user'
    Saving session...
    ...copying shared history...
    ...saving history...truncating history files...
    ...completed.
    
    [Process completed]
    FrogComposband should not be launched from the /src folder, but from whichever folder is above /src; although I don't think that's the only problem here. What happens if you configure it with ./configure --with-no-install?

    Leave a comment:


  • Sideways
    replied
    Originally posted by Gokudera ElPsyCongroo
    Thanks I see, that's weird…

    No… I could've missed it by mistake, though I have Detect Objects and crawl very slowly (hunted Robin Hood around the entire floor to see if he could drop a sling for my Rogue
    To answer your other question from before, no, the gold would not displace or replace the object even in a cramped area; although the gold might generate on the same square as the object, potentially obscuring it on the screen. But in that case, even if you weren't checking the object list, you would notice the object upon walking over it.

    Oh speaking of which, what type of special bonus for slings do Rogue get (saw that from the manual)?
    Think it's just a CL-dependent accuracy boost.
    What bonus/penalty do Shadow-Fairies get in light/darkness?
    None, they have a special stealth mechanic but it's unrelated to illumination. You're probably thinking of their racial vulnerability to the element light; i.e. they take extra damage from light-based attacks.

    Also do slings and ranged weapons get a penalty when fired at range 1?
    No.

    Leave a comment:


  • Gokudera ElPsyCongroo
    replied
    Thanks I see, that's weird…

    Originally posted by Sideways
    Did you steal an object from him, or was he a pet of yours at some point?
    No… I could've missed it by mistake, though I have Detect Objects and crawl very slowly (hunted Robin Hood around the entire floor to see if he could drop a sling for my Rogue )

    Oh speaking of which, what type of special bonus for slings do Rogue get (saw that from the manual)?
    What bonus/penalty do Shadow-Fairies get in light/darkness? Because until now I kept casting Illumination/having a brass lantern, without visible penalties?
    Also do slings and ranged weapons get a penalty when fired at range 1?

    Leave a comment:


  • Grotug
    replied
    Screwing around in terminal now. Hopefully I'll figure out compiling without wrecking my computer >.<

    Anyone know how to compile this for MacOS? I read the readme.txt but copying and pasting the commands gives a lot of "command not found" messages. I think I did download 20gb of dev tools when it prompted me to, but still not able to compile. *** several command and permissions later *** I did manage to get it to install (lots of lines of code went flying down the screen). But when I type frogcomposband nothing happens and I don't see a new folder or new files after the make install. I enter /src directory and type frogcomposband but says command not found. I double click on frogcomposband from the finder window in the /src folder and this happens:

    Code:
    Last login: Sat Jan  8 11:23:55 on ttys001
    jasonroot@Jasons-MacBook-Pro ~ % /Users/jasonroot/Documents/frogcomposband-7.1.salmiak/src/frogcomposband ; exit;
    /Users/jasonroot/Documents/frogcomposband-7.1.salmiak/src/frogcomposband: Cannot create '/usr/local/var/games/frogcomposband/user'
    Saving session...
    ...copying shared history...
    ...saving history...truncating history files...
    ...completed.
    
    [Process completed]
    Last edited by Grotug; January 8, 2022, 16:30.

    Leave a comment:

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