Post by vainiuss1 on Dec 24, 2019 21:45:40 GMT
By: CrazyRussian
Greetings.
As you may know, capcom changed background format in SE, so there is no way to do battle music mods right know.
So beign bothered with that fact, i've came up with an idea:
Since game loads battle music file everytime when battle starts locks it for writing while it's beign played, we can write program that will check periodically music files lock
and play custom music when it detects that in game music starts playing.
As for music in game - we need to replace stock music with relatively quite encrypted .sngw to make stock music unhearable but keep in game music player unbroken.
So i wrote program which does that:
1) It checks every 50 ms for music beign played or not played
2) When it detects status change it plays or stops custom music.
3) It uses BASS library for music playing, so you can use OGGs,MP3s,WAVs, or even MIDIs
Installation:
1) Unpack archive contetns to game folder - "DMC4SEAlternativeBGMPlayer.exe" goes in same folder where "DevilMayCry4SpecialEdition.exe" located
2) replace .sngw's in "nativeDX10\sound\bgm\battle" with file "Use this file as empty music placeholder.sngw" from archive - don't forget to do backups - i'm not responsible if you break your game.
3) Put your custom music in "custom_bgm" folder - you don't need to retain original path "nativeDX10\blablabla\..." - just place your "bt000.sngw" into that folder
4) Launch "DMC4SEAlternativeBGMPlayer.exe" - it will load custom music and launch game.
5) Enjoy custom music and show your motivation!
P.S. Since it compiled in Visual Studio 2013, you will need "Visual C++ 2013 Redistributable Package" installed on your system.
Download link:https://drive.google.com/file/d/0B86CAxTQOEJRZjRqN1ZTYzJCV2c/view?usp=sharing
Greetings.
As you may know, capcom changed background format in SE, so there is no way to do battle music mods right know.
So beign bothered with that fact, i've came up with an idea:
Since game loads battle music file everytime when battle starts locks it for writing while it's beign played, we can write program that will check periodically music files lock
and play custom music when it detects that in game music starts playing.
As for music in game - we need to replace stock music with relatively quite encrypted .sngw to make stock music unhearable but keep in game music player unbroken.
So i wrote program which does that:
1) It checks every 50 ms for music beign played or not played
2) When it detects status change it plays or stops custom music.
3) It uses BASS library for music playing, so you can use OGGs,MP3s,WAVs, or even MIDIs
Installation:
1) Unpack archive contetns to game folder - "DMC4SEAlternativeBGMPlayer.exe" goes in same folder where "DevilMayCry4SpecialEdition.exe" located
2) replace .sngw's in "nativeDX10\sound\bgm\battle" with file "Use this file as empty music placeholder.sngw" from archive - don't forget to do backups - i'm not responsible if you break your game.
3) Put your custom music in "custom_bgm" folder - you don't need to retain original path "nativeDX10\blablabla\..." - just place your "bt000.sngw" into that folder
4) Launch "DMC4SEAlternativeBGMPlayer.exe" - it will load custom music and launch game.
5) Enjoy custom music and show your motivation!
P.S. Since it compiled in Visual Studio 2013, you will need "Visual C++ 2013 Redistributable Package" installed on your system.
Download link:https://drive.google.com/file/d/0B86CAxTQOEJRZjRqN1ZTYzJCV2c/view?usp=sharing