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: |
|---|---|---|---|---|---|---|
| yes | yes | yes | yes | yes | yes | yes |
Submitted by TheBlackLion on 2003-10-12.

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.
Regards, Oktay.
PS That's also why I'm responsing right now and not last year.... :/
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.
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.
I have kyra 2.0.X (7 I think) installed.
- 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.
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)
This game had better be bloody good when (if) I do get it going!
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!
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?
I REALLY hope that this is not my autodetecting-routine :) Try to start gemhun with -s ! What says the console output?
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
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... :-/
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...
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
It's already on the todo list :)