stransky / berusky2

Berusky 2 (Bugs Escape 3D) is a game that challenges your visual/spatial thinking and ability to find a way to resolve a logic task. Using five bugs, you'll go through an adventure full of various puzzles spread across nine episodes. Individual episodes differ in appearance and difficulty, which increases throughout the game.
http://anakreon.cz/en/Berusky2.htm
GNU General Public License v3.0
14 stars 3 forks source link

Can't compile #33

Open absolutelynothinghere opened 4 years ago

absolutelynothinghere commented 4 years ago

I'm trying to complete step 1 of compiling...

Running ./autogen.sh gives **Error**: Directory `.' does not look like the top-level package directory

Running automake, autoconf, then ./configure gives config.status: error: cannot find input file: `Makefile.in'

What should I do?

absolutelynothinghere commented 4 years ago

Ok so I managed to compile by running autoreconf -i then ./configure then make, but the program won't start. Here's the last bit of output from the terminal:

Init Sound Engine...
adas_Set_Last_Error(): No EAX2.0 Extension found
No EAX2.0 Extension found
AnakreoN Digital Audio System v1.1
Vendor: OpenAL Community
Version: 1.1 ALSOFT 1.20.1
Renderer: OpenAL Soft
Extensions: AL_EXT_ALAW AL_EXT_BFORMAT AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_BFORMAT AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_EXT_SOURCE_RADIUS AL_EXT_STEREO_ANGLES AL_LOKI_quadriphonic AL_SOFT_bformat_ex AL_SOFT_block_alignment AL_SOFT_deferred_updates AL_SOFT_direct_channels AL_SOFT_direct_channels_remix AL_SOFTX_effect_chain AL_SOFTX_events AL_SOFTX_filter_gain_ex AL_SOFT_gain_clamp_ex AL_SOFT_loop_points AL_SOFTX_map_buffer AL_SOFT_MSADPCM AL_SOFT_source_latency AL_SOFT_source_length AL_SOFT_source_resampler AL_SOFT_source_spatialize
Cannot change directory to /usr/share/berusky2/sound: AT1�1�U��S�

Running as sudo makes no difference.

stransky commented 4 years ago

You can use Fedora rpm build script as a template how to build it:

https://src.fedoraproject.org/rpms/berusky2/blob/master/f/berusky2.spec

You also need to build/install berusky2-data to provide textures/levels etc: https://src.fedoraproject.org/rpms/berusky2-data/blob/master/f/berusky2-data.spec

absolutelynothinghere commented 4 years ago

I checked both links and installed some more packages then re-compiled, it still doesn't work (same error).

You also need to build/install berusky2-data

There's nothing to build nor install though, the readme says to just unpack the data package into a directory and add to it the compiled binary + local ini... Am I missing something?