Page 1 of 2

sdlCC: SDL version of chinese checkers

Posted: Mon 28 May 2007, 16:04
by muggins
i've just compiled the sdl version of the chinese checkers game. this is same as the other chinese checkers game, but has sound effects.

you need libSDL installed for this version.

To play type sdlCC in console window, or click on /usr/local/bin/sdlCC. There are 4 different opponents, (Jim, Jon, Mike & Sloth), all with different skill levels. Oh! I forgot to add that it's worth playing at least once, whatever your skill level, just for the razzamatazz that is played when you win!

Posted: Sun 01 Jul 2007, 06:40
by muggins
I've re-uploaded this as I've altered the board colour, & brightened the red & green checker colours, to try & make it a bit easier to see. (It would be good if it was easy to re-size the board, but then the geometry of ball placement goes out of alignment...maybe a future project?).

Posted: Mon 02 Jul 2007, 02:23
by mouldy
I get offered choice of human or none. No AI opponents? The board however is easier to see.

Posted: Mon 02 Jul 2007, 05:02
by muggins
hi mouldy,

i just downloaded the .pet & installed it, and definitely it has the AI players. (they used to be called jumper, slider, sloth & robo but they've been renamed as Jon, jim, mike & sloth).

if i click on any of the players, they cycle through these, (plus human & none), as options. To check that your version works, if you copy sdlCC-0.0.0-i486.pet to sdlCC-0.0.0-i486.tgz, then extract it somewhere, then change directory to sdlCC-0.0.0-i486/usr/local/bin and enter ./sdlCC , then does that work OK? (i'm wondering here if you've got a previous version of it installed somewhere).

Posted: Mon 02 Jul 2007, 06:01
by WhoDo
muggins wrote:i just downloaded the .pet & installed it, and definitely it has the AI players. (they used to be called jumper, slider, sloth & robo but they've been renamed as Jon, jim, mike & sloth).
I've got the same problem as mouldy. I can't choose any option except human or none for each of the player slots.

I will remove it and download again, just to be sure, but I don't think this is an isolated problem. Maybe you have a library somewhere that isn't in the dotpet package? If you do, and you reinstall, the problem will still not present itself on your system.

Update: Just confirmed ... AI features not working, even after a new download and install. Cycles only human & none for players.

Posted: Mon 02 Jul 2007, 06:34
by muggins
thanks for the info whodo,

i just ran ldd & got this list of required libraries:
ldd sdlCC
linux-gate.so.1 => (0xffffe000)
libdl.so.2 => /lib/libdl.so.2 (0xb7f4b000)
libSDL_mixer-1.2.so.0 => /usr/lib/libSDL_mixer-1.2.so.0 (0xb7f0b000)
libSDL_image-1.2.so.0 => /usr/lib/libSDL_image-1.2.so.0 (0xb7ef3000)
libm.so.6 => /lib/libm.so.6 (0xb7ece000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7e52000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7dff000)
libc.so.6 => /lib/libc.so.6 (0xb7cf3000)
/lib/ld-linux.so.2 (0xb7f50000)
libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb7cea000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7cc2000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7cbd000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7c9e000)
libpng.so.3 => /usr/lib/libpng.so.3 (0xb7c5f000)
libz.so.1 => /lib/libz.so.1 (0xb7c4e000)
libstdc++.so.5 => /usr/lib/./libstdc++.so.5 (0xb7b96000)
libX11.so.6 => /usr/X11R7/lib/libX11.so.6 (0xb7aa8000)
libXext.so.6 => /usr/X11R7/lib/libXext.so.6 (0xb7a9a000)
libgcc_s.so.1 => /usr/lib/./libgcc_s.so.1 (0xb7a91000)
libXau.so.6 => /usr/X11R7/lib/libXau.so.6 (0xb7a8e000)
libXdmcp.so.6 => /usr/X11R7/lib/libXdmcp.so.6 (0xb7a88000)
i'm wondering if you & mouldy have the libSDL_mixer & libSDL_image files? (on my system libSDL_mixer-1.2.so.0 is a symlink to libSDL_mixer-1.2.so.0.2.3, and libSDL_image-1.2.so.0 to libSDL_image-1.2.so.0.1.3).

i see pizzasgood has them here:
http://www.murga-linux.com/puppy/viewto ... 67&t=17978

i should get into the habit of noting down what libraries I add to puppy as I just assume that if it works on my computer it will work with puppy standard! by the way, to see what library files are missing with the command ldd sdlCC, first you have to un-upx sdlCC with
upx -d sdlCC . hope this helps.

Posted: Mon 02 Jul 2007, 06:51
by WhoDo
For some strange reason I don't seem to have upx either. Here is what I get when I run sdlCC from a console:

Code: Select all

sh-3.00# sdlCC
Loading Players from "/usr/local/lib/sdlCC/players"
lt_dlopenext(jumper): file not found
lt_dlopenext(mm): file not found
lt_dlopenext(slider): file not found
lt_dlopenext(robo): file not found
open /dev/sequencer: No such device
sh-3.00#
The players.txt file, the jumper.so, mm.so, slider.so and robo.so files are all definitely in that directory, but don't seem to load somehow.

Hope that helps.

Posted: Mon 02 Jul 2007, 06:56
by muggins
yeah,

i'm not sure what's happening here...i just rebooted puppy from cdrom, and got the same result as you & mouldy.i've pulled the .pet of the forum until i work out where i've stuffed up. maybe i need some caffeine to kick those brain cells into action. but the output you're getting has put me on the right track.

also, i forgot, upx isn't standard with puppy, you need to dload as a pup/pet, or get it from the upx sourceforge site.

Posted: Mon 02 Jul 2007, 07:56
by muggins
sorry to anyone that dloaded this to find it didn't work properly. trying to shave a few kilobytes of the upload i eliminated the players. because i had it installed to /usr/local/lib, of course it still worked in the -i486 directory when i removed stuff! anyway, i've re-uploaded it above.

i also brightened the other marbles to, hopefully, improve visibilty without them being too "washed out".

Posted: Mon 02 Jul 2007, 08:37
by WhoDo
muggins wrote:I've re-uploaded it above.

i also brightened the other marbles to, hopefully, improve visibilty without them being too "washed out".
Thanks, mugsy. It works a charm now. :P

Posted: Tue 03 Jul 2007, 00:14
by mouldy
Sorry to have missed all the discussion. I downloaded your latest version and it works fine now. I played Sloth and that is boring, have to figure which new AI is same as Robo, thats the toughest player and quite capable of winning if I am not paying close enough attention.

Posted: Tue 03 Jul 2007, 01:21
by muggins
mouldy,

the changed names are:
Jon=robo,
Mike=mm,
Jim=jumper &
sloth=slider

Posted: Tue 03 Jul 2007, 11:37
by mouldy
Yes, found Jon is the former Robo after playing couple more of the players. And thanks for telling me about the image file in /usr/local/lib/sdlCC/images where I can substitue my own color marbles and swap names around to make it play my choice of default color marbles for say the two person play.

Being partially color blind, very light and very bright colors work best for me, but I realize they arent the most aesthetically pleasing for others who arent color blind.

Real shame the original author of game didnt allow for changing size of board and marble color as options directly from the game. Sure it would have made program more complex and bigger size. Not such a concern now but maybe was back when game was written.

Posted: Tue 24 Oct 2017, 15:52
by mouldy
Did this software just fall off face of the planet? Not finding it anywhere.

Posted: Tue 24 Oct 2017, 16:06
by ally

Posted: Tue 24 Oct 2017, 16:32
by ally
ok, I pulled the sdlcc files from gamepup and placed in a tar, this is as far as my skills go

I'm sure someone can make a pet of it

https://drive.google.com/open?id=0B3lzw ... 1RJb2dlSkE

:)

Posted: Wed 25 Oct 2017, 05:13
by HoerMirAuf
Hi ally,

here you have:

sdlcc.pet

Posted: Wed 25 Oct 2017, 12:43
by ally

Posted: Wed 25 Oct 2017, 14:11
by mouldy
Ok, thanks! I am using Slacko64 6.9.9.9 kernel 4.9.30.

It installs, the entry into FUN is there. Click and nothing. I open terminal and type sdlCC and nothing, just get new # and blinking cursor beside it? Would think I would get some error or something about missing library???

Posted: Wed 25 Oct 2017, 14:36
by mouldy
ok, did ldd sdlCC

And get ldd: ./sdlCC: No such file or directory

when I do ldd /usr/local/bin/sdlCC

get not a dynamic executable