Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Thanks again for editing the interfaces!

Again we)
Only this time things are already with the music.
We don't know how to make our music work?
We replace music_alias with our own. In the sound.c script everything is written as we need, in the ini files too. But music stubbornly refuses to work out of other ways. The system log constantly writes FMOD_SOUND: createStreamCB error! (18) File not found.
ERROR: fmod_system-> createStreamCB (RESOURCE \ sounds \ music_spokplavanie, FMOD_DEFAULT | dwMode, 0, & sound)
We even made schemes with music by analogy from ERAS, all the same, the engine tries to play music only in standard ways.
What are we doing wrong?

(6 edits)

I also had this problem with some of the music in other mods and I think it must be the program that created the old music files.  I just used a newer program (like VLAN) and if the file is musicfile.ogg, I just used the convert feature, but converted it to the exact same .ogg format.  If it is musicfile.mp3, I converted it to the same .mp3 format.  That solved the problem for the files that would not play.  I don't know what the problem is, but I guess perhaps the metadata in the file is old, deprecated or wrong format for the newer FMOD.  By converting to the same file format, but with a newer editing program, solved the issue.

Also, in your post, it is searching for RESOURCE\Sounds\music_spokplavanie.  That is not a sound file.  An alias must have no slashes in the name, where it will look in the alias.ini file for the name and grab the file path there.  The play sound function should just send "music_spokplavanie" for an alias.  If it is a specific file name, then the play sound function should send "Music\soundfile.ogg"

Also, if your aliases are not in RESOURCE\INI\aliases directory, then you must also specify the directory in start.ini:

ini_directory = RESOURCE\INI\

[sound]
sound path = RESOURCE\sounds\
aliasDirectory = someotheraliasdir\
...
...
...

If you do not put aliasDirectory in the [sound] section, then it will by default look in RESOURCE\INI\aliases.  Example format for the files is the same as original...example:

[music_main_theme]
prior = 192
name = MUSIC\01-Pirates.mp3
name = MUSIC\01-VivaldiCoAS.ogg
name = MUSIC\133-VanhalG1.ogg
name = MUSIC\138-VoorhetVaderland.ogg
name = MUSIC\139-ZelenkaCave12.ogg
name = MUSIC\175-Seahawk.ogg
name = MUSIC\180-Ghostship1.ogg
name = MUSIC\217-CorelliGrossoNo4D2mvt.ogg
name = MUSIC\218-CorelliNo4D2mvt2.ogg

Thank you for help! Everything, now everything is sorted out)

Hello!

Again I ask you)
Can you make an interesting and useful change to the engine?
It's about battle_interface, or rather, about adding a gunpowder icon. Below is an example on the screenshot of how it was done on another engine.


We understand that in GOF2 ERAS there is something similar, but it was done in text and in scripts. But if it's easy for you, can you do the same for MS? It seems to me that this fits very succinctly into the interface.
Best regards, LEOPARD!

If you send me a copy of the Program\battle_interface\BattleInterface.c file, I can review it so that we use the same attribute names for the icon addition/placement and the icon code would remain compatible.

Search the "powder" file, everything you need is there.

https://drive.google.com/open?id=1X1W76ZYhc3PWDy7XJO3SFMnXL5OR5C_d

I'm sorry, I forgot to give you access right away. I just don't use Google every day.