You are not logged in.

#1 2017-06-21 12:44:25

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

[Resolved] Serious Engine - An open source version of Serious Sam Game

Maybe someone can make a PKGBUILD for this great game!

"An open source version of a game engine developed by Croteam for the classic Serious Sam games."

Homepage: https://github.com/rcgordon/Serious-Engine

Thanks in advance!.


EDIT: The PKGBUILD compile the sources perfectly, but the application could not run the game as expected.

Last edited by leo2501 (2017-06-26 18:14:13)


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#2 2017-06-25 18:08:03

sum01
Member
Registered: 2017-05-22
Posts: 26
Website

Re: [Resolved] Serious Engine - An open source version of Serious Sam Game

I tried to get it working, but it seems to get stuck on line 130 of the Makefile, after it finishes the CMakeLists. I'll post the PKGBUILD for anyone that might find it useful anyways...

# Maintainer: sum01 <sum01@protonmail.com>
pkgname=('serious-engine-git')
pkgver=r0
pkgrel=1
pkgdesc="An open source version of a game engine developed by Croteam for the classic Serious Sam games."
arch=('i686' 'x86_64')
url="https://github.com/rcgordon/Serious-Engine"
license=('GPL2')
makedepends=('cmake' 'make')
source=("git+https://github.com/rcgordon/Serious-Engine.git")
sha256sums=('SKIP')
pkgver(){
  cd "$srcdir/Serious-Engine"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build(){
  cd "$srcdir/Serious-Engine/Sources/"
  if [[ $CARCH = "i686" ]]; then
      ./build-linux32.sh
  else
      ./build-linux64.sh
  fi
  cp Sources/cmake-build/ssam Bin/
  cp Sources/cmake-build/Debug/* Bin/Debug/
}
package(){
  mkdir -p "$pkgdir"/usr/{bin,lib/$pkgname}/
  mv "$srcdir/Serious-Engine" "$pkgdir/usr/lib/$pkgname/"
  ln -s /usr/lib/$pkgname/Serious-Engine/Bin/ssam "$pkgdir/usr/bin/$pkgname"
}

By the way, did you actually want that specific repo? I noticed that it's not the official repo, but a forked one.

Offline

#3 2017-06-25 23:02:27

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: [Resolved] Serious Engine - An open source version of Serious Sam Game

sum01 wrote:

I tried to get it working, but it seems to get stuck on line 130 of the Makefile, after it finishes the CMakeLists. I'll post the PKGBUILD for anyone that might find it useful anyways...

# Maintainer: sum01 <sum01@protonmail.com>
pkgname=('serious-engine-git')
pkgver=r0
pkgrel=1
pkgdesc="An open source version of a game engine developed by Croteam for the classic Serious Sam games."
arch=('i686' 'x86_64')
url="https://github.com/rcgordon/Serious-Engine"
license=('GPL2')
makedepends=('cmake' 'make')
source=("git+https://github.com/rcgordon/Serious-Engine.git")
sha256sums=('SKIP')
pkgver(){
  cd "$srcdir/Serious-Engine"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build(){
  cd "$srcdir/Serious-Engine/Sources/"
  if [[ $CARCH = "i686" ]]; then
      ./build-linux32.sh
  else
      ./build-linux64.sh
  fi
  cp Sources/cmake-build/ssam Bin/
  cp Sources/cmake-build/Debug/* Bin/Debug/
}
package(){
  mkdir -p "$pkgdir"/usr/{bin,lib/$pkgname}/
  mv "$srcdir/Serious-Engine" "$pkgdir/usr/lib/$pkgname/"
  ln -s /usr/lib/$pkgname/Serious-Engine/Bin/ssam "$pkgdir/usr/bin/$pkgname"
}

By the way, did you actually want that specific repo? I noticed that it's not the official repo, but a forked one.

Wow thanks!

no, i don't want that specific repo, i only wanted to get the engine working so i and everyone else can play the game smile


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#4 2017-06-25 23:43:16

sum01
Member
Registered: 2017-05-22
Posts: 26
Website

Re: [Resolved] Serious Engine - An open source version of Serious Sam Game

I checked the official repo https://github.com/Croteam-official/Serious-Engine and it seems they don't have a Linux build option, so I  guess the one you linked me is correct. Looks like they're discussing getting Linux support on the official repo though, but no idea when that'll happen https://github.com/Croteam-official/Ser … e/issues/5

As for the PKGBUILD I made, I don't think I can get that repo to work, as I don't really understand the specifics around make/cmake enough to fix it. This repo, however, https://github.com/ptitSeb/Serious-Engine seems to have compilation fixes for Linux, and I was able to get it to build. I cannot actually test it personally, but I can upload the working PKGBUILD if you would like.

EDIT: Note that the uploaded version would build "only for SS:TSE", and I would need to create a separate PKGBUILD for "TFE"

Last edited by sum01 (2017-06-25 23:44:49)

Offline

#5 2017-06-26 00:16:36

sum01
Member
Registered: 2017-05-22
Posts: 26
Website

Re: [Resolved] Serious Engine - An open source version of Serious Sam Game

Actually I might be able to make both TSE and TFE into a single AUR PKGBUILD.

Queue elevator music...

EDIT: So it built at least, although I don't have games to dump into it for testing. No errors reported by namcap either.

Last edited by sum01 (2017-06-26 00:29:26)

Offline

#6 2017-06-26 00:37:56

sum01
Member
Registered: 2017-05-22
Posts: 26
Website

Re: [Resolved] Serious Engine - An open source version of Serious Sam Game

https://aur.archlinux.org/packages/serious-engine-git/ Please tell me if it works for you.

Offline

#7 2017-06-26 01:39:10

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: [Resolved] Serious Engine - An open source version of Serious Sam Game

sum01 wrote:

https://aur.archlinux.org/packages/serious-engine-git/ Please tell me if it works for you.

That's amazing! i just buyed the GOG versions to test the package! Im downloading both games right now, I'll try them and tell you.

Thanks!


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#8 2017-06-26 08:36:58

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: [Resolved] Serious Engine - An open source version of Serious Sam Game

Well unfortunately it didn't work, it loads okay, but it quits with errors when you try to start a new game and also when you enter any options from the menu. But it is a problem with the source port and not with the PKGBUILD.

Assertion failure at DestroyableInactive (/home/usuario/aur/serious-engine-git/src/Serious-Engine/Sources/EntitiesMP/EnemySpawner.es:419), triggered 1 time:
  '0'

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#9 2017-06-26 18:10:25

sum01
Member
Registered: 2017-05-22
Posts: 26
Website

Re: [Resolved] Serious Engine - An open source version of Serious Sam Game

Hmm. Well if you find a different source for the engine I could always change the PKGBUILD, but until then I'm unsure of what could be done.

Offline

#10 2017-06-26 18:12:37

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: [Resolved] Serious Engine - An open source version of Serious Sam Game

sum01 wrote:

Hmm. Well if you find a different source for the engine I could always change the PKGBUILD, but until then I'm unsure of what could be done.

Thank you! I think i should mark the request as resolved, because the PKGBUILD works perfectly, buy the application don't work as expected.


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#11 2017-07-01 21:17:25

sum01
Member
Registered: 2017-05-22
Posts: 26
Website

Re: [Resolved] Serious Engine - An open source version of Serious Sam Game

I've contacted ptitSeb on the issue, and he's opened the issue tracker. Here's the link https://github.com/ptitSeb/Serious-Engine/issues/1

Hopefully when it's resolved I'll be able to push a fix to the AUR pkgbuild.

Offline

#12 2017-07-01 21:51:05

sum01
Member
Registered: 2017-05-22
Posts: 26
Website

Re: [Resolved] Serious Engine - An open source version of Serious Sam Game

https://aur.archlinux.org/packages/serious-engine-git/ should be fixed now with version r396.dce3915-3

Please tell me if it works smile

Offline

#13 2017-07-02 13:27:24

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: [Resolved] Serious Engine - An open source version of Serious Sam Game

Thanks a lot for all your efforts!

Now it works okay in the options menu, i can even change the resolution of the window, etc.

But it shows this "Permission Denied" error message when i try to change the controls:
http://imgur.com/YmM7ckA

When i start a new game the opening story shows the weapon model:
http://imgur.com/sEG33rp

And when it ends, instead of starting the new game, it stays there:
http://imgur.com/0QO8JA7

This is the terminal output, I don't understand why is pointing to the directory where the src was compiled:

$ ssam-tfe
STUBBED: load window icon in /home/usuario/aur/serious-engine-git/src/Serious-Engine/Sources/SeriousSam/MainWindow.cpp, line 168.
STUBBED: Need SDL invisible window or something in /home/usuario/aur/serious-engine-git/src/Serious-Engine/Sources/SeriousSam/MainWindow.cpp, line 327.
STUBBED: !!! FIXME: get the code back in from Ryan's original port. in /home/usuario/aur/serious-engine-git/src/Serious-Engine/Sources/Engine/Base/Stream.cpp, line 921.
STUBBED: Report actual SDL device name? in /home/usuario/aur/serious-engine-git/src/Serious-Engine/Sources/Engine/Sound/SoundLibrary.cpp, line 269.
STUBBED: co-opt the existing T-buffer support for multisampling? in /home/usuario/aur/serious-engine-git/src/Serious-Engine/Sources/Engine/Graphics/SDL/SDLOpenGL.cpp, line 113.
STUBBED: this can't possibly be right, yeah? in /home/usuario/aur/serious-engine-git/src/Serious-Engine/Sources/Engine/Base/SDL/SDLEvents.cpp, line 147.
STUBBED: SDL2 can handle these events in /home/usuario/aur/serious-engine-git/src/Serious-Engine/Sources/SeriousSam/SeriousSam.cpp, line 1016.
STUBBED: Not 64-bit clean in /home/usuario/aur/serious-engine-git/src/Serious-Engine/Sources/EntitiesMP/Player.es, line 6561.
STUBBED:  in /home/usuario/aur/serious-engine-git/src/Serious-Engine/Sources/SeriousSam/MainWindow.cpp, line 178.
STUBBED: reload ourself? in /home/usuario/aur/serious-engine-git/src/Serious-Engine/Sources/SeriousSam/SeriousSam.cpp, line 1352.
STUBBED: load teaser in /home/usuario/aur/serious-engine-git/src/Serious-Engine/Sources/SeriousSam/SeriousSam.cpp, line 1365.

Last edited by leo2501 (2017-07-02 13:30:57)


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#14 2017-07-02 14:07:58

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: [Resolved] Serious Engine - An open source version of Serious Sam Game

Hi,

The STUBBED messages are only notifications, they do not access any files. The paths are informing the developer where exactly the message has been added to the source code. It should be replaced with some functionality in the final program.

https://en.wikipedia.org/wiki/Method_stub

Last edited by progandy (2017-07-02 14:12:14)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#15 2017-07-02 20:29:44

sum01
Member
Registered: 2017-05-22
Posts: 26
Website

Re: [Resolved] Serious Engine - An open source version of Serious Sam Game

I'd recommend posting all of that into the github issue tracker so the dev can help https://github.com/ptitSeb/Serious-Engine/issues

Offline

#16 2017-07-03 14:57:30

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: [Resolved] Serious Engine - An open source version of Serious Sam Game

sum01 wrote:

I'd recommend posting all of that into the github issue tracker so the dev can help https://github.com/ptitSeb/Serious-Engine/issues

Thank you very much! I'll do that.


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#17 2022-05-11 18:59:11

tx00100xt
Member
Registered: 2022-05-11
Posts: 12

Re: [Resolved] Serious Engine - An open source version of Serious Sam Game

sum01 wrote:

Hmm. Well if you find a different source for the engine I could always change the PKGBUILD, but until then I'm unsure of what could be done.

You can try: https://github.com/tx00100xt/SeriousSamClassic
My bug fixes: CHANGELOG.md

BTWt, the linux port of the Serious Sam Alpha remake.
https://github.com/tx00100xt/SeriousSamAlphaRemake

This is how he looks.
Serious Sam Alpha Remake on Linux (Ice planet - End area)

Offline

Board footer

Powered by FluxBB