Berusky 2

Berusky 2

Postby Dakal » 01 Apr 2011, 09:52

has anyone ever heard of this project?
http://www.anakreon.cz/en/Berusky2.htm

It's seems to be a good puzzle game, it's beautiful and it's open source. :)
User avatar
Dakal
 
Posts: 87
Joined: 02 Feb 2010, 15:44
Location: France

Re: Berusky 2

Postby KroArtem » 01 Apr 2011, 13:41

Well, right now I can't find any information whether it's working under Linux and can't compile the code from github (https://github.com/stransky/berusky2)
But screenshots look awesome!
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: Berusky 2

Postby qubodup » 01 Apr 2011, 14:14

looks nice!

no linux build instructions :(
User avatar
qubodup
Global Moderator
 
Posts: 1671
Joined: 08 Nov 2009, 22:52
Location: Berlin, Germany

Re: Berusky 2

Postby charlie » 02 Apr 2011, 20:42

Free Gamer - it's the dogz
Vexi - web UI platform
User avatar
charlie
Global Moderator
 
Posts: 2131
Joined: 02 Dec 2009, 11:56
Location: Manchester, UK

Re: Berusky 2

Postby KroArtem » 02 May 2011, 10:19

Does anybody managed to compile it under Linux? It's been a month since I'm trying, no results :(
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: Berusky 2

Postby ChemBroTron » 18 Aug 2011, 07:22

Cool, I can post here, too. :-D

Okay, so. I'm on Arch Linux and used a AUR-package to compile the game (http://aur.archlinux.org/packages.php?ID=50729 for the non-data part). It compiles fine, but I can't start the game. :-/ Gives me this error:

berusky2: kofola/game_init.cpp:70: int gi_Open_Archive(char*, APAK_HANDLE**, char*, char*): Assertion `0' failed.
ChemBroTron
 
Posts: 49
Joined: 03 Nov 2010, 10:05

Re: Berusky 2

Postby KroArtem » 18 Aug 2011, 10:55

I fought a lot with compiling it. Downloaded git version and typed
{l Code}: {l Select All Code}
autoconf
autoreconf -i
./configure
make

while 'making' it showed me some errors/warnings and that's all. I think I should write devs on email to ask for help.
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: Berusky 2

Postby qubodup » 18 Aug 2011, 11:35

huh?
{l Code}: {l Select All Code}
$ autoconf
configure.in:7: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:8: error: possibly undefined macro: AM_CONFIG_HEADER
configure.in:9: error: possibly undefined macro: AM_MAINTAINER_MODE
configure.in:13: error: possibly undefined macro: AM_PROG_CC_STDC
configure.in:25: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
configure.in:27: error: possibly undefined macro: AM_PROG_LIBTOOL


{l Code}: {l Select All Code}
$ autoreconf -i
/usr/share/aclocal/gtkglextmm-1.2.m4:225: warning: underquoted definition of AC_GTKGLEXTMM_SUPPORTS_MULTIHEAD
/usr/share/aclocal/gtkglextmm-1.2.m4:225:   run info '(automake)Extending aclocal'
/usr/share/aclocal/gtkglextmm-1.2.m4:225:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
/usr/share/aclocal/gtkglextmm-1.2.m4:225: warning: underquoted definition of AC_GTKGLEXTMM_SUPPORTS_MULTIHEAD
/usr/share/aclocal/gtkglextmm-1.2.m4:225:   run info '(automake)Extending aclocal'
/usr/share/aclocal/gtkglextmm-1.2.m4:225:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoheader: warning: missing template: PACKAGE_DATA_DIR
autoheader: Use AC_DEFINE([PACKAGE_DATA_DIR], [], [Description])
autoheader: warning: missing template: PACKAGE_DOC_DIR
autoheader: warning: missing template: PACKAGE_HELP_DIR
autoheader: warning: missing template: PACKAGE_MENU_DIR
autoheader: warning: missing template: PACKAGE_PIXMAPS_DIR
autoheader: warning: missing template: PACKAGE_SOURCE_DIR
autoreconf: /usr/bin/autoheader failed with exit status: 1


{l Code}: {l Select All Code}
$ ./configure
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."


huh?

KroArtem: autoconf and autoreconf and config worked without errors?

PS: I made at ticket - https://github.com/stransky/berusky2/issues/4
User avatar
qubodup
Global Moderator
 
Posts: 1671
Joined: 08 Nov 2009, 22:52
Location: Berlin, Germany

Re: Berusky 2

Postby stransky » 18 Aug 2011, 11:51

Try to grab latest 0.3 release fom http://www.anakreon.cz/en/Berusky2.htm
The game should start fine, copy built binary to root of berusky2-data package (the binary must be in the same dir as the berusky3d.ini file).
stransky
 
Posts: 3
Joined: 18 Aug 2011, 11:44

Re: Berusky 2

Postby KroArtem » 18 Aug 2011, 13:08

{l Code}: {l Select All Code}
autoreconf -i
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoheader2.50: warning: missing template: PACKAGE_DATA_DIR
autoheader2.50: Use AC_DEFINE([PACKAGE_DATA_DIR], [], [Description])
autoheader2.50: warning: missing template: PACKAGE_DOC_DIR
autoheader2.50: warning: missing template: PACKAGE_HELP_DIR
autoheader2.50: warning: missing template: PACKAGE_MENU_DIR
autoheader2.50: warning: missing template: PACKAGE_PIXMAPS_DIR
autoheader2.50: warning: missing template: PACKAGE_SOURCE_DIR
autoreconf2.50: /usr/bin/autoheader failed with exit status: 1

Latest string after configuring:
{l Code}: {l Select All Code}
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing libtool commands

Here is the output of 'make':
{l Code}: {l Select All Code}
 make
make  all-recursive
make[1]: Вход в каталог `/home/artem/SVN/berusky2'
Making all in po
make[2]: Вход в каталог `/home/artem/SVN/berusky2/po'
make[2]: Цель `all' не требует выполнения команд.
make[2]: Выход из каталога `/home/artem/SVN/berusky2/po'
Making all in src
make[2]: Entering directory `/home/artem/SVN/berusky2/src'
source='kofola/3D_graphic.cpp' object='3D_graphic.o' libtool=no \
   DEPDIR=.deps depmode=none /bin/bash ../depcomp \
   g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator   -D_DEBUG -fpermissive -Wall -g -g -O2 -c -o 3D_graphic.o `test -f 'kofola/3D_graphic.cpp' || echo './'`kofola/3D_graphic.cpp
/bin/bash: ../depcomp: No such file or directory
make[2]: *** [3D_graphic.o] Error 127
make[2]: Выход из каталога `/home/artem/SVN/berusky2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Выход из каталога `/home/artem/SVN/berusky2'
make: *** [all] Error 2


Edit: I'm using Ubuntu 11.04 64-bit.
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: Berusky 2

Postby KroArtem » 18 Aug 2011, 13:10

stransky {l Wrote}:Try to grab latest 0.3 release fom http://www.anakreon.cz/en/Berusky2.htm
The game should start fine, copy built binary to root of berusky2-data package (the binary must be in the same dir as the berusky3d.ini file).


So this means version from git won't work? I made the previous actions with version from git.
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: Berusky 2

Postby stransky » 19 Aug 2011, 06:42

The git version works fine but it may miss some project/build files. I'm going to release src.rpm which should solve such issues.
stransky
 
Posts: 3
Joined: 18 Aug 2011, 11:44

Re: Berusky 2

Postby KroArtem » 19 Aug 2011, 11:07

I was trying to download data file from the site, but it was sooo slow that canceled it.
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: Berusky 2

Postby stransky » 20 Aug 2011, 16:50

The fixed version is going to be available soon:

berusky2-0.3-1.fc14.src.rpm
berusky2-data-0.4-1.fc14.src.rpm

Check the rpm packages at https://sourceforge.net/projects/berusky2/ or http://anakreon.cz/en/Berusky2.htm (I'm uploading right now).
stransky
 
Posts: 3
Joined: 18 Aug 2011, 11:44

Re: Berusky 2

Postby ChemBroTron » 22 Aug 2011, 12:55

@stransky: Do you know what

berusky2: kofola/game_init.cpp:70: int gi_Open_Archive(char*, APAK_HANDLE**, char*, char*): Assertion `0' failed

means? I'm trying to play it on Arch Linux (32bit).
ChemBroTron
 
Posts: 49
Joined: 03 Nov 2010, 10:05

Re: Berusky 2

Postby malevolent » 08 Sep 2011, 08:52

I succesfully compiled 0.5 and installed by simply
{l Code}: {l Select All Code}
 ./configure && make && make instal)
and finally only move data files under ~/.berusky2
But it refuses to start saying the same:
{l Code}: {l Select All Code}
Unable to open archive bitmap.pak
Reason: File not found
berusky2: kofola/game_init.cpp:69: int gi_Open_Archive(char*, APAK_HANDLE**, char*, char*): Assertion `0' failed.
Aborted

No topics on the Net about this message (except this one)
malevolent
 
Posts: 8
Joined: 04 Aug 2011, 08:36

[SOLVED] Re: Berusky 2

Postby malevolent » 08 Sep 2011, 09:16

Well a quick and dirty trick makes it to launch after last situation.

First of all, I copied bitmap.pak from /bitmap/bitmap.apk to root folder (where berusky3D.ini is) and another error like before appears, another .pak not found, I copied again to the root, hence, another one...
I opened berusky3d.ini and find for the apk files and they were pointing to weird places! Then I realized that there was a file called berusk3d-local.ini... :oops: So I renamed to berusky3d.ini and start the game... with no problem :)

Image

I cannot test the game itself (coffe time at work) but when I'm in home I can tell you if it works nice on there.
malevolent
 
Posts: 8
Joined: 04 Aug 2011, 08:36

Re: Berusky 2

Postby ChemBroTron » 09 Sep 2011, 02:01

@malevolent: Actually, it is the other way around (according to the README file). You compile berusky2 (./configure && make), then, you take the compiled binary (berusky2) and berusky3d-local.ini to your berusky2-data directory and start the game with

./berusky2 -i berusky3d-local.ini -l

Other than that... How do you rotate the camera? I couldn't do that, somehow...
ChemBroTron
 
Posts: 49
Joined: 03 Nov 2010, 10:05

Re: Berusky 2

Postby malevolent » 12 Sep 2011, 15:26

Hi there,

:P I didn't read that on README... :P :cry:

PS: You can rotate the view by holding "Ctrl" and moving the mouse ;)
malevolent
 
