Author Topic: New Music, and the Tables. How do they work?  (Read 1158 times)

0 Members and 1 Guest are viewing this topic.

Offline Nix

  • 28
  • In the morning!
    • Minecraft
New Music, and the Tables. How do they work?
Ok, I've been trying and trying to get everything to work in the new VP I'm creating with the high-qualiy FS music, but I'm having trouble making the game actually see that it has different music.  As the music is for FS1, and people would be using it primarily with this mod, I'm wondering what I'm going to need to do to the music tables to make it recgonize the new music.  I take it it's not as easy as modifying the timing, filenames and sticking the file in with the music VP.  I've done that, and I get odd results.  Sometimes I get no music at all, and sometimes I will get FS2 music to play instead of FS1, but I can never consistently get everything to play out of my list.

Some questions I have..

  • Do I need to have a file for every single entry in the music.tbl?  For example, if I don't have Briefing1's OGG file in the VP, but it's refrenced in the table, will that goof things up?
  • Can I have extra tracks in the VP that aren't refrenced in the table?
  • How about modular tables?  How do they work?

If anyone could point me in the right direction, I'd appreciate it greatly. 

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: New Music, and the Tables. How do they work?
Game needs to find the files somewhere within the defined directory structure. So all the files related to a single tbl file do not have to be within a single vp file. For example the retail files are still in the game directory (freespace root directory). You can have 'non-defined' files in the vp file. As many as you like. V(olition)P(ackage) files are sort of like zip or rar archives, there is nothing special about them.

Modular tables
Music.tbl

Likely reason for your problems with the music.tbl is the mv_music-mus.tbm file located in the mv_music.vp as being a modular table file it overrides your music.tbl, try creating an empty text file names 'mv_music-mus.tbm' to prevent this from happening.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Nix

  • 28
  • In the morning!
    • Minecraft
Re: New Music, and the Tables. How do they work?
I get how a modular table works now, I'll try making a modular table and see if it helps with the FSPort, along with general FS2.  I just got to write a lot of stuff.  Thanks for your help!