MahJongg 3D Solitaire
Board
Description:

An implementation of the classical chinese game Mah Jongg with 3D OpenGL graphics.

Features:

- 3D OpenGL view
- A unique hand drawn tileset
- Undo
- Reorder
- Custom tilesets loadable
- Hint function
- Hiscores

HAVE A LOT OF FUN!
Last changelog:

13 years ago

- A SuSE RPM is available! See the homepage for details :-)

- If you get compilation problems while compiling for SuSE (and other distributions), please check the newly available bugfix.

- Two cool new tilesets available! See the download section at the homepage.

- Debian, Xandros, Gentoo and Slackware packages for version 0.96 available! They can also be found in the downloads section.

- Creation of custom layouts, backgrounds and tilesets is now possible! Read INSTALL_CUSTOM for more information.

- Integrated the "ArcBall" rotation method, implementation contributed by Michael George. Thanks! :-)

- Two new tilesets: "Runes" and "Flowers"

- A new layout: "chinese wall"

- Some new Backgrounds

- Mouse speed settings available.

- More bugfixes

- A LOT of improvements :-)

mathpr

9 years ago

hi,

first i tried to compile it myself for opensuse 10.2 but i get the following errors during make process:

make -f Makefile.doit PREFIX=/opt/kde3 GAMEDATA_PREFIX=/opt/kde3
make[1]: Entering directory `/root/install/src/mahjongg3d.release'
cd src && qmake src.pro -o Makefile
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
cd src && \
echo -n "#define GAMEDATA_BASE_PATH " > gamedata_path.h && \
echo -n \" >> gamedata_path.h && \
echo -n /opt/kde3 >> gamedata_path.h && \
echo -n "/mahjongg3d" >> gamedata_path.h && \
echo \" >> gamedata_path.h && \
make -f Makefile
make[2]: Entering directory `/root/install/src/mahjongg3d.release/src'
/usr/bin/uic MainDialogBase.ui -o ui_MainDialogBase.h
uic: File generated with too old version of Qt Designer
File 'MainDialogBase.ui' is not valid
make[2]: *** [ui_MainDialogBase.h] Fehler 1
make[2]: Leaving directory `/root/install/src/mahjongg3d.release/src'
make[1]: *** [sub-src] Fehler 2
make[1]: Leaving directory `/root/install/src/mahjongg3d.release'
make: *** [all] Fehler 2

my qt3 version is the newest version 3.3.8.

then i tried to install the rpm on your website and i get the following error:

warning: user tom does not exist - using root

maybe you can repackage one for the newest one or someone actually has the package i am looking for.

thanks

Report

cherusker

11 years ago

In my opinion this is the best mahjongg available for linux. My favorite!!!

Report

shiva

12 years ago

should be added to kde once!
i like it more then the original version!

Report

Buck

12 years ago

Please please please Reto, supply also instructions for compiling on FreeBSD. I'm no expert when it comes to analyzing configure and makefiles, but basically it cannot find the damned qmake.conf, even though the path is correct. Anyway, it would be ubercool if you could investigate the issue and supply a mini howto on this.

Report

brent

13 years ago

Great game, could you somehow make it reverse the horizontal mouse axis when you right click below the centre line (in default mode)? Or maybe just an option to reverse the mouse axis all the time, I find myself trying to spin the board from the lower half mostly.

Report

RetoSchoelly

13 years ago

Hmm. I see the difficulty, but changing axis directions could be somehow distracting for other users... But I will think about your idea :-)

Report

TimeToPaws

13 years ago

I am trying to compile mahjongg using SUSE 9.0 KDE3.2-2 on a nforce2 nvidia MB running an AMD XP2400

The problem is QGLWidget. It can't find it. I am sure it is just a switch or adding to the path, but I don't know what.

Thank you

Report

RetoSchoelly

13 years ago

The QGLWidget represents QT's interface to OpenGL, the problem you encountered often occurs when a user compiles his own QT and forgets the -enable-opengl switch when ./configure -ing QT.

Did you compile QT yourselves? If yes, try recompiling it with -enable-opengl (this option is not activated by default!). If it doesn't work, you can always send me an email :-)

Report

TimeToPaws

13 years ago

The qt3 that I use is the one I got from the apt repository for suse 9.0, comes as an rpm and is 3.3.2-5

Report

RetoSchoelly

13 years ago

QGLWidget is part of QT 3.x (so of QT 3.3), and it also should be part of the suse RPM's of qt3.3. If you send me an email with your error messages (and a text file about what your glxinfo says), maybe I can tell what the problem is... :-)

Report

RetoSchoelly

13 years ago

Another idea: I think that you have duplicated OpenGL libs (libGL.so.*). This may happen if someone has both hardware accelerated libGL's and software libGL's installed.

Maybe you can search in /usr for libGL.so*. If you find these files in more than one directory, renaming one set to *.bak could resolve the problem. (Don't forget to make backups of these files :-)))

Report

Enso

13 years ago

It can't load or view bitmaps (Fedora Core 2)

Report

RetoSchoelly

13 years ago

Maybe it works if you tried "mahjongg3d-run" instead of "mahjongg3d"?

Report

Enso

13 years ago

No sorry, it doesn't work...

Report

rhd

13 years ago

Do you really need to use DRI? I'm using an ancient graphics card for which there is no DRI support available.

Is there a way to build the game without using DRI?

Report

RetoSchoelly

13 years ago

Of course you can use the game without DRI. If you're using an NVIDIA graphics board, it will anyways use its own OpenGL API implementation and NOT DRI. Send me a mail if you don't get it running, maybe I can help you with that...

But some sort of OpenGL acceleration (be it NVIDIAs or ATIs or something else's) is heavily recommended, as the game uses 128x128 textures. You still can use Mesa 3D, wich will make the game running, but:

Playing this game would be very sluggish with a computer Luther would have typed his theses with ;-))))

Report

rhd

13 years ago

Got it working. The "DRI missing" msg is just a warning.

I downloaded the latest (0.92) from your web site (not the 0.91b on this web site), compiled as a regular user instead of root, and it works. I made some other system changes in the mean time, so I don't really know what resolved the problem.

It is sluggish on my ancient h/w, but it's playable. Great game!

Report

mobtek

13 years ago

I get this on kde 3.2.2 compiled from konstruct

g++ -c -pipe -march=athlon-xp -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG -I/home/mobtek/kde3.2.2/mkspecs/default -I. -I/home/mobtek/kde3.2.2/include -I/usr/X11R6/include -I/usr/X11R6/include -o main.o main.cpp
cc1plus: bad value (athlon-xp) for -march= switch
make[1]: *** [main.o] Error 1

this is not on an ahtlon :)

cheers mob

Report

RetoSchoelly

13 years ago

The problem is the following: your compile environment is trying to compile the game for athlon xp processors, which is possible if you are using gcc compilers version 3.2 and later (check the version with gcc --version). You seem to be using a lower version, therefore, try using "i686" settings by typing


export CFLAGS="-march=i686"


export CXXFLAGS="-march=i686"


before compiling it.


OR: use a higher gcc version (check your distribution's website)


OR: try compiling the game as designated in the README in the package


Report

RetoSchoelly

13 years ago

Sorry, i just encountered an error in the makefile, I will update it today.
It was not your fault :-)

Report

adpsimpson

13 years ago

...But the method of rotation is not intuative. Currently dragging right rotates clockwise. This "feels" right if the first click is at the middle back, but anywhere else and it feels wrong. Similarly, it rotates the top forwards if dragged down, which only feels right if first clicked in the bottom half of the screen.

A great improvement would be to make it rotate anti-clockwise when dragged to the right if clicked at the front, and clockwise (like currently) if clicked at the back. Similarly, rotate top-forward if dragged down from the front, and top-back if dragged down from the back.

This quantity of rotation should be scaled dynamically according to the distance of the click from the centre of the screen, so clicking near the centre of the screen would produce a larger rotation for the same drag-length - more accurate rotations would be possible by clicking nearer the edge of the screen. This would create a "grab and drag" type of environment, where you would intuatively know which way the tile you first grabbed would move.

As I said at the start though, the graphics are good, and the rendering is well done. Keep it up!

Report

kbeaumont

13 years ago

The install seemed to ignore make PREFIX=usr and but it in /usr/games the install crashed with can't find /root/bin/mahjongg3d-hires. So some work on a more general install is in order. The tiles don't completely disapear immediately after selecting a match. It looks like half a tile is left. But they do disappear completely after the next subsequent match. It may be my RedHat 9 setup, I use qt3.3 and I have installed quite a few changes to the default redhat in the last year. The tiles are a little dark, maybe a lighter set? Gnome 2.6 mahjongg has a new tile set called smooth, it's SVG and really quite readable along with being pretty. I'm not suggesting use theirs it's just idea of what would make the game easier on the eyes. This is a real great start and could evolve into the best mahjongg for linux hands down. Keep up the good work this has alot of potential!

Report

RetoSchoelly

13 years ago

The makefile does not yet set appropriate permissions if you install it as root and try using it as generic user.

If it doesn't work, you should first try to install it to your home directory. And don't forget the preceding "/" before "usr" if you are trying to install it globally to /usr/... :-)))

Anyways, if you still got problems, you can always send me an email :-)

Report

RetoSchoelly

13 years ago

I tried to find out what the problem that you encountered could be, but all seems to work right, Have you installed the game to /usr as root?

Report

pdreker

13 years ago

Very cool, indeed...
seems like I've found a new favourite waste of time... ;-)

Patrick

Report

13 years ago

- A SuSE RPM is available! See the homepage for details :-)

- If you get compilation problems while compiling for SuSE (and other distributions), please check the newly available bugfix.

- Two cool new tilesets available! See the download section at the homepage.

- Debian, Xandros, Gentoo and Slackware packages for version 0.96 available! They can also be found in the downloads section.

- Creation of custom layouts, backgrounds and tilesets is now possible! Read INSTALL_CUSTOM for more information.

- Integrated the "ArcBall" rotation method, implementation contributed by Michael George. Thanks! :-)

- Two new tilesets: "Runes" and "Flowers"

- A new layout: "chinese wall"

- Some new Backgrounds

- Mouse speed settings available.

- More bugfixes

- A LOT of improvements :-)

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install
Score 71%
71.00 Likes
29 Dislikes
Details
version
0.96
updated Jun 26 2004
added May 10 2004
downloads
page views 1253