Custom music, need help

Users who are viewing this thread

On the previous versions, adding music files was pretty simple. I put some mp3 files in the main music folder, then went into the module folder and changed the music.txt to look something like:

3 (number of songs)
whatever.mp3 1 (name of song followed by a number, in this case 1 stands for campaign map meaning the track will only play on the campaign map)
whatever2.mp3 2 (same as above, this time for battle map)
whatever3.mp3 3 (this time for both battle map and campaign map)

Very simple to edit, very nice set up.

New version:

Music folder is filled with files ending on .ogg!?
Music.txt looks like this:

63
cant_find_this.ogg 0 0
mount_and_blade_title_screen.ogg 4194432 4194432
ambushed_by_neutral.ogg 266240 267264
ambushed_by_khergit.ogg 266244 267327
ambushed_by_nord.ogg 266248 267327
ambushed_by_rhodok.ogg 266256 267327
ambushed_by_swadian.ogg 266241 267327
ambushed_by_vaegir.ogg 266242 267327
arena_1.ogg 131072 131072
armorer.ogg 65536 65536
bandit_fight.ogg 5120 5120
calm_night_2.ogg 524288 598528
capture.ogg 256 256
defeated_by_neutral.ogg 33024 33024
defeated_by_neutral_2.ogg 33024 33024
defeated_by_neutral_3.ogg 33024 33024
empty_village.ogg 256 256
encounter_hostile_nords.ogg 2097408 2097408
escape.ogg 256 256
fight_1.ogg 5120 5120
fight_2.ogg 5120 5120
fight_3.ogg 5120 5120
fight_as_khergit.ogg 5124 5183
fight_as_nord.ogg 5128 5183
fight_as_rhodok.ogg 5136 5183
fight_as_vaegir.ogg 5122 5183
fight_while_mounted_1.ogg 5120 5120
fight_while_mounted_2.ogg 5120 5120
infiltration_khergit.ogg 16388 16447
killed_by_khergit.ogg 33028 33028
killed_by_swadian.ogg 33025 33025
lords_hall_khergit.ogg 65540 598591
lords_hall_nord.ogg 65536 598528
lords_hall_swadian.ogg 65536 598528
lords_hall_rhodok.ogg 65536 598528
lords_hall_vaegir.ogg 65536 598528
mounted_snow_terrain_calm.ogg 65536 598528
neutral_infiltration.ogg 16384 16384
outdoor_beautiful_land.ogg 65536 598528
retreat.ogg 33024 33024
seige_neutral.ogg 262144 267264
tavern_1.ogg 512 512
tavern_2.ogg 512 512
town_neutral.ogg 73728 598528
town_khergit.ogg 73732 598591
town_nord.ogg 73736 598591
town_rhodok.ogg 73744 598591
town_swadian.ogg 73729 598591
town_vaegir.ogg 73730 598591
travel_khergit.ogg 65540 598591
travel_neutral.ogg 65536 598528
travel_nord.ogg 65544 598591
travel_rhodok.ogg 65552 598591
travel_swadian.ogg 65537 598591
travel_vaegir.ogg 65538 598591
uncertain_homestead.ogg 65536 598528
victorious_evil.ogg 256 256
victorious_neutral_1.ogg 8388864 8388864
victorious_neutral_2.ogg 8388864 8388864
victorious_neutral_3.ogg 8388864 8388864
victorious_swadian.ogg 8388866 8388866
victorious_vaegir.ogg 8388866 8388866
victorious_vaegir_2.ogg 8388866 8388866

83888668388866, OGG INDEED!

This beats me how to fix. Simply put, how to do it now?
 
Well here's the music.txt you need to put custom music on a mod :

