Experiences with new Angband 4.2.5 and questions about Identifying and Variants

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Michaelyx
    replied
    Hi! THX for your help!
    I compiled as you said.
    1. Load angband-4.2.5.tar.gz from https://rephial.org/
    2. Unpacked in Finder under Downloads by double-clicking.
    3. Next in the terminal: cd ~/Downloads/angband-4.2.5
    4. sudo apt-get install automake libtool
    5. sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev
    6. ./configure --enable-sdl2
    7. sudo make
    8. sudo make install
    9. cp -a ./src/angband ./angband
    9. angband -msdl2

    Angband starts but the menu doesn't work. I can't switch to fullscreen, select tiles, or do any of the options provided here.
    Seems to be a similar issue to this one: https://github.com/angband/angband/i...ssue-867970884

    Leave a comment:


  • Nick
    replied
    If you have compiled as I said with
    Code:
    sudo make install
    you should be able to just run
    Code:
    angband -msdl2
    If you did as in the compile instructions in the help, it should be ./angband from the directory which also contains the lib directory; if your executable is in src, copy it one directory higher and try that.

    x11 doesn't allow graphics; both sdl and sdl2 do, and they can be selected from menus once the game has opened.

    Leave a comment:


  • Michaelyx
    replied
    Hello, I tried to install the suggested libraries and then carried out the compiling process again.
    I'm not sure about starting Angband installed like this. Is it correct: /src/angband or is it also possible: ~/angband?

    In order to use graphics in the game I would need more information:
    Are graphics possible with -x11, -msdl or just -msdl2?
    How are they selected in the game?
    Thank you for your help!

    Leave a comment:


  • backwardsEric
    replied
    If you're compiling from source with configure, it will build the curses and X11 interfaces by default as long as the necessary libraries are available, but neither of those interfaces support using graphical tiles. It will build the SDL2 or SDL interfaces if requested but the necessary libraries also have to be installed. When you run configure, it will list the interfaces that will be built near the end of its output. For compiling the SDL2 interface, the packages you would need to install before running "configure --enable-sdl2" are: libsdl2-dev, libsdl2-image-dev, libsdl2-ttf-dev, and libsdl2-mixer-dev (the last one is only necessary if you want sound). From the command line those could be installed with

    Code:
    sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev
    if sudo access has been set up for the account (if not you could use

    Code:
    su root
    apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev
    exit
    ). The SDL2 version does support graphical tiles but the interface is not much like the Windows interface. You could install Wine (the package is wine) and then download and unpack the prepackaged Windows executable for Angband, for instance https://github.com/angband/angband/r...-4.2.5-win.zip for 4.2.5. Then you would run

    Code:
    cd <directory with the unpacked Angband for Windows files>
    wine angband.exe
    to have the Windows interface you're familiar with.

    Leave a comment:


  • Michaelyx
    replied
    Originally posted by Nick
    This means you don't have the correct sdl2 packages. I believe you need SDL2_image and SDL2_ttf, and SDL2_mixer if you want sound.
    THX for your help!
    How do I get the correct sdl2 packages?

    I'm trying to install a version of Angband for Ubuntu that looks and feels similar to the Windows version.
    When I start "Angband" from the terminal, it currently only runs with a single window and I can't find any way to select graphics. What's going wrong?​

    Leave a comment:


  • Nick
    replied
    This means you don't have the correct sdl2 packages. I believe you need SDL2_image and SDL2_ttf, and SDL2_mixer if you want sound.

    Leave a comment:


  • Michaelyx
    replied
    Hi! Thanks for your help!
    I tried to install Angband but got this Error
    Code:
    EliteBook-840-G5:~/Downloads/angband-4.2.5/src$ ./angband -msdl2
    
    ./angband: Unable to prepare any 'display module'!
    What is going wrong?

    Leave a comment:


  • Nick
    replied
    OK, this failed because you don't have the autotools package installed. If you are not familiar with building stuff for your system, you can either:
    1. Install autotools, plus whatever other necessary packages you don't have; anything you don't understand you can ask back here or just search; or
    2. Do what Eric said.
    It just depends on your preference

    Leave a comment:


  • Michaelyx
    replied
    Originally posted by Nick
    Note also that the instructions in the online docs are essentially this, but for compiling in place so that you run
    Code:
    .angband -msdl2
    from the angband directory.
    Unfortunately, when I start Angband this way I get the following error message: What am I doing wrong?

    Code:
    michaelyx@michaelyx-HP-EliteBook-840-G5:~/Downloads/angband-4.2.5/src$ ./angband -msdl2
    ./angband: Unable to prepare any 'display module'!
    michaelyx@michaelyx-HP-EliteBook-840-G5:~/Downloads/angband-4.2.5/src$

    Leave a comment:


  • Michaelyx
    replied
    I was now able to sucessfully compile. Had to install automake libtool before: https://stackoverflow.com/a/69172681
    Code:
    michaelyx@michaelyx-HP-EliteBook-840-G5:~/Downloads/angband-4.2.5$ sudo apt-get install automake libtool
    Paketlisten werden gelesen… Fertig
    Abh?ngigkeitsbaum wird aufgebaut… Fertig
    Statusinformationen werden eingelesen… Fertig
    Die folgenden zus?tzlichen Pakete werden installiert:
      autoconf autotools-dev libltdl-dev m4
    Vorgeschlagene Pakete:
      autoconf-archive gnu-standards autoconf-doc libtool-doc gfortran
      | fortran95-compiler gcj-jdk m4-doc
    Die folgenden NEUEN Pakete werden installiert:
      autoconf automake autotools-dev libltdl-dev libtool m4
    0 aktualisiert, 6 neu installiert, 0 zu entfernen und 15 nicht aktualisiert.
    Es m?ssen 1.521 kB an Archiven heruntergeladen werden.
    Nach dieser Operation werden 6.667 kB Plattenplatz zus?tzlich benutzt.
    M?chten Sie fortfahren? [J/n] j
    ...
    ​

    Leave a comment:


  • Michaelyx
    replied
    Originally posted by Nick

    I would recommend:
    Code:
    ./autogen.sh
    ./configure --enable-sdl2 (or --enable-sdl if you prefer)
    make
    sudo make install
    and then graphics are available from the menu in sdl2 or sdl.

    Note that the instructions in the online docs are more or less, but for compiling in place so you just run ./angband on the angband directory.
    Thx for your answers!
    Nick do you mean the directory angband-4.2.5?
    I do get this error: File or directory not found
    Code:
    michaelyx@michaelyx-HP-EliteBook-840-G5:~/Downloads/angband-4.2.5$ ./angband
    bash: ./angband: File or directory not found​
    michaelyx@michaelyx-HP-EliteBook-840-G5:~/Downloads/angband-4.2.5$ ./autogen.sh
    *info* running aclocal (-I m4)
    ./autogen.sh: 38: aclocal: not found
    *error* aclocal failed. (exit code = 127)
    michaelyx@michaelyx-HP-EliteBook-840-G5:~/Downloads/angband-4.2.5$ ./configure --enable-sdl2
    bash: ./configure: File or directory not found​
    michaelyx@michaelyx-HP-EliteBook-840-G5:~/Downloads/angband-4.2.5$ ls -la
    insgesamt 296
    drwxrwxr-x 12 michaelyx michaelyx  4096 Aug 19  2023 .
    drwxr-xr-x  5 michaelyx michaelyx  4096 J?n 10 14:01 ..
    -rw-rw-r--  1 michaelyx michaelyx 19558 Aug 19  2023 acinclude.m4
    -rwxrwxr-x  1 michaelyx michaelyx  2427 Aug 19  2023 autogen.sh
    -rw-rw-r--  1 michaelyx michaelyx 22438 Aug 19  2023 changes.txt
    -rw-rw-r--  1 michaelyx michaelyx 35794 Aug 19  2023 CMakeLists.txt
    -rwxrwxr-x  1 michaelyx michaelyx 49938 Aug 19  2023 config.guess
    -rwxrwxr-x  1 michaelyx michaelyx 35818 Aug 19  2023 config.sub
    -rw-rw-r--  1 michaelyx michaelyx 21584 Aug 19  2023 configure.ac
    -rw-rw-r--  1 michaelyx michaelyx 13123 Aug 19  2023 CONTRIBUTING.md
    drwxrwxr-x  5 michaelyx michaelyx  4096 Aug 19  2023 docs
    drwxrwxr-x  3 michaelyx michaelyx  4096 Aug 19  2023 .github
    -rw-rw-r--  1 michaelyx michaelyx   843 Aug 19  2023 .gitignore
    -rwxrwxr-x  1 michaelyx michaelyx  5598 Aug 19  2023 install-sh
    drwxrwxr-x 11 michaelyx michaelyx  4096 Aug 19  2023 lib
    drwxrwxr-x  2 michaelyx michaelyx  4096 Aug 19  2023 m4
    -rw-rw-r--  1 michaelyx michaelyx  2732 Aug 19  2023 Makefile
    drwxrwxr-x  2 michaelyx michaelyx  4096 Aug 19  2023 mk
    -rw-rw-r--  1 michaelyx michaelyx   737 Aug 19  2023 README.md
    -rwxrwxr-x  1 michaelyx michaelyx   547 Aug 19  2023 run-tests
    drwxrwxr-x  2 michaelyx michaelyx  4096 Aug 19  2023 screenshots
    drwxrwxr-x  2 michaelyx michaelyx  4096 Aug 19  2023 scripts
    drwxrwxr-x 10 michaelyx michaelyx 12288 Aug 19  2023 src
    drwxrwxr-x  4 michaelyx michaelyx  4096 Aug 19  2023 tests
    -rw-rw-r--  1 michaelyx michaelyx   141 Aug 19  2023 .travis.yml
    drwxrwxr-x  2 michaelyx michaelyx  4096 Aug 19  2023 utils
    michaelyx@michaelyx-HP-EliteBook-840-G5:~/Downloads/angband-4.2.5$
    ​

    Leave a comment:


  • backwardsEric
    replied
    Thanks to magnate and other Debian maintainers, Ubuntu 24.04 and later also include Angband 4.2.5 in the standard set of packages. You could install the angband package (and the angband-audio package if you want to play with the sounds on). The prepackaged version of Angband does not include Shockbolt's tiles. If you want to use those, install from the .tar.gz with Nick's instructions above.

    Leave a comment:


  • Nick
    replied
    Note also that the instructions in the online docs are essentially this, but for compiling in place so that you run
    Code:
    .angband -msdl2
    from the angband directory.

    Leave a comment:


  • Nick
    replied
    Originally posted by Michaelyx
    Hello!
    Can someone help me start the Ubuntu version of Angband 4.2.5 with graphics ? I tried on Ubuntu 24.04.1 LTS

    1. Downloaded from https://rephial.org/angband-4.2.5.tar.gz.
    2. Unpacked in Finder under Downloads by double-clicking.
    3. Couldn't find any information about installation or start of the game in the docs.
    I would recommend:
    Code:
    ./autogen.sh
    ./configure --enable-sdl2 (or --enable-sdl if you prefer)
    make
    sudo make install
    and then graphics are available from the menu in sdl2 or sdl.

    Note that the instructions in the online docs are more or less, but for compiling in place so you just run ./angband on the angband directory.

    Leave a comment:


  • Michaelyx
    replied
    Hello!
    Can someone help me start the Ubuntu version of Angband 4.2.5 with graphics ? I tried on Ubuntu 24.04.1 LTS

    1. Downloaded from https://rephial.org/angband-4.2.5.tar.gz.
    2. Unpacked in Finder under Downloads by double-clicking.
    3. Couldn't find any information about installation or start of the game in the docs.

    Leave a comment:

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