Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Variants (http://angband.oook.cz/forum/forumdisplay.php?f=4)
-   -   [Announce] FrogComposband 7.1.salmiak released (http://angband.oook.cz/forum/showthread.php?t=10152)

Gokudera ElPsyCongroo January 6, 2022 03:55

1 Attachment(s)
Quote:

Originally Posted by Sideways (Post 156858)
In-dungeon shops are already a thing, and often have much better items than normal shops :)

Very nice to hear! I couldn't see any in noob dungeons I've visited for now but loving the variety and feeling of exploration already.

I have a small "bug" with subwindows: when loading my save, text is slightly cropped. Resizing the window fixes it, but the problem reappears when saving and reloading. Not sure if I badly configured something?

Gokudera ElPsyCongroo January 8, 2022 03:41

Just slain Smeagol and the Recall says that he drops 1 exceptional object but I only saw a lot of gold on the floor… Are those drops chance not 100%, even though it's an unique'? (but if so, why did I get the information in the recall?)

It was in a cramped corridor, so is it possible that the gold took the place of the exceptional object and wiped it out of the floor?

Sideways January 8, 2022 15:38

Smeagol has the DROP_90 flag, which for uniques means dropping 1 object. (For non-uniques it means they have a 90% chance of dropping the object, which is still listed as 1 object in monster recall.)

Smeagol also has the ONLY_ITEM flag, which means the object is guaranteed to not be gold. (Smeagol does drop gold, but that's because of a different mechanic.)

This was a very quick look, but from what I saw he should always drop an object. Did you steal an object from him, or was he a pet of yours at some point?

Grotug January 8, 2022 15:56

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. :confused: 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]


Gokudera ElPsyCongroo January 8, 2022 17:19

Thanks I see, that's weird…

Quote:

Originally Posted by Sideways (Post 156893)
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 :p)

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?

Sideways January 8, 2022 20:16

Quote:

Originally Posted by Gokudera ElPsyCongroo (Post 156896)
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 :p

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.

Quote:

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.
Quote:

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.

Quote:

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

Sideways January 8, 2022 20:30

Quote:

Originally Posted by Grotug (Post 156894)
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. :confused: 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?

Grotug January 9, 2022 02:33

Quote:

Originally Posted by Sideways (Post 156902)
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 %


smbhax January 9, 2022 06:10

Quote:

Originally Posted by Grotug (Post 156905)
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:

Quote:

Originally Posted by backwardsEric (Post 156917)
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.)

smbhax January 9, 2022 06:23

Quote:

Originally Posted by Grotug (Post 156894)
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
)


All times are GMT +1. The time now is 16:14.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.