foone / 3DMMForever

A modernized version of the Microsoft 3D Movie Maker release
MIT License
529 stars 24 forks source link

[Feature] Make it so music doesn't pre assign on new scenes #19

Open davidrenne opened 2 years ago

davidrenne commented 2 years ago

Everyone removes imaginopolis song and others on each scene. This was a mistake in the design I believe. Maybe someone can fix that.

willbr commented 1 year ago

There's a struct called BDS for Background Default Sound

https://github.com/foone/3DMMForever/blob/79b301091175459dd39ec53bbb8a711248e969c6/inc/bkgd.h#L84-L91

Maybe we can edit the background file BKGDS.3cn?

If I edit the BDS quad ID=11 and set the bds.tagSnd.sid field to -1, it's removed from the black background scene.

Or we could patch it out here?

https://github.com/foone/3DMMForever/blob/79b301091175459dd39ec53bbb8a711248e969c6/src/engine/scene.cpp#L3403-L3424