2019-06-27 10:43 CEST

View Issue Details Jump to Notes ] Related Changesets ]
IDProjectCategoryView StatusLast Update
0006107Spring engineGeneralpublic2019-01-13 05:03
Reportergajop 
Assigned ToKloot 
PrioritylowSeveritytweakReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0006107: Spring shouldn't complain if there are no sounds defs specified
DescriptionI shouldn't need to specify this: https://github.com/Spring-SpringBoard/SpringBoard-Core/blob/master/Gamedata/sounds.lua

If I don't specify it, I get errors like this:
[Sound] Error: [LoadSoundBuffer] unable to open audio file "sounds/beep4.wav"
[Sound] Error: [LoadSoundBuffer] unable to open audio file "sounds/beep6.wav"
[Sound] Error: [LoadSoundBuffer] unable to open audio file "sounds/button9.wav"
[Sound] Error: [LoadSoundBuffer] unable to open audio file "sounds/beep3.wav"

If I specify an empty sounds.lua (already not ideal), it produces some different errors.
TagsNo tags attached.
Checked infolog.txt for lua Errors
Attached Files

-Relationships
+Relationships

-Notes

~0019627

Kloot (developer)

Fix fe494aa7e5c026e51038fcd4c3db18c1d12fadce committed to develop branch: fix 0006107 0006108, repo: spring changeset id: 11264

~0019629

Kloot (developer)

Fix 0b10bc8fcd4f7f6c242f335f6043f549971366a3 committed to maintenance branch: fix 0006107 0006108, repo: spring changeset id: 11265

~0019645

gajop (developer)

I'm not sure how this was fixed. If I don't specify a sounds.lua, or if I specify an empty one, I get the following errors:

[Sound] Error: [LoadSoundBuffer] unable to open audio file "IncomingChat"
[Sound] Error: [Sound::GetSoundId] could not find sound "IncomingChat"
[Sound] Error: [LoadSoundBuffer] unable to open audio file "MapPoint"
[Sound] Error: [Sound::GetSoundId] could not find sound "MapPoint"
[Sound] Error: [LoadSoundBuffer] unable to open audio file "MultiSelect"
[Sound] Error: [Sound::GetSoundId] could not find sound "MultiSelect"
[Sound] Error: [LoadSoundBuffer] unable to open audio file "FailedCommand"
[Sound] Error: [Sound::GetSoundId] could not find sound "FailedCommand"

~0019646

Kloot (developer)

I thought you were only talking about in-game warnings, not those emitted while loading.

they're gone in 964-g0e56068.

~0019659

gajop (developer)

Sorry for the slow response. I am trying to get rid of all errors and warnings, it seems to confuse users and it makes it easier for real issues to hide.

Thanks, it looks good now.
+Notes

+Related Changesets

-Issue History
Date Modified Username Field Change
2018-12-24 03:06 gajop New Issue
2018-12-24 18:58 Kloot Changeset attached => spring develop fe494aa7
2018-12-24 18:58 Kloot Note Added: 0019627
2018-12-24 18:58 Kloot Assigned To => Kloot
2018-12-24 18:58 Kloot Status new => resolved
2018-12-24 18:58 Kloot Resolution open => fixed
2018-12-24 18:59 Kloot Changeset attached => spring maintenance 0b10bc8f
2018-12-24 18:59 Kloot Note Added: 0019629
2019-01-07 16:49 gajop Note Added: 0019645
2019-01-07 19:16 Kloot Note Added: 0019646
2019-01-13 05:03 gajop Note Added: 0019659
+Issue History