SliTaz SliTaz Forum

You are not logged in.

#1 2020-01-05 00:09:54

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Unrecognized music format

Hello,

I installed an old game (from a converted .deb) that uses .s3m music files.

On SliTaz Rolling, the game doesn't start ([c]Fatal: Cannot open winner.s3m: Unrecognized music format[/c]) but it runs correctly on a debian based distro.

I didn't find any informations about this format that helped me.

Does someone have an idea?

Offline

#2 2020-01-05 06:53:21

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Unrecognized music format

Programs that open S3M files

https://fileinfo.com/extension/s3m

Linux

VideoLAN VLC media player

Schism Tracker

MilkyTracker

Offline

#3 2020-01-07 00:11:15

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Unrecognized music format

deadbeef

Plays nearly anything you throw at it

https://deadbeef.sourceforge.io/

Mp3, ogg vorbis, flac, ape, wv/iso.wv, wav, m4a/m4b/mp4 (aac and alac), mpc, tta, cd audio, and many more

Nsf, ay, vtx, vgm/vgz, spc and many other popular chiptune formats

SID with HVSC song length database support for sid

Tracker modules - mod, s3m, it, xm, etc

And even more formats using FFMPEG

Offline

#4 2020-01-07 07:24:12

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Unrecognized music format

Hi alanyih,

Thank you for you help.

I focused too much on the error message. When I launch the game from a terminal, various messages are displayed and just before the game opens I can read

[c]Info: Using SDL and GLUT[/c]

Then the game immediately closes and there are two messages more in the terminal:

[c]Info: Using SDL_mixer

Fatal: Cannot open winner.s3m: Unrecognized music format[/c]

My understanding is the game calls SDL_mixer to read s3m files and I think the problem comes from libsdl-mixer.

I had a look at the cook log of the package and I found in it

[c][...]

checking for libmikmod-config... no

configure: WARNING: *** Unable to find MikMod library (http://mikmod.raphnet.net/)

configure: WARNING: MOD support disabled

[...][/c]

When I enter the url in the web browser I'm redirected to the homepage of MikMod (http://mikmod.sourceforge.net/):

What is MikMod?

Mikmod is a module player and library supporting many formats, including mod, s3m, it, and xm. Originally a player for MS-DOS, MikMod has been ported to other platforms, such as Unix, Macintosh, BeOS, and Java(!!)

[...]

Dec 15 2017:   Version control migrated to Git:

The sources were moved to a Git repository on SourceForge. There is also a mirror at Github.

I installed libmikmod but as I expected I always get the error.

I had a look at the configure script and the sources of libsdl-mixer but honestly, I don't know what and where to look...

And the libsdl-mixer package could have other problems; always in the cooklog:

[c]

checking fluidsynth.h usability... no

checking fluidsynth.h presence... no

checking for fluidsynth.h... no

checking for fluid_player_add_mem in -lfluidsynth... no

configure: WARNING: *** Unable to find FluidSynth library (http://www.fluidsynth.org/)

configure: WARNING: FluidSynth support disabled

[...]

checking FLAC/export.h usability... no

checking FLAC/export.h presence... no

checking for FLAC/export.h... no

configure: WARNING: *** Unable to find FLAC library (http://flac.sourceforge.net/)

configure: WARNING: FLAC support disabled

[...]

checking for smpeg-config... no

checking for SMPEG - version >= 0.4.3... no

*** The smpeg-config script installed by SMPEG could not be found

*** If SMPEG was installed in PREFIX, make sure PREFIX/bin is in

*** your path, or set the SMPEG_CONFIG environment variable to the

*** full path to smpeg-config.

configure: WARNING: *** Unable to find SMPEG library (http://icculus.org/smpeg/)

configure: WARNING: MP3 support disabled

[/c]

Offline

#5 2020-01-07 08:23:54

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: Unrecognized music format

Hi Ceel, what's the name of the game?

Rolling Libmikmod works well with Gweled. If I have the name of your game, I might be able to verify that with that, too.

Offline

#6 2020-01-07 08:49:35

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Unrecognized music format

Hi gibor,

Thanks for interest.

The game is GL-117, an old combat flight simulator.

Found a solution!

Yes, the problem comes from libsdl-mixer.

I've installed libmikmod, mikmod, fluidsynth, flac, libsmpeg and their -dev before to recook libsdl-mixer:

[c][...]

checking for SDL... yes

checking for pow in -lm... yes

checking for GCC -fvisibility=hidden option... yes

checking for fork... yes

checking for vfork... yes

checking for libmikmod-config... /usr/bin/libmikmod-config

checking for libmikmod - version >= 3.1.10... yes

-- dynamic libmikmod -> libmikmod.so.3

checking fluidsynth.h usability... yes

checking fluidsynth.h presence... yes

checking for fluidsynth.h... yes

checking for fluid_player_add_mem in -lfluidsynth... yes

-- dynamic libfluidsyth -> libfluidsynth.so.2

checking vorbis/vorbisfile.h usability... yes

checking vorbis/vorbisfile.h presence... yes

checking for vorbis/vorbisfile.h... yes

checking for ov_open_callbacks in -lvorbisfile... yes

-- dynamic libvorbisfile -> libvorbisfile.so.3

checking FLAC/export.h usability... yes

checking FLAC/export.h presence... yes

checking for FLAC/export.h... yes

checking for libflac so-name version >= 8... yes

checking FLAC/stream_decoder.h usability... yes

checking FLAC/stream_decoder.h presence... yes

checking for FLAC/stream_decoder.h... yes

checking for FLAC__stream_decoder_new in -lFLAC... yes

-- dynamic libFLAC -> libFLAC.so.8

checking signal.h usability... yes

checking signal.h presence... yes

checking for signal.h... yes

checking for setbuf... yes

checking for smpeg-config... /usr/bin/smpeg-config

checking for SMPEG - version >= 0.4.3... yes

-- dynamic libsmpeg -> libsmpeg-0.4.so.0

[...][/c]

Then[c]

# tazpkg -i libsdl-mixer --forced

# tazpkg -b libsdl-mixer

$ gl-117[/c]

smile

I'm now going to try to compile and install lac (linux air combat, a new flight simulator (11/2019) derived from an old one wink )

Offline

#7 2020-04-18 21:44:02

R8
Member
Registered: 2015-08-20
Posts: 143

Re: Unrecognized music format

Hello,

FYI I had the same problem with the game 'Pingus'. I had no music. The files are .it and .s3m.

I followed 2 steps and it's now OK :

(1) I installed libmikmod from the package manager.

(2) I installed libsdl-mixer from the attachment in the message from Ceel (Thanks Ceel!).

And I blocked the package libsdl-mixer.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 12 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]