Experiences with new Angband 4.2.5 and questions about Identifying and Variants

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Michaelyx
    replied
    Thx for your hints!

    The problem that the menu doesn't respond at all only exists with the version from Refial.org.
    With the current version of github the menu works and grafics too.

    Leave a comment:


  • PowerDiver
    replied
    I tested in an old ubuntu maybe 16 that failed the upgrade process, years ago, so it's hardly clean, on an old laptop whose built in graphics was problematic for linux when it was new. It hardly seems worth the effort to debug, but if you want me to run any diagnostics just let me know. I noticed Michael was doing things that do not go together, system install but copying the executable up, so I tested the simple build but got the same results. The next time I boot it up I'll try to see if Wayland is running and if I can disable it.

    Leave a comment:


  • backwardsEric
    replied
    Michaelyx or PowerDiver, details about what desktop environment is in use might help diagnose what's going wrong. In the past, there was some concern that this sort of behavior came from SDL2 using Wayland so if you can tell whether Wayland is in use, that might also help. Details about the graphics card likely don't matter since this is an input problem, but if you want to pass that information along go ahead.

    Probably should have a way for SDL2 front end to spit out what renderer implementation, video driver, and if there's a way to get it, details about the mouse and keyboard handling so it is easier to troubleshoot this kind of problem.

    Leave a comment:


  • PowerDiver
    replied
    I never played with tiles, and you inspired me to give it a shot. I got the same behavior. Clicking on the menu choices does nothing. The only difference was that I used --with-no-install.

    You have configured for a system installation. Your #10 should be irrelevant.

    Leave a comment:


  • Michaelyx
    replied
    In previous post I made a few mistakes - here is the corrected procedure as I did it.

    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. ./autogen.sh
    7. ./configure --enable-sdl2
    8. make
    9. sudo make install
    10. cp -a ./src/angband ./angband
    11. angband -msdl2

    Angband starts but the menu doesn't work. I can't go to full screen mode, select tiles, or do any of the options it offers.
    I hope someone can give me a hint as to why this isn't working properly:

    Leave a comment:


  • 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:

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