Package Details: opensonic 0.1.4-6

Git Clone URL: https://aur.archlinux.org/opensonic.git (read-only)
Package Base: opensonic
Description: Game based on the Sonic the Hedgehog universe.
Upstream URL: http://opensnc.sourceforge.net/
Licenses: GPL
Submitter: danym
Maintainer: carstene1ns
Last Packager: carstene1ns
Votes: 91
Popularity: 0.408096
First Submitted: 2009-04-15 13:58
Last Updated: 2015-07-08 03:27

Dependencies (3)

Required by (0)

Sources (3)

Latest Comments

carstene1ns commented on 2014-03-17 21:20

Adopted and fixed. Until this is resolved, let us just rebuild the static loadpng lib against the new libpng.

carstene1ns commented on 2014-03-01 22:32

You can open a bug at the bugtracker for the rebuild.
Btw. I did not receive a response from luceo ever since...

archdaemon commented on 2014-03-01 21:36

I was getting the same error as josealb77 below, and I was able to fix it by building allegro4 from the ABS and then reinstalling this package.

The reason this error occurs is that the current version of allegro4 in the Arch repos was built against libpng-1.5.10, but opensonic links against libpng-1.6.2 (which is the current libpng version).

Since opensonic totally ignores libpng14, and seems to work fine with libpng-1.6.2 (based on my very limited testing), I doubt that libpng14 is even required. Requiring libpng should be sufficient, as long as allegro4 is rebuilt against it. I'm going to look into getting the official allegro4 package updated.

carstene1ns commented on 2014-02-13 00:10

Today I contacted the maintainer luceo about this package via email.
If he does not answer/fix/orphan in 2 weeks, I will request a disown of this package on the aur-general mailing list.
The error can be fixed by patching the linker command to use the right version of libpng. It should be easy to do with 'sed'.

Considering this is luceos' only package and he has not even touched it since he owns it, personally I don't think this will be fixed by him.

DSpider commented on 2013-11-16 10:04

You could go to http://opensnc.sourceforge.net/home/download2.php, extract the contents of "opensnc-linux-0.1.4.tar.gz" to a drive that wasn't mounted with "noexec" (e.g. the home folder) and then run "opensonic_bin". It works, but I don't hear any sound.

ondoho commented on 2013-07-22 00:28

same error as josealb77.
even more strange, libpng14 has been installed as a dependency...

josealb77 commented on 2013-07-19 12:54

Hi, I've just installed opensonic and I get this error when I launch it:
libpng warning: Application built with libpng-1.5.10 but running with 1.6.2
FATAL ERROR: couldn't load spritesheet "images/items.png"
It closes and that's all. I haven't been able to find a solution on the internet.

This is the logfile.txt content:

Open Sonic version 0.1.4
logfile_init()
preferences_init()
ERROR: couldn't open preferences file for reading. file="/home/user/.opensonic/preferences.dat"
game arguments:
argv[0]: '/usr/share/opensonic/opensonic'
timer_init()
Installing Allegro timers...
video_init()
Initializing JPGalleg...
Initializing loadpng...
video_changemode(1,0,0)
creating the backbuffer...
creating the window surface...
creating the auxiliary window surface...
setting up the window...
video_changemode() ok
audio_init()
Reserving voices...
Reserved 32 voices.
audio_init() ok
input_init()
Installing Allegro input devices...
install_mouse() failed:
Joystick installed successfully!
hashtable_image_t_create()
hashtable_sound_t_create()
hashtable_music_t_create()
Loading sprites...
hashtable_spriteinfo_t_create()
Loading sprite 'SD_TELEPORTER'
image_load(/usr/share/opensonic/images/items.png)
image_load() error:
FATAL ERROR: couldn't load spritesheet "images/items.png"

josealb77 commented on 2013-07-19 12:23

Hi, I've just installed opensonic and I get this error when I launch it:
libpng warning: Application built with libpng-1.5.10 but running with 1.6.2
FATAL ERROR: couldn't load spritesheet "images/items.png"
It closes and that's all. I haven't been able to find a solution on the internet.

This is the logfile.txt content:

Open Sonic version 0.1.4
logfile_init()
preferences_init()
ERROR: couldn't open preferences file for reading. file="/home/user/.opensonic/preferences.dat"
game arguments:
argv[0]: '/usr/share/opensonic/opensonic'
timer_init()
Installing Allegro timers...
video_init()
Initializing JPGalleg...
Initializing loadpng...
video_changemode(1,0,0)
creating the backbuffer...
creating the window surface...
creating the auxiliary window surface...
setting up the window...
video_changemode() ok
audio_init()
Reserving voices...
Reserved 32 voices.
audio_init() ok
input_init()
Installing Allegro input devices...
install_mouse() failed:
Joystick installed successfully!
hashtable_image_t_create()
hashtable_sound_t_create()
hashtable_music_t_create()
Loading sprites...
hashtable_spriteinfo_t_create()
Loading sprite 'SD_TELEPORTER'
image_load(/usr/share/opensonic/images/items.png)
image_load() error:
FATAL ERROR: couldn't load spritesheet "images/items.png"

TomBoshoven commented on 2012-02-16 19:41

Fix submitted.
Version number kept the same, so the people using wget don't have to redownload.
Orphaning again.

TomBoshoven commented on 2012-02-16 19:36

Adopted for quick fix, so it will at least not throw an error (as described by gf0710020216).
Looks like diffycat was using wget while the default is now curl.

Fix will be up in a bit.

All comments