GemHunters Screenshot Group gems or whatever together to gain points and bother your opponent :)

Gemhun is all about grouping gems/stones of a chosen amount together which will then dissappear. There will be plenty of different game-modes, theme- and network-support. It is inspired by FrozenBubble/Tetris and some others.

License: free
Requirements:

  • kyra 2.x
  • sdl 1.2
  • sdl_mixer
  • sdl_image
  • sdl_net (optional)
  • ncurses (not yet optional)

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
yesyesyesyesyesyesyes
Suggest an update

Comments

A really nifty game. I like it a lot! The problem is, it's quite choppy. But the gameplay is great! I had to emerge Kyra, or whatever that's called... on my Gentoo box before I could play it. But I think it was worth it.
The really scratchy music and really choppy graphics did get on my nerves though.
If this was fixed, this would become one of the best puzzle games on the Linux platform.
Keep up the good work.
Re: GemHunters posted by TheBlackLion on Jan 12 2004 7:00 AM
Hi :) Thanx for the flowers ;) Sadly, I haven't updated this one for a while offically. The truth is that I'm working constantly on this but am to lazy to upload it =) Would you like to explain how you understand "choppy" and "scratchy"? I can't seem to get the idea...

Regards, Oktay.

PS That's also why I'm responsing right now and not last year.... :/

It looks nice but I have some trouble installing it.

I unpacked the src tarball and the data one and copied all the info from data to src. Then I ran the install script ad it returned this to me.

~/projects/gemhunters/GemHunters$ ./gemhun.sh
[: XXX: unexpected operator
( cd data ; make )
( cd gfx ; make )
make: don't know how to make fonts_para.dat. Stop
*** Error code 2

Stop in /nfs/home/capitol/projects/gemhunters/GemHunters/data.
*** Error code 1

Stop in /nfs/home/capitol/projects/gemhunters/GemHunters.

and if I just try to run make it gives me almost the same result:

~/projects/gemhunters/GemHunters$ make
( cd data ; make )
( cd gfx ; make )
make: don't know how to make fonts_para.dat. Stop
*** Error code 2

Stop in /nfs/home/capitol/projects/gemhunters/GemHunters/data.
*** Error code 1

Stop in /nfs/home/capitol/projects/gemhunters/GemHunters.

Re: Compilation problems posted by TheBlackLion on Feb 1 2004 1:52 AM
Hi there!

Just to be sure - have you installed kyra 2.x ? It also really much looks like some missinterpreting in the scripts. Which shell are you using? I'm using bash as a default. Try changing the first line in the gemhun.sh script from /bin/sh to /bin/bash . Or take a terminal, enter bash to start it and retry compiling it... Which distro are you using?

The other big thing is - also my fault :) - when you download the src archive you don't have to download the data or x86 binary archives. The data package is for the x86 package. The src archive already has the data in the right place. I also forgot to mention that one has to have sdl_net installed for the network support to work. This can be turned on or off in the src/makefile. Sorry!!! :)

At the moment, I'm coding the docs for the website... :)

Regards,
Oktay.
Re: Compilation problems posted by anonymous on Feb 6 2004 6:43 AM
Ahh also my fault... I'm using freebsd and bash as my shell.

I have kyra 2.0.X (7 I think) installed.

Re: Compilation problems posted by TheBlackLion on Feb 8 2004 6:31 AM
Sadly I have no experience with freebsd so it's kind of hard to guess. Are those kyra binaries in your path? It uses krencoder to encode the gfx. You could also try to do this:

- go to the data/gfx directory in your source-tree. There should be a makefile, a fonts_para dir and two files in it.
- go into this fonts-para dir
- execute: krencoder -pfonts_para_ ../fonts_para.dat *xml
- execute: rm -f ../fonts_para.h

Now look if there's a file called fonts_para.dat in the gfx dir.
Like the docs say, you only have to install either the source or the bin+data packages - not both or something. (It's really hard to guess what you have done and what it looks like on your side if I don't have any access to your files :) )

TheBlackLion.
five stars! If I had an account!
Re: Yay, the game with built-in furry pr posted by TheBlackLion on Feb 1 2004 10:10 AM
^o^ Sexy one, isn't she ^o^
First off, whoever wrote kyra made a few too many assumptions and REALLY needs to modify their configure.in file. My attempts to build it resuilted in segfaults in ld thanks to a compile line containing about 20 -lpthreads, the supplied "libtool" is incredibly broken, only by changing the makefiles and using the libtool that came with my distribution could I get it to compile and install.

