Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no game music #44

Open
axet opened this issue Sep 30, 2021 · 4 comments
Open

no game music #44

axet opened this issue Sep 30, 2021 · 4 comments

Comments

@axet
Copy link

axet commented Sep 30, 2021

Hello!

Using wine version when you start the game at first Sam appearance you can hear intense music, using this binary here is no music.

@q3aql
Copy link

q3aql commented Oct 2, 2021

@axet Try to use my builds:

https://github.com/q3aql/Serious-Engine/releases/

This builds include binaries + libraries for work with ogg music files. Only you must copy all libraries and binaries within "Bin" folder of game.

@axet
Copy link
Author

axet commented Oct 2, 2021

Thanks! I'm trying to understand what is wrong here.

First look, shows me here is no difference between your and ptitSeb difference in source. Are you implying here is a missing ogg and vorbis librarys in the build? I have those installed as system libraries.

I could use your biraries, but here is a nice script which helps me download and compile game engine which I currenlty use.

My script produce ssam-tfe 3M. Yours build is 26M of size. What is wrong here?

@q3aql
Copy link

q3aql commented Oct 2, 2021

Thanks! I'm trying to understand what is wrong here.

First look, shows me here is no difference between your and ptitSeb difference in source. Are you implying here is a missing ogg and vorbis librarys in the build? I have those installed as system libraries.

I could use your biraries, but here is a nice script which helps me download and compile game engine which I currenlty use.

My script produce ssam-tfe 3M. Yours build is 26M of size. What is wrong here?

My build is 26M because have debug symbols. You can strip it with the following command:

$ strip --strip-all ssam-tfe.x86_64 (or ssam-tfe.x86)

Stripped binary size is the same that you (3M). Regarding ogg and vorbis, the libraries in the system do not work. You must compile them yourself and copy them into the "Bin" folder. I don't understand why, but that's the way it is.

https://ftp.osuosl.org/pub/xiph/releases/ogg/libogg-1.3.5.tar.gz
https://ftp.osuosl.org/pub/xiph/releases/vorbis/libvorbis-1.3.7.tar.gz

@axet
Copy link
Author

axet commented Oct 2, 2021

I see what is going on here. ssam is missing 'vorbisfile' dependency. Seems like it is loaded manually by game engine.

EDIT: copying system library into game folder just enough, Proper solution would be changing CMakefile to include this dependency for linux systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants