![]() |
#31 |
Swordsman
Join Date: May 2016
Posts: 330
![]() |
|
![]() |
![]() |
![]() |
#32 |
Rookie
Join Date: Aug 2018
Posts: 23
![]() |
@tn4k hope you are able to see my edited answer. It would be nice to have a windowed mode if possible, at least to show/share screenshots.
something like - Code:
$ ./angband --windowed Code:
./angband --version Also there is no sound. There also seems to be missing a debug-mode, something which tells what is going on ![]() Maybe at configure time I need to add some -debugging symbols as well ? Last edited by shirish; September 24, 2018 at 17:27. |
![]() |
![]() |
![]() |
#33 | |
Swordsman
Join Date: May 2016
Posts: 330
![]() |
Quote:
![]() Code:
./angband --version ![]() |
|
![]() |
![]() |
![]() |
#34 |
Rookie
Join Date: Aug 2018
Posts: 23
![]() |
right, my bad. So all looks good, except I don't hear either any sound or music
![]() https://imgur.com/a/UGwkjEa |
![]() |
![]() |
![]() |
#35 | ||
Swordsman
Join Date: May 2016
Posts: 330
![]() |
Quote:
Did you enable it in options? ("=" -> "User interface options" -> "Use sound"). Sound is a bit problematic, because Angband uses MP3, which SDL2_mixer doesn't like very much. Alghough I'd expect Debian has it figured out (and used correct codecs when compiling SDL2_mixer...) Quote:
|
||
![]() |
![]() |
![]() |
#36 | ||
Rookie
Join Date: Aug 2018
Posts: 23
![]() |
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#37 | |
Swordsman
Join Date: May 2016
Posts: 330
![]() |
Quote:
Angband's interface is far from ideal, don't you think? ![]() |
|
![]() |
![]() |
![]() |
#38 | |
Rookie
Join Date: Aug 2018
Posts: 23
![]() |
Quote:
![]() I did try to see if ~/.angband/Angband has any options although ideally it should be using ~/.config/angband/$whatever to be in-line with freedesktop specifications but that's something for another day. see https://specifications.freedesktop.o...t/ar01s02.html for what I mean but as shared that's something that angband people might think of looking into. FWIW, even after toggling sound=yes I don't get any sound and there is also no way to know if that option is being saved in-game. That's the reason I was thinking of having a debug-mode so you could knwo what all is happening, for things like this. |
|
![]() |
![]() |
![]() |
#39 | |
Swordsman
Join Date: May 2016
Posts: 330
![]() |
Well, that's the standard Angband thing... they're saved in the character savefile (and, if you run configure --with-no-install, the savefile is in angband/lib/save).
Quote:
Code:
ldd angband | grep mixer Code:
nm angband | grep sound In any case, since there were some problems with compiling with sound initally, try to recompile: Code:
make -f Makefile.sdl2 clean SOUND=yes make -f Makefile.sdl2 |
|
![]() |
![]() |
![]() |
#40 | |
Rookie
Join Date: Aug 2018
Posts: 23
![]() |
[QUOTE=t4nk;133428]Well, that's the standard Angband thing... they're saved in the character savefile (and, if you run configure --with-no-install, the savefile is in angband/lib/save). /QUOTE]
argh... that's horrible if I am seeing this right - Code:
~/games/angband-t4nk074/lib/save$ file Shirish Shirish: data ![]() Quote:
I did as you shared and this time did hear a thunder but that's about it. Code:
~/games/angband-t4nk074$ ldd angband | grep sound libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (some memory address) Code:
~/games/angband-t4nk074$ nm angband | grep sound 00000000000acd60 T init_sound 00000000000e6da0 T init_sound_sdl 00000000000ac740 t load_sound 00000000000e6c40 t load_sound_sdl 000000000005abf0 T message_lookup_by_sound_name 00000000000aca40 T message_sound_define 000000000005ac40 T message_sound_name 00000000001633e0 b message_sounds 00000000001633d8 b next_sound_id 00000000000acca0 T parse_prefs_sound 000000000003e150 T play_ambient_sound 00000000000ac8a0 t play_sound 00000000000e6b50 t play_sound_sdl 00000000000acdf0 T print_sound_help 00000000000acd40 T register_sound_pref_parser 000000000005ac70 T sound 00000000001389a0 d sound_names.7204 00000000001389a0 d sound_names.7212 00000000001633d0 b sounds 000000000013da60 d supported_sound_files 00000000000e6bc0 t unload_sound_sdl @Magnate , hope you are following the thread, please input if you have any questions/queries about sound/music etc as you know the game much better than I do. |
|
![]() |
![]() |
![]() |
Tags |
libsdl2 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Android-port not work | Angrist | Vanilla | 1 | October 14, 2014 03:24 |
Web Port | wilbur07 | Vanilla | 6 | February 27, 2014 13:39 |
OpenGL port | BreathesFire | Development | 2 | November 3, 2011 07:22 |
[FA] NDS port | Donald Jonker | Variants | 54 | October 6, 2011 15:49 |
[V] Gtk port | Magnate | Development | 1 | February 24, 2009 09:48 |