Now the Gemhunters problem, the game compiles fine, downloaded the pax files (as both binary and source) and copied them to their relevant place in .gemhun/pax and...

set framerate to normal speed...
initialize pax list...
searching for pax in pax ...
found: pax/title ...inspecting...
found: pax/networkscreen ...inspecting...
searching for pax in /home/spike1/.gemhun/pax ...
found 0 paxs which are suiteable for playing.


What's goin on? AND, you REALLY need to improve the makefile and so on to include make install. Having executable games hogging your home directory is incredibly messy. Adding a ./configure stage should help get around a lot of compile problems as autoconf/automake are there to search the user's system, make sure all prerequisites are there, check BUILD architecture, allow cross compilation, override defaults (--without-SDL-net instead of editing makefiles directly for example)

Executables should go in /usr/local/bin (or where the USER decides to put them at the ./configure stage with --prefix), and the data and pax files should go in /usr/local/share/gemhun (or wherever the user configures them)
Re: This game is hellish to install... posted by anonymous on Feb 8 2004 3:59 AM
Came across similar problems myself. After /eventually/ getting a binary (2nd day!) AND installing pax files I get squat. Disappointing.

This game had better be bloody good when (if) I do get it going!

Re: This game is hellish to install... posted by TheBlackLion on Feb 8 2004 6:07 AM
Hi there!

Just cool down a bit - it's still in an early beta stage! I'm already implementing those ./configure, and stuff, scripts - the next release will have them. Have you contacted the author of kyra? Hmmm.. I've also seen this behaveior that gemhun won't find the pax in your homedir or couldn't create the ~/.gemhun dir completely! Any ideas?
Perhaps I should open a bug tracker :)
Have you done a make install in the source pax dir? You only have to unpack the binary either in ~/.gemhun/pax/ , GemHunters/data/pax/ (source download) or GemHunters-data/pax/ (binary download) - you shouldn't unpack the source pax in those dirs. Also first try to use the precompiled thingies - the prebuild pax should work on your side. As for me I could use the prebuild pax on linux and on windows without rebuilding it...

TheBlackLion.

PS. Send me the output of ls -R ~/.gemhun/ if you like!
Re: This game is hellish to install... posted by anonymous on Feb 8 2004 6:20 AM
Update on my not getting it to work

it works as root, something's screwing up, I don't know what, and things like games should NOT run as root...

As a user, copying the pax files to Gemhunters/data/pax finds the files but it still locks up

Any idea what permissions need setting?
Re: This game is hellish to install... posted by TheBlackLion on Feb 8 2004 6:40 AM
Hmm... please explain lock-up a bit more! That somehow smells like you have a problem with sdl... do other sdl games work fine on your side? Also OpenGL games? GemHunters tries to detect whether there is a suitable interface or not. But since it's kind of selfmade and I don't have any experience in those kind of things, I can only guess :-/
I REALLY hope that this is not my autodetecting-routine :) Try to start gemhun with -s ! What says the console output?
Re: This game is hellish to install... posted by anonymous on Feb 8 2004 8:54 AM
As root, it doesn't like gl for some reason (starting with -o), tuxracer and every other sdl game i've tried works fine. (I always use tuxracer to check my Nvidia-GLX is working properly)

This is the output from ./gemhun -s
Successfully initialized the audio device.
Panning for sound effects supported. :)
Available rendering device:
v2.0.7 32bbp Fullscreen=0 Linux Software render
Software rendering forced!
Initialized video ( depth = 32bit ) and activated the following extensions:
- SDL_SWSURFACE
set framerate to normal speed...
initialize pax list...
searching for pax in pax ...
found: pax/title ...inspecting...
found: pax/networkscreen ...inspecting...
found: pax/fairylands ...inspecting...
found: pax/stars_in_the_night ...inspecting...
searching for pax in /home/spike1/.gemhun/pax ...
found 2 paxs which are suiteable for playing.

One thing I did notice while poking around...
The place it locks when started as a user is always after trying (and failing) to load from $HOME/.gemhun/pax, which, when I used strace, was reporting no such file or directory, even though it's clearly there...