Code:
63
cant_find_this.ogg 0 0
mount_and_blade_title_screen.ogg 272629888 272629888
ambushed_by_neutral.ogg 268701696 268702720
ambushed_by_khergit.ogg 268701700 268702783
ambushed_by_nord.ogg 268701704 268702783
ambushed_by_rhodok.ogg 268701712 268702783
ambushed_by_swadian.ogg 268701697 268702783
ambushed_by_vaegir.ogg 268701698 268702783
arena_1.ogg 268566528 268566528
armorer.ogg 268500992 268500992
bandit_fight.ogg 268440576 268440576
calm_night_2.ogg 268959744 269033984
capture.ogg 268435712 268435712
defeated_by_neutral.ogg 268468480 268468480
defeated_by_neutral_2.ogg 268468480 268468480
defeated_by_neutral_3.ogg 268468480 268468480
empty_village.ogg 268435712 268435712
encounter_hostile_nords.ogg 270532864 270532864
escape.ogg 268435712 268435712
fight_1.ogg 268440576 268440576
fight_2.ogg 268440576 268440576
fight_3.ogg 268440576 268440576
fight_as_khergit.ogg 268440580 268440639
fight_as_nord.ogg 268440584 268440639
fight_as_rhodok.ogg 268440592 268440639
fight_as_vaegir.ogg 268440578 268440639
fight_while_mounted_1.ogg 268440576 268440576
fight_while_mounted_2.ogg 268440576 268440576
infiltration_khergit.ogg 268451844 268451903
killed_by_khergit.ogg 268468484 268468484
killed_by_swadian.ogg 268468481 268468481
lords_hall_khergit.ogg 268500996 269034047
lords_hall_nord.ogg 268500992 269033984
lords_hall_swadian.ogg 268500992 269033984
lords_hall_rhodok.ogg 268500992 269033984
lords_hall_vaegir.ogg 268500992 269033984
mounted_snow_terrain_calm.ogg 268500992 269033984
neutral_infiltration.ogg 268451840 268451840
outdoor_beautiful_land.ogg 268500992 269033984
retreat.ogg 268468480 268468480
seige_neutral.ogg 268697600 268702720
tavern_1.ogg 268435968 268435968
tavern_2.ogg 268435968 268435968
town_neutral.ogg 268509184 269033984
town_khergit.ogg 268509188 269034047
town_nord.ogg 268509192 269034047
town_rhodok.ogg 268509200 269034047
town_swadian.ogg 268509185 269034047
town_vaegir.ogg 268509186 269034047
travel_khergit.ogg 268500996 269034047
travel_neutral.ogg 268500992 269033984
travel_nord.ogg 268501000 269034047
travel_rhodok.ogg 268501008 269034047
travel_swadian.ogg 268500993 269034047
travel_vaegir.ogg 268500994 269034047
uncertain_homestead.ogg 268500992 269033984
victorious_evil.ogg 268435712 268435712
victorious_neutral_1.ogg 276824320 276824320
victorious_neutral_2.ogg 276824320 276824320
victorious_neutral_3.ogg 276824320 276824320
victorious_swadian.ogg 276824322 276824322
victorious_vaegir.ogg 276824322 276824322
victorious_vaegir_2.ogg 276824322 276824322

And if you're using python :

  ("town_neutral", "town_neutral.ogg", mtf_module_track|mtf_sit_town|mtf_sit_travel, mtf_sit_tavern|mtf_sit_night),

You must add the green thing to every line of music.
 
Well here's the music.txt you need to put custom music on a mod

You just posted the same line that I posted above :roll:

This program is very beginner friendly and easy to use even if you'r a vetetran at this.

Ok, thanks. But there is still the question of those numbers. Which value defines battlemap, campaign and both? The original way was simplified and user friendly with 1, 2 and 3. Now there is a ton of numbers and I don't get the meaning of them.


 
King Yngvar said:
Well here's the music.txt you need to put custom music on a mod

You just posted the same line that I posted above :roll:

No I didn't, I posted one that will read music directly from the mod folder, instead of the Mount&Blade root. You can see the numbers are different. These numbers are what the python file convert to, so the game reads it easier.
 
I did it very simple.

I just copied over the native "songs" with some pure black/ death metal when I made my own musik pak.

Otherwise it's simpler to do it in the module then in the txt files.
As for the txt files i'm not very handy with them.

 
me too askin this. you posted simillar lines, but, what to replace with map music, or with battle music?
 
Back
Top Bottom