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

TomBoshoven commented on 2012-02-16 19:34

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.

diffycat commented on 2012-02-15 15:40

Orphaned.

diffycat commented on 2012-02-07 11:39

@gf0710020216

Can't reproduce, works fine for me.


-> Downloading opensnc-src-0.1.4.tar.gz...
<snip> ... </snip>
--2012-02-07 15:17:20-- http://space.dl.sourceforge.net/project/opensnc/Open%20Sonic/0.1.4/opensnc-src-0.1.4.tar.gz
Resolving space.dl.sourceforge.net... 193.93.213.163
Connecting to space.dl.sourceforge.net|193.93.213.163|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10525059 (10M) [application/x-gzip]
Saving to: `opensnc-src-0.1.4.tar.gz.part'
100%[===================================================================================================>] 10,525,059 77.0K/s in 6m 25s
2012-02-07 15:24:01 (26.7 KB/s) - `opensnc-src-0.1.4.tar.gz.part' saved [10525059/10525059]

diffycat commented on 2012-02-07 11:31

@gf0710020216

Can't reproduce, works fine for me.


-> Downloading opensnc-src-0.1.4.tar.gz...
<snip> ... </snip>
--2012-02-07 15:17:20-- http://space.dl.sourceforge.net/project/opensnc/Open%20Sonic/0.1.4/opensnc-src-0.1.4.tar.gz
Resolving space.dl.sourceforge.net... 193.93.213.163
Connecting to space.dl.sourceforge.net|193.93.213.163|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10525059 (10M) [application/x-gzip]
Saving to: `opensnc-src-0.1.4.tar.gz.part'
100%[===================================================================================================>] 10,525,059 77.0K/s in 6m 25s
2012-02-07 15:24:01 (26.7 KB/s) - `opensnc-src-0.1.4.tar.gz.part' saved [10525059/10525059]

leafonsword commented on 2012-02-07 10:56

-> 正在下载 opensnc-src-0.1.4.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 400
==> 错误: 无法下载 opensnc-src-0.1.4.tar.gz
正在放弃...

xyproto commented on 2011-10-27 11:13

please change install=(opensonic.install) to just install=opensonic.install

xyproto commented on 2011-10-27 11:10

opensonic.install is missing.

diffycat commented on 2011-10-24 17:25

2Cravix

Fixed.

Cravix commented on 2011-10-24 12:08

hey my friend, now the dependency should change to allegro4, or it won't be installed.

diffycat commented on 2011-02-17 20:39

@c00kiemon5ter
This is normal. That's why I created "opensonic.sh".

c00kiemon5ter commented on 2011-02-17 20:08

hi I just updated but I get an error on makepkg
Error copying file "/usr/share/opensonic/opensonic" to "/usr/bin/opensonic".

this doesnt actually prevent the pkg from building

Anonymous comment on 2010-10-21 17:26

@ wanton:
Thanks! I've checked faq before but haven't actually spot the entry about the controls!
Now I can use my arrow keys :) However, the sound problem persists but it
doesn't bother me. For the record I have not pulseaudio installed and there isn't any entry
about alsa in the faq.

Anonymous comment on 2010-10-21 05:13

to Master_ex:

http://opensnc.sourceforge.net/wiki/index.php/FAQ#The_game_has_no_sound.21_.28Linux.29
http://opensnc.sourceforge.net/wiki/index.php/FAQ#The_controls_are_strange.21_My_character_keeps_going_left_or_right.21

Anonymous comment on 2010-10-21 02:00

hi, I've not sound and it seems like the left key is always pressed (only the down arrow key works).
I've tried to install allegro from abs but the problem persists. Do you know how to fix it? All suggestions are very welcome :)

danym commented on 2010-09-21 01:05

Try to recompile allegro from abs; it worked for me; i've submitted a bug about it...

td123 commented on 2010-09-20 23:58

I get the following error: http://aur.pastebin.com/fvhELDiU

flow commented on 2010-09-20 18:34

http://opensnc.sourceforge.net/forum/viewtopic.php?id=545
0.1.4

danym commented on 2010-04-04 01:40

pluckypigeon: maybe there were a downtime in the server, because ruinedcity does now download.

linuxJay commented on 2010-04-02 18:37

http://users.sephiroth.ws/Darkspawn/opensnc/quests/ruinedcity.rar gives 404 and checksums are wrong.

Thanks for this :-)

danym commented on 2010-03-28 11:02

cmake added as makedepends.

Nebulosa commented on 2010-03-28 04:28

Please add cmake dependence.


danym commented on 2010-03-28 00:19

Thanks zoulnix. I'm on x86_64 ans it runs fine (with NVIDIA drivers). So I guess everything's fine here!

zoulnix commented on 2010-03-27 17:21

Made a PKGBUILD, Compiles fine on i686 and x86_64.
Runs just fine under i686, did run Open Sonic under x86_64 in vBox
with the vesa drivers, program starts just fine no errors. But since it's the vesa
drivers i do only get a black screen, so need someone to test it on 64bit :D

http://borke[dd]uck.com/snugglepkg

danym commented on 2010-03-27 16:34

updated dependencies (added dumb)

Anonymous comment on 2010-03-27 11:03

==> Starting build()...
patching file CMakeLists.txt
patching file languages/cestina.lng
patching file languages/deutsch.lng
patching file languages/english.lng
patching file languages/espanol.lng
Hunk #1 succeeded at 8 with fuzz 1.
patching file languages/francais.lng
Hunk #1 succeeded at 8 with fuzz 1.
patching file languages/polish.lng
patching file languages/ptbr.lng
Hunk #1 succeeded at 8 with fuzz 1.
Hunk #2 succeeded at 76 with fuzz 2.
patching file src/2xsai.c
patching file src/2xsai.h
patching file src/actor.c
patching file src/actor.h
patching file src/credits.c
patching file src/global.h
patching file src/level.c
patching file src/osspec.c
patching file src/player.c
patching file src/util.c
patching file src/util.h
patching file src/video.c
patching file src/video.h
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
Open Sonic version 0.1.3

WARNING: your Allegro version is 4.4.1. The recommended version is 4.2.2.
Some errors may occur during the process.

CMake Error at CMakeLists.txt:92 (MESSAGE):
Fatal error: lib aldmb (DUMB with Allegro support) not found
(.mod/.it/.s3m/.xm support)! Please read the docs for more information.


-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed.
Aborting...

danym commented on 2010-03-27 02:14

Updated to svn to make it build and work. Test it and report if it works.