maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   FreeSynd (Syndicate open source engine) port to maemo (https://talk.maemo.org/showthread.php?t=83470)

NerdKnight 2012-04-05 17:38

FreeSynd (Syndicate open source engine) port to maemo
 
I'm trying to port FreeSynd (reimplementation of engine for the classic Bullfrog game, Syndicate).
Freesynd depends on various SDL libraries: libSDL-1.2, libSDL_mixer, libSDL_image; the last two seem to be outdated in the maemo repos, so I managed to compile the game commenting some lines of code, the game runs but it is unstable, is someone interested in helping with this?

szopin 2012-04-05 18:19

Re: FreeSynd (Syndicate open source engine) port to maemo
 
Search the forum for sdlmixer, Aapo started a thread, though it was mostly about not playing ogg and such and only mp3, error I'm getting atm:
error: ‘Mix_LoadMUS_RW’ was not declared in this scope
There also is sdl1.3 package in repos, have you tried it? (gave me quite a lot of errors when compiling with 1.2 went ok, some time ago, not sure if this is good advice, but trying won't hurt)

AapoRantalainen 2012-04-05 18:33

Re: FreeSynd (Syndicate open source engine) port to maemo
 
There are newer sdlmixer, libsdl-mixer1.2.8-dev

I made for testing purpose newer sdl-image (1.2.10), not yet sure how it should be renamed so it can be installed parallel with old version (as there might be some differences).

Download debs: http://cc.oulu.fi/~rantalai/maemo5/

Code:

apt-cache policy libsdl-mixer1.2.8-dev libsdl-image1.2-dev
libsdl-mixer1.2.8-dev:
  Installed: 1.2.8-6maemo4
libsdl-image1.2-dev:
  Installed: 1.2.10-2.1

Code:

wget Freesynd-0.6
mkdir build
cd build
cmake ..
make

There were lots of warning: comparison is always true due to limited range of data type
Give this link to upstream: http://www.arm.linux.org.uk/docs/faqs/signedchar.php

szopin 2012-04-05 18:35

Re: FreeSynd (Syndicate open source engine) port to maemo
 
kudos
edit: if you can think of a way/script to perform testing if they are backwards compatible, count me in

szopin 2012-04-05 18:48

Re: FreeSynd (Syndicate open source engine) port to maemo
 
Aapo: just so you know Gigalomania fell prey to newer mixer (also couple of webos games sadly)

HolgerN 2012-04-05 18:52

Re: FreeSynd (Syndicate open source engine) port to maemo
 
You can also use libsdl-mixeroggwav1.2-dev instead of libsdl-mixer1.2-dev.

AapoRantalainen 2012-04-05 18:52

Re: FreeSynd (Syndicate open source engine) port to maemo
 
Quote:

Originally Posted by szopin (Post 1188535)
Aapo: just so you know Gigalomania fell prey to newer mixer (also couple of webos games sadly)

No sound? Or crash?

NerdKnight 2012-04-05 19:10

Re: FreeSynd (Syndicate open source engine) port to maemo
 
Quote:

Originally Posted by AapoRantalainen (Post 1188530)
There are newer sdlmixer, libsdl-mixer1.2.8-dev

I made for testing purpose newer sdl-image (1.2.10), not yet sure how it should be renamed so it can be installed parallel with old version (as there might be some differences).

Download debs: http://cc.oulu.fi/~rantalai/maemo5/

Code:

apt-cache policy libsdl-mixer1.2.8-dev libsdl-image1.2-dev
libsdl-mixer1.2.8-dev:
  Installed: 1.2.8-6maemo4
libsdl-image1.2-dev:
  Installed: 1.2.10-2.1

Code:

wget Freesynd-0.6
mkdir build
cd build
cmake ..
make

There were lots of warning: comparison is always true due to limited range of data type
Give this link to upstream: http://www.arm.linux.org.uk/docs/faqs/signedchar.php

Thanks!, it compiles with those libs, but when I try to build the deb package it fails with:
Code:

dpkg-shlibdeps: error: no dependency information found for /usr/lib/libSDL_mixer-1.2.so.0 (used by debian/freesynd/usr/local/bin/freesynd).
dh_shlibdeps: dpkg-shlibdeps -Tdebian/freesynd.substvars debian/freesynd/opt/freesynd/freesynd debian/freesynd/usr/local/bin/freesynd returned exit code 2

I think this is because of the package name.

szopin 2012-04-05 19:29

Re: FreeSynd (Syndicate open source engine) port to maemo
 
Disabling test-data made it run for me, sound intro mission choosing all works (not sure how to shoot yet), ctrl-c resulted in a megahalt though. Battery-forced reboot required. Very good-looking (especially as this game rocked)

NerdKnight 2012-04-05 19:47

Re: FreeSynd (Syndicate open source engine) port to maemo
 
Quote:

Originally Posted by szopin (Post 1188554)
Disabling test-data made it run for me, sound intro mission choosing all works (not sure how to shoot yet), ctrl-c resulted in a megahalt though. Battery-forced reboot required. Very good-looking (especially as this game rocked)

It shoots with right mouse button, I'll try to emulate this holding a key.


All times are GMT. The time now is 22:24.

vBulletin® Version 3.8.8