Page 1 of 1

Linux Newbie

Posted: Sat Feb 17, 2007 10:26 pm
by Emceegy
I have just installed my 1st Linux OS, namely Sabayonlinux (gentoo based)

I have RND running but want the fullscreen and sound.I have down loaded

SDL-1.2.11.tar.gz
SDL_image-1.5.tar.gz
SDL_mixer-1.2.7.tar.gz
SDL_net-1.2.6.tar.gz

I am running rocksndiamonds-3.2.2.tar.gz

I dont have any idea what compiling actually means or entails
could anyone please "talk" me through it in very easy steps

Thanks

Posted: Sun Feb 18, 2007 9:27 pm
by Emceegy
The sound has started working fine ....all I want now is Full screen

I have downloaded and extracted all the SDL packages into the RND folder
What do I do now ?

Posted: Mon Feb 19, 2007 8:49 am
by Zomis
Hello and welcome to the forum!

As far as I know, fullscreen mode isn't supported on Linux.

Posted: Mon Feb 19, 2007 2:45 pm
by Emceegy
Hi Zomis

I was looking at this particular part of the download section :-


To enjoy all features of the game on your specific Linux platform, rebuild the game using the SDL libraries! To do this, or to build the game for a different Unix platform like FreeBSD, NetBSD, Solaris, HP-UX, AIX, Irix or others (the game is known to compile and run on all these Unix flavors), just get the latest SDL libraries (SDL, SDL_image, SDL_mixer and SDL_net) and recompile the game from the source code (which is included in all above download archives). After you have extracted the archive, type "make clean ; make sdl" -- that's all!

I'd like to know how to do the "make clean ; make sdl" part of the instruction

Posted: Mon Feb 19, 2007 3:02 pm
by Zomis
Start a terminal Window and go to the rocksndiamonds executable directory

Then type
"make clean" and press Enter
then type "make sdl" and press Enter.

Posted: Mon Feb 19, 2007 5:21 pm
by Emceegy
how do I "go to the rocksndiamonds executable directory" ?

This is what I tried:-

malcolm@localhost ~ $ /home/malcolm/rocksndiamonds/rocksndiamonds-3.2.2 make clean

bash: /home/malcolm/rocksndiamonds/rocksndiamonds-3.2.2: is a directory
malcolm@localhost ~ $

[/quote]

Posted: Mon Feb 19, 2007 5:23 pm
by Zomis
You have to type
malcolm@localhost ~ $ cd /home/malcolm/rocksndiamonds/rocksndiamonds-3.2.2
And then "make clean" and "make sdl"

And by the way: The latest version is 3.2.3

Posted: Mon Feb 19, 2007 5:32 pm
by Holger
> As far as I know, fullscreen mode isn't supported on Linux.

Only partly true: The X11 version does not support fullscreen, but the SDL version does support fullscreen on all platforms, including Linux! :-)

Besides that, just follow Zomis' instructions for re-building the game!

BTW: You don't have to build the SDL libraries by yourself -- just use the versions that come with your Linux distribution. (On a Gentoo based Linux distributions, this should be possible using "emerge", I think.)

Posted: Mon Feb 19, 2007 10:00 pm
by Emceegy
After following your instructions ,
fullscreen was enabled in setup>graphics giving a choice of resolutions , after save and exit .....The game was the same size as before but the surrounding screen was black .
When I now try to start the game the deaktop closes and goes back to login, so I will uninstall it and try the emerge method.

Just a point of interest ....My wife and I have played this game since the mid eighties.......on the Spectrum first , then the Amiga and now PC , are there any other die-hard veterans like us ?.

Posted: Fri Feb 23, 2007 3:24 pm
by Emceegy
Hi Zomis

I used Emerge it downloaded and installed the latest version , all the levels and contributions including snakebite and it runs in full screen with music

Excellent

Emceegy

Posted: Fri Feb 23, 2007 10:53 pm
by Holger
> are there any other die-hard veterans like us ?.

At least me, for example... ;-)

> I used Emerge it downloaded and installed the latest version , all the levels
> and contributions including snakebite and it runs in full screen with music
>
> Excellent

Good to know that it works fine now! :-)

Have fun playing! :)