Skip to content

Introduce sound banks, revision char.ini, positions.ini and more #321

@TrickyLeifa

Description

@TrickyLeifa

Introduce sound banks for organization sake of sound effects.

base\
  sounds\
    ambient\
    general\
    music\
    shout\
    voice\
    blip\

Banks can be invoked on any system involving direct calls from sound effects. The syntax is the following: <bank>:<filename>

Sound banks requires the complete filename to be able to determine where they are. Look ups with their suffixes are no longer performed.

Example char.ini v2:

[version]
revision = 2

[options]
...

[shouts]
objection = Makoto/objection.wav           ; equivalent: shout:Makoto/objection.wav
perjury = generic_perjury.wav              ; equivalent: shout:generic_perjury.wav
counteralt = voice:Monaka/Are you sure.wav
gotit = general:DRGloom.wav

[emotions]
...

[SoundD]
...

[SoundN]
1 = shout:Matako/objection.wav
2 = voice:Monaco/also.wav
3 = DRGloom.wav                ; equivalent of: general:DRGloom.wav

Example positions.ini v2:

[version]
revision = 2

[wit]
back=wit_back.png
...

Migration to v2

All positions.ini, char.ini and sounds.ini will be upgraded to revision version 2.

Additionally, sounds.ini will be deprecated in favor of soundlist.ini and voicelist.ini with the proper format.

Example format:

[version]
revision = 2

[filename]
1 = "Mahiru/Got it.wav"
2 = "Mahiru/Hey.wav"
3 = "Mahiru/Hi.wav"

[caption]
1 = "Got it"
2 = "Hey"
3 = "Hi"

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions