Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » All about modding JA2 » Music mods?
music66.png  Music mods?[message #342129] Thu, 20 August 2015 03:22 Go to next message
Marcell

 
Messages:12
Registered:March 2014
Location: Poland
I'm really sorry if this is in wrong section but I just had no idea where to post it. I'm on 1.13 and was wondering, how hard is it to replace music in the game? are there any soundtrack mods? I love some songs (especially laptop theme) but they just really grind your ears after some time of playing, personally I'd want to implement my own OST with new songs (not just replaced). How hard of a task would that be?
Re: Music mods?[message #342130 is a reply to message #342129] Thu, 20 August 2015 05:58 Go to previous messageGo to next message
Shinobi

 
Messages:144
Registered:July 2015
Location: Mexico
i was wondering how nice would be if were actually a radio ingame, like entering in a zone and start hearing music and then find a stereo and turn it on and off... maybe TV's but just the radio it's ok. it's just a dream of mine, but i'm not sure which format music it's since the images have they own format ".STI"



Oh, God please tie this rope tight, A noose that fits just right, Oh, God please tie this rope tight, Hold my head upright, Take this knife across my throat, And make amends for all my lies.
Re: Music mods?[message #342133 is a reply to message #342129] Thu, 20 August 2015 10:51 Go to previous messageGo to next message
sevenfm

 
Messages:1732
Registered:December 2012
Location: Soviet Russia
You need to place your music in Data\Music folder in WAV or OGG format.
For examples look here
Also here

Quote:
implement my own OST with new songs (not just replaced)

Currently you can only replace existing music, to add new you'll need coding skills in c++.



7609+fix | 7609+AI (r847) | 7609 unofficial modpack | Win8+ fix | Experimental project | Vengeance:Reloaded | Youtube

"It's already "dog-eat-dog", friend. Not sure what worse a bunch of zombies could do."


Re: Music mods?[message #342135 is a reply to message #342133] Thu, 20 August 2015 17:46 Go to previous messageGo to next message
Marcell

 
Messages:12
Registered:March 2014
Location: Poland
Thanks for your help sevenfm. Hmm, so really nobody made a mod that adds more songs? If that was reality, I'd just replace the songs from the mod with my ones. Damn.
Re: Music mods?[message #342136 is a reply to message #342135] Thu, 20 August 2015 17:52 Go to previous messageGo to next message
DepressivesBrot

 
Messages:3809
Registered:July 2009
Just wasn't a terribly high priority thing to do. A lot of people eventually get fed up with the score for any game anyway and just mute it to put [insert favorite media player] in the background.



Chat with us!
#bearpit on IRC
Discord
Get your latest 1.13 Builds
(Pls don't use my forum PMs for general game queries)


Re: Music mods?[message #342137 is a reply to message #342136] Thu, 20 August 2015 18:09 Go to previous messageGo to next message
Shinobi

 
Messages:144
Registered:July 2015
Location: Mexico
i was thinking in searching about that before too, but as DepressivesBrot said, nobody thinks much about it when it's easier to put the music in a media player... or in the phone.



Oh, God please tie this rope tight, A noose that fits just right, Oh, God please tie this rope tight, Hold my head upright, Take this knife across my throat, And make amends for all my lies.
Re: Music mods?[message #342139 is a reply to message #342137] Thu, 20 August 2015 19:40 Go to previous messageGo to next message
Marcell

 
Messages:12
Registered:March 2014
Location: Poland
That's what I usually did, but I think it'd be way better if we could have seperate tunes for exploration / overall doing nothing / as well as for combat.
Re: Music mods?[message #342141 is a reply to message #342139] Thu, 20 August 2015 21:00 Go to previous messageGo to next message
Shinobi

 
Messages:144
Registered:July 2015
Location: Mexico
that's what would imply making a mod, maybe when i stop being a newbie at coding in a year more or less i hope. i could start a mod like that, would be nice to have this in the tactical map as theme music, or when in enemy sector but still not being spotted. would be nice to mix with a spy while tries to make his way behind enemy lines.

[/youtube]



Oh, God please tie this rope tight, A noose that fits just right, Oh, God please tie this rope tight, Hold my head upright, Take this knife across my throat, And make amends for all my lies.
Re: Music mods?[message #343342 is a reply to message #342135] Thu, 26 November 2015 04:20 Go to previous messageGo to next message
E3245

 
Messages:46
Registered:August 2013
Quote:
Thanks for your help sevenfm. Hmm, so really nobody made a mod that adds more songs? If that was reality, I'd just replace the songs from the mod with my ones. Damn.


Sorry if this is late, or if I'm bumping an old topic; I don't visit here often as much anymore.

I made a mod that allows you to play more music, but just the battle music, if I remember correctly. That was a long time ago, and I'm not sure if it still works to today's 1.13 coding changes. I think it was back in 2013. The coding changes that I made can be downloaded in the archives somewhere. If you don't have the necessary tools to compile JA2 1.13, I can build it for you with the modified code, if you wish.

[Updated on: Thu, 26 November 2015 04:20]

Re: Music mods?[message #343344 is a reply to message #343342] Thu, 26 November 2015 12:09 Go to previous messageGo to next message
Scheinworld

 
Messages:922
Registered:December 2007
Location: Baltic Sea, Germany
Hi,

E3245 wrote on Thu, 26 November 2015 03:20
I made a mod that allows you to play more music, but just the battle music, if I remember correctly. That was a long time ago, and I'm not sure if it still works to today's 1.13 coding changes. I think it was back in 2013. The coding changes that I made can be downloaded in the archives somewhere. If you don't have the necessary tools to compile JA2 1.13, I can build it for you with the modified code, if you wish.


More battle music sounds interesting especially for mods! :-) Would you like to release/share your source code (patch file) so our coders can make use of it?

I would like to upload it to Kermi's archive as well!


Best regards,

Schein...

[Updated on: Thu, 26 November 2015 12:28]




Kermi's JA2 archive | JA2 (v1.13) Wiki & friends
"a mod is never finished, only releasable"

.- Will Gates


Re: Music mods?[message #343356 is a reply to message #343344] Sun, 29 November 2015 05:27 Go to previous messageGo to next message
winehouse

 
Messages:92
Registered:October 2012
...
https://kermi.pp.fi/JA_2/Other_Stuff/Music/Taoteching/

[Updated on: Sun, 02 September 2018 17:53]

Re: Music mods?[message #343371 is a reply to message #343356] Tue, 01 December 2015 09:39 Go to previous messageGo to next message
Slax

 
Messages:1448
Registered:July 2006
Location: People riding polar bears...
Here you go. Stitched it together from soundcloud stuff so copyright ain't an issue.
Put the music folder in Data-1.13 or whichever mod you're playing and you're good to go.
http://www.mediafire.com/download/04tbn305o7s5skj/ja2altmus.7z

The defeat/retreat (DEATH.ogg) one's sort of a placeholder so it sticks out quite a bit but hopefully you won't run into it too often. cheeky



1.13: Install JA2, unpack latest, play.
AIMNAS: Complete 1.13 installation, Download ZIP and unpack, play.

Re: Music mods?[message #343443 is a reply to message #343344] Fri, 11 December 2015 08:11 Go to previous messageGo to next message
E3245

 
Messages:46
Registered:August 2013
Quote:
More battle music sounds interesting especially for mods! :-) Would you like to release/share your source code (patch file) so our coders can make use of it?

I would like to upload it to Kermi's archive as well!


It's already uploaded to the archive, if I remember correctly. It's out of date though, so I have fixed up the code to use for the latest version.
http://kermi.pp.fi/JA_2/Mods_v1.13/Extended_Music/

Here's the updated patch file now. I haven't tested this to make sure everything is correct since I don't have time anymore.
Toggle Spoiler
Re: Music mods?[message #343506 is a reply to message #343443] Sat, 19 December 2015 08:59 Go to previous messageGo to next message
Taro_M

 
Messages:297
Registered:November 2008
Ive modded my source code to add more battle music "slots" and separate it from the tension music, so I have 8 tracks only for combat music. Then I replaced the battle music with X-Com Enemy Unknown music. Fits really well IMHO, for me the x-com's music has the right tempo for turn based combat.



Here are the files you need to drop into the source code before compiling it. You will also need to add music tracks from "battle A" to "battle I".

https://www.mediafire.com/?rhhw9zfglvb8pwj

[Updated on: Sat, 19 December 2015 09:10]

Re: Music mods?[message #347044 is a reply to message #343506] Sat, 24 September 2016 05:30 Go to previous messageGo to next message
Bobby R.

 
Messages:26
Registered:September 2016
Great Stuff. Thanks
Re: Music mods?[message #351704 is a reply to message #342133] Tue, 19 December 2017 05:04 Go to previous messageGo to next message
edmortimer

 
Messages:1122
Registered:January 2015
Location: Home Free

Quote:
You need to place your music in Data\Music folder in WAV or OGG format.
For examples look here
Also here

Quote:

implement my own OST with new songs (not just replaced)


Currently you can only replace existing music, to add new you'll need coding skills in c++.


OK, this is an old thread, and not what I was looking for -- but maybe what I need is of the same idea . . . I want to change the sound that accompanies the splash screen on the intro (splashscreen.smk in Intro.slf). I have a very cool mashup of sound effects and voices from the game. If I make a new splashscreen.smk and place it in an Intro folder -- will that work?




Arulco Vacations Blog

Arulco Vacations Bears Pit Forum


Re: Music mods?[message #351706 is a reply to message #351704] Tue, 19 December 2017 08:40 Go to previous messageGo to next message
Hawkeye

 
Messages:1865
Registered:October 2005
Location: Australia
Sounds about right.

Smacker video files contain both sound and video. I know Renegade Republik's Splashscreen.smk is the one when you first load the game, and features Scorpions anim and Carmina Burana snippet.


Re: Music mods?[message #351750 is a reply to message #351706] Sat, 23 December 2017 18:57 Go to previous messageGo to next message
edmortimer

 
Messages:1122
Registered:January 2015
Location: Home Free
I've tried various Smacker and Bink attempts and have come up with only one result every time -- the splashscreen does not animate has no sound. speechless




Arulco Vacations Blog

Arulco Vacations Bears Pit Forum


Re: Music mods?[message #352818 is a reply to message #343506] Thu, 29 March 2018 03:45 Go to previous messageGo to next message
Boge

 
Messages:55
Registered:July 2012
Where do I put these two files?

musiccontrol.cpp
musiccontrol.h

[Updated on: Thu, 29 March 2018 03:45]

Re: Music mods?[message #352829 is a reply to message #352818] Thu, 29 March 2018 22:19 Go to previous messageGo to next message
Flugente

 
Messages:3422
Registered:April 2009
Location: Germany
Both are in the Build/Utils folder.



"Is there any way to get the blood to flow up the walls?"
"I don't see why not."

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


Re: Music mods?[message #354651 is a reply to message #352829] Sun, 02 September 2018 15:53 Go to previous messageGo to next message
MrStitch

 
Messages:8
Registered:September 2018
I feel like im late to the party but wanted to ask. Im currently using TAO eastern influences music mod and i think it fits perfectly. I also found more music by Taro Iwashiro that i wanted to use and add to the mod. I used @E3245 info to plug more music into the Music folder which did not exist originally, converted the music to .ogg files and renamed tracks BATTLE A-I. I have tried what @Taro_M specified but i have these two files Music Control.cpp and Music Control.h and i dont know what to do with them exactly. Do i create a Build/Utils folders in the Data-1.13. Im using the latest stable build from 2014 and i dont see such a folder in there.
Re: Music mods?[message #354661 is a reply to message #354651] Mon, 03 September 2018 00:27 Go to previous messageGo to next message
Flugente

 
Messages:3422
Registered:April 2009
Location: Germany
musiccontrol.cpp and musiccontrol.h are code files. The above code snippets are simply a patch to those files, specifically revision 8004 (we are currently at 8610). The patch needs to be applied the code and then a new exe needs to be compiled. Though as that patch only adds 3 new slots, doesn't seem that useful?



"Is there any way to get the blood to flow up the walls?"
"I don't see why not."

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


Re: Music mods?[message #354675 is a reply to message #354661] Mon, 03 September 2018 16:40 Go to previous messageGo to next message
MrStitch

 
Messages:8
Registered:September 2018
Is it possible to change the code or the music file so that when BATTLE A is called it would randomly select a track between A and I? I think this way you could put in more music files. Has anyone tried this? Im looking at the Music Control.cpp from Extended_Music (cant post link yet, but its above here in the forum) and with my basic code knowledge I see that something like this was attempted. The two code files (Music Control.cpp and Music Control.h), where would I copy and paste the code inside what JA2 file or, what file opens the music code in JA2. Also I seem to be on build 7435 2014 official release 14.08.27 I thought that was the most up to date stable build. Is there a more recent one? Where to download if so? I would love to have at least 5 different battle themes playing but 10 would be best. I could easily extend the tracks by taking a pair and gluing them on to the back of each other in a music editor e.x Audacity and then have that loop but that would kinda kill immersion. If you know how to get me started or have an idea of how to add more music id love to build the mod.
Re: Music mods?[message #354676 is a reply to message #354675] Mon, 03 September 2018 19:16 Go to previous message
sevenfm

 
Messages:1732
Registered:December 2012
Location: Soviet Russia
MrStitch wrote on Mon, 03 September 2018 18:40
Is it possible to change the code or the music file so that when BATTLE A is called it would randomly select a track between A and I? I think this way you could put in more music files. Has anyone tried this? Im looking at the Music Control.cpp from Extended_Music (cant post link yet, but its above here in the forum) and with my basic code knowledge I see that something like this was attempted. The two code files (Music Control.cpp and Music Control.h), where would I copy and paste the code inside what JA2 file or, what file opens the music code in JA2. Also I seem to be on build 7435 2014 official release 14.08.27 I thought that was the most up to date stable build. Is there a more recent one? Where to download if so? I would love to have at least 5 different battle themes playing but 10 would be best. I could easily extend the tracks by taking a pair and gluing them on to the back of each other in a music editor e.x Audacity and then have that loop but that would kinda kill immersion. If you know how to get me started or have an idea of how to add more music id love to build the mod.

In my Ja2+AI.exe based on 7609 I use patch from VR mod which allows many music tracks:
More music tracks available: 
- NOTHING_E_MUSIC - NOTHING_P_MUSIC, 
- TENSOR_D_MUSIC - TENSOR_P_MUSIC, 
- BATTLE_B_MUSIC - BATTLE_P_MUSIC,
- CREEPY_MUSIC_B - CREEPY_MUSIC_D,
- CREATURE_BATTLE_MUSIC_B - CREATURE_BATTLE_MUSIC_D
- note: not all tracks need to be provided, but those that are should to be put in correct order (e.g. if there's no BATTLE_O_MUSIC, then BATTLE_P_MUSIC won't be used even if it's put in directory)



7609+fix | 7609+AI (r847) | 7609 unofficial modpack | Win8+ fix | Experimental project | Vengeance:Reloaded | Youtube

"It's already "dog-eat-dog", friend. Not sure what worse a bunch of zombies could do."


Previous Topic: I need some help regarding the graphics of weapons.
Next Topic: Laptop interface for 7609
Goto Forum:
  


Current Time: Mon Nov 19 09:22:51 EET 2018

Total time taken to generate the page: 0.06231 seconds