work/GemHunters> ls -lR ~/.gemhun/pax/
/home/spike1/.gemhun/pax/:
total 8
drwxrwxrwx 2 spike1 users 4096 2004-02-08 01:35 fairylands
drwxrwxrwx 2 spike1 users 4096 2003-10-16 21:43 stars_in_the_night

/home/spike1/.gemhun/pax/fairylands:
total 1956
-rwxrwxrwx 1 spike1 users 439848 2004-02-08 01:35 G-Comp.mod
-rwxrwxrwx 1 spike1 users 1296525 2004-02-08 01:35 gfx.dat
-rwxrwxrwx 1 spike1 users 9935 2004-02-08 01:35 index.pax
-rwxrwxrwx 1 spike1 users 231464 2004-02-08 01:35 shot.dat
-rwxrwxrwx 1 spike1 users 1086 2004-02-08 01:35 star_gems.pax

/home/spike1/.gemhun/pax/stars_in_the_night:
total 1728
-rwxrwxrwx 1 spike1 users 151698 2003-10-16 21:43 Overture.mod
-rwxrwxrwx 1 spike1 users 1350744 2003-10-16 21:43 gfx.dat
-rwxrwxrwx 1 spike1 users 10175 2003-10-16 21:43 index.pax
-rwxrwxrwx 1 spike1 users 231464 2003-10-16 21:43 shot.dat
-rwxrwxrwx 1 spike1 users 660 2003-10-16 21:43 star_gems.pax

The last few messages from strace are....
_llseek(18, 231464, [231464], SEEK_SET) = 0
gettimeofday({1076259621, 954316}, NULL) = 0
close(18) = 0
munmap(0x411b2000, 4096) = 0
close(17) = 0
munmap(0x411b1000, 4096) = 0
write(1, "searching for pax in /home/spike"..., 52searching for pax in /home/spike1/.gemhun/pax ...) = 52
open("/home/spike1/.gemhun/pax", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory) write(1, "found 2 paxs which are suiteable"..., 47found 2 paxs which are suiteable for playing. ) = 47
gettimeofday({1076259621, 958035}, NULL) = 0
Re: This game is hellish to install... posted by TheBlackLion on Feb 8 2004 9:37 AM
Hmm.. I'll think about the ~/.gemhun/pax thingy later. You might want to try commenting out the line 30 in the GemHunters/src/pax_list.cpp file.. But I don't think that this is the problem since it seems to finish the gamescreen initialization. The kyra demo worked, right? Did you compile gemhun with SDL_net support? Does gemhun say that it found any joysticks? This should be the next step before starting the game.
When I started to implement some network support I ran right into a timer problem with the multithreading net thingy in the net2.* files. So I had to write those defines in the main.cpp:427 etc or the game SEEMED to lock. In fact only the buffer wasn't drawn on the screen and all keys worked right. So closing the window worked correctly and finished the game. Perhaps it's a timer problem again... :-/
Re: This game is hellish to install... posted by anonymous on Feb 8 2004 10:21 AM
As a user,it doesn't get as far as finding joysticks. As root it finds 0 joysticks, whch is correct. I didn't alter any source, so yes, it should be compiled with SDL_net.
Re: This game is hellish to install... posted by TheBlackLion on Feb 8 2004 12:14 PM
Hmm.. the next thing I would try is to start a debugger and break at main.cpp:391 , step through the video . Setup () method, back to main.cpp until hid . Init () in main.cpp:425 . Eventually one should also step through the hid . Init (), the keyboard init and the joystick init... sorry. :-(
The rights for ~/.gemhun and ~/.gemhun/pax are correct? But it said no such file or dir... :-/ Did you create them or were they created from gemhun? I would like to know if gemhun is able to create them on itself...
Hello TheBlackLion,

after I installed the game my girlfriend and I played it a whole week. Great backgrounds and effects. If there wouldn´t be that time waisting work man!!

Perhaps you could implement a kind of earthquake or wizard that moves your gems in between tha game. That´ll be even more fun......

So, hold on programming :-)

Paivo from Helsinki

Re: I really like this cute game! posted by TheBlackLion on Jun 9 2004 10:08 AM
Hi :)

It's already on the todo list :)

http://www.frozen-bubble.org/

Log in or register to rate this game or post a comment.