Posts: 8
Joined: 04 Aug 2011, 08:36

Re: Berusky 2

Postby KroArtem » 08 Jul 2012, 15:37

In case anyone is interested, berusky II version 0.7 and berusky are out for some time now, see http://anakreon.cz/ for more info.
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: Berusky 2

Postby qubodup » 09 Jul 2012, 10:09

Thanks for the update.

I compiled it by running ./autogen.sh && make

I still don't understand how to run the game. ./berusky2 leads to:

{l Code}: {l Select All Code}
berusky2: kofola/game_init.cpp:69: int gi_Open_Archive(char*, APAK_HANDLE**, char*, char*): Assertion `0' failed.
User avatar
qubodup
Global Moderator
 
Posts: 1671
Joined: 08 Nov 2009, 22:52
Location: Berlin, Germany

Re: Berusky 2

Postby KroArtem » 11 Jul 2012, 21:13

as for me, I also don't understand how to launch it. I copy berusky2 binary and berusky2-3d-local.ini to data directory, try to launch it like ./berusky2 -i berusky3d-local.ini -l and it crashes with buffer overflow:
{l Code}: {l Select All Code}
Program received signal SIGABRT, Aborted.
0x00007ffff5cfe445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff5cfe445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff5d01bab in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff5d3be2e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007ffff5dd102c in __fortify_fail ()
   from /lib/x86_64-linux-gnu/libc.so.6
#4  0x00007ffff5dcff00 in __chk_fail () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x00007ffff5dd052b in __realpath_chk ()
   from /lib/x86_64-linux-gnu/libc.so.6
#6  0x000000000047fbf2 in realpath (
    __resolved=0x7fffffffdf00 "\340\341\314\365\377\177",
    __name=0xab1200 "berusky3d-local.ini")
    at /usr/include/x86_64-linux-gnu/bits/stdlib.h:46
#7  ini_file_init () at komat/Berusky3d_ini.cpp:219
#8  0x000000000040773b in main (argc=4, argv=0x7fffffffe148)
    at komat/Berusky3d_ini.cpp:311
(gdb)

I think we can open a ticket on github, not sure devs are still active.
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: Berusky 2

Postby KroArtem » 11 Jul 2012, 21:48

Managed to launch the game, edited berusky2.ini file a bit, placed it in ./berusky2/
http://imgur.com/xYZdr

Now crashes there.

Edit: managed to launch the menu, I can even create new player, change its name, open settings and so on. The game crashes while loading new level.

Edit2: managed to launch the level, changed a lot of paths in berusky2.ini. Will look at the game tomorrow.
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: Berusky 2

Postby KroArtem » 09 Aug 2013, 14:05

Some necroposting here:

Berusky was updated to v 1.7 recently and Berusky II was also updated to 0.9 some time ago. I remember all those stuff with compiling and running the game and don't have enough motivation to do it again. ;)
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Who is online

Users browsing this forum: No registered users and 1 guest