ptitSeb / Serious-Engine

A port to the OpenPandora (and working fine on plain Linux) of the open source version of a game engine developed by Croteam for the classic Serious Sam games. Status: Working (for both FE and SE).

Home Page:https://pyra-handheld.com/boards/threads/serious-sam-first-encounter.77225/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no game music

axet opened this issue · comments

commented

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.

commented

@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.

commented

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?

commented

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

commented

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.