• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

ConjurerDragon

Generalissimus
79 Badges
Apr 19, 2005
5.560
611
  • Rise of Prussia
  • Hearts of Iron IV Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Humble Paradox Bundle
  • Pride of Nations
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Europa Universalis III: Collection
  • 500k Club
  • War of the Roses
  • Warlock: Master of the Arcane
  • Rome: Vae Victis
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Victoria 2
  • Age of Wonders III
  • Crusader Kings Complete
  • Knights of Honor
  • Steel Division: Normandy 44 Deluxe Edition
  • Steel Division: Normandy 44
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • East India Company Collection
  • Deus Vult
  • Darkest Hour
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Hearts of Iron II: Armageddon
  • Arsenal of Democracy
  • Hearts of Iron Anthology
  • Magicka
  • Teleglitch: Die More Edition
  • Sword of the Stars
In my current game I wanted to add some music files to my own game.

Following the instructions of the "For the Music!" mod I added several of my CD´s contents into the music folder and the names of the files to country tags or centuries.

Most worked just fine (e.g. Over the hills and far away play in both in 17-ENG.txt and 18-GBR.txt).

A few refuse to work. I added those to default.txt to test them one by one if they play and all of them stay silent.

My current default.txt contains

BenPodeSantaMaria --> solved by MichaelM
Kaiserhymne
Narrenschiff
02 - Tyskland --> FtG generally can´t play .m4a files


The last one, 02 - Tyskland is from a CD with national anthems and is a .m4a file instead of the usual .mp3 files so I guess FtG does not supprt the .m4a format?

The first 3 are all .mp3 files.

BenPodeSantaMaria is from Portals of Grace (Azam Ail) and strangely is the only from that CD that refuses to play in FtG.
 

Attachments

  • default.txt
    61 bytes · Views: 0
Last edited:
Good news: I can reproduce your problem. None of these three tracks (excluding the .m4a which as you rightly guessed isn't supported) will play in FTG on my system, though other media players can play them fine.

Bad news: I don't know why. I have never had to mess with FTG's audio code before, so I don't understand it very well.

Slightly better news: I've done some debugging and found that loading any of these files fails with the VFW_E_NO_TRANSPORT error code, which is something to go on. Still debugging.
 
  • 1
Reactions:
The problem is that the files have too much metadata for the FTG song-playing code to be able to skip it and find the audio. There is a way to patch the code to play these songs, but the API requires Windows Media components that I don't know if I can rely on all users having installed.

If the album cover images are removed from the metadata of those MP3 files, FTG can play all three with no trouble.
 
The problem is that the files have too much metadata for the FTG song-playing code to be able to skip it and find the audio. There is a way to patch the code to play these songs, but the API requires Windows Media components that I don't know if I can rely on all users having installed.

If the album cover images are removed from the metadata of those MP3 files, FTG can play all three with no trouble.
Strange. Ben pode Santa Maria is half the size of the other songs from Portals of Grace that do work (5 to 10 MB).

How does one perform an autopsy on a .mp3 file to remove metadata? If that is possible for an amateur without expert tools.
 
Strange. Ben pode Santa Maria is half the size of the other songs from Portals of Grace that do work (5 to 10 MB).

How does one perform an autopsy on a .mp3 file to remove metadata? If that is possible for an amateur without expert tools.
It has nothing to do with the size of the song itself. The image is maybe a few hundred kilobytes, but it's enough for the game to choke on it.

I used MP3Tag to make the test edits.
 
I just tried to remove all tags with that tool from the mp3 files that did not start - no change...
e.g. BenPodeSantaMaria still stays silent in FtG
 
I just tried to remove all tags with that tool from the mp3 files that did not start - no change...
e.g. BenPodeSantaMaria still stays silent in FtG
Does this one work? It works for me.
 

Attachments

  • BenPodeSanta Maria.zip
    5,3 MB · Views: 0
Does this one work? It works for me.
No. I unzipped it into the /Music subfolder and put it´s name in default.txt as the only song but FtG remained silent when started.
 
No. I unzipped it into the /Music subfolder and put it´s name in default.txt as the only song but FtG remained silent when started.
Did you copy the title exactly right? There's a space in the name that tripped me up the first time I tried it.
 
  • 1
Reactions:
Did you copy the title exactly right? There's a space in the name that tripped me up the first time I tried it.
I´m just feeling a little dumb right now... o_O

Yes, you are completely right. I forgot the space between Santa and Maria. Added the space in default.txt and the song plays perfectly. Thank you! :D