Profile Falling Sand Game    Hell of Sand Game   Profile NEW Sand Game   Profile Pyro Sand Game Profile Pyro Sand II   
Profile X Sand    Profile Etch A Sketch Sand    Profile FSG Wiki    Profile Game Overview

Burning Sand 2 for Linux

Sieben's reimplementation.

Burning Sand 2 for Linux

Postby Sieben on Thu Apr 03, 2008 7:55 am

i compiled a linux version of BS2 and i need a few testers. i'm running ubuntu in a virtual machine. it would be great if you could test other distributions. to run it you need the following libraries:

libpng12-0
libsdl-ttf2.0-0
libsdl-net1.2
wget

if you have apt installed you can use this command to install them:
Code: Select all
sudo apt-get install libpng12-0 libsdl-ttf2.0-0 libsdl-net1.2 wget


download the newest release of BS2 for windows and put the file http://siebn.de/download/BurningSand2 into the directoy and run it.

known limitations:
- no open/save dialogs
Sieben
Level 2.5
Level 2.5
 
Posts: 440
Joined: Thu Mar 09, 2006 5:26 am

Postby JoeMaximum on Thu Apr 03, 2008 3:02 pm

I want to give it a try on Damn Small Linux, i think if it work on this it should work on any. But im really not good at linux, i think i've enabled the apt-get thing, downloaded BurningSand2.exe, but cant execute it.

how do you normally execute something in linux?
User avatar
JoeMaximum
Level 3.5
Level 3.5
 
Posts: 919
Joined: Mon May 07, 2007 4:26 am
Location: Quebec, Canada

Postby Sieben on Thu Apr 03, 2008 3:15 pm

try setting the executable flag. open a console and change the directory to the BS2 directory and type:
Code: Select all
chmod 777 BurningSand2
./BurningSand2
Sieben
Level 2.5
Level 2.5
 
Posts: 440
Joined: Thu Mar 09, 2006 5:26 am

Postby JoeMaximum on Thu Apr 03, 2008 3:23 pm

The libsdl-ttf2.0-0 dont want to install itself:
Package libsdl-ttf2.0-0 has no installation candidate


All others seem to have installed correctly, i got an error when running ./BurningSand2, about the libsdl-ttf2.0-0 not found.
User avatar
JoeMaximum
Level 3.5
Level 3.5
 
Posts: 919
Joined: Mon May 07, 2007 4:26 am
Location: Quebec, Canada

Postby Sieben on Thu Apr 03, 2008 3:39 pm

enter
Code: Select all
apt-cache search sdl-ttf

this will show a list of availavle packets that contain sdl-ttf
for example
Code: Select all
libsdl-ttf1.2 - TrueType font library for Simple DirectMedia Layer
libsdl-ttf1.2-dev - development files for libsdl-ttf1.2
libsdl-ttf2.0-0 - ttf library for Simple DirectMedia Layer with FreeTy...
libsdl-ttf2.0-dev - development files for SDL ttf library (version 2.0)

the choose one and install it. for example
Code: Select all
apt-get install libsdl-ttf1.2

you don't need the -dev packages. these are development packages.
Sieben
Level 2.5
Level 2.5
 
Posts: 440
Joined: Thu Mar 09, 2006 5:26 am

Postby inferno on Thu Apr 03, 2008 3:43 pm

I should be able to help test it soon, Sieben. I 'm installing Xubuntu on an old (almost ancient) computer that's just sitting here doing nothing. Will try once I test out Linux for a while.
User avatar
inferno
____________________
____________________
 
Posts: 2540
Joined: Sun Apr 01, 2007 11:20 am
Location: Huffing Kittens, Oscar Wilde-style

Postby JoeMaximum on Thu Apr 03, 2008 4:08 pm

It may be me but anyway, here is the error i got:
./BurningSand2: error while loading shared libraries: libSDL_ttf-2.0.so.0: cannot open shared object file: No such file or directory.


the 1.2 installed successfully though, gonna try restart the virtual machine and restart from the beginning only installing 1.2 version.
Edit: Tried this but without any more success !
User avatar
JoeMaximum
Level 3.5
Level 3.5
 
Posts: 919
Joined: Mon May 07, 2007 4:26 am
Location: Quebec, Canada

Postby Sieben on Thu Apr 03, 2008 4:44 pm

i also downloaded DSL. there's no sdl-ttf 2.0 in it's repository. if you try to use the ubuntu repository you'll get many version conflicts. i don't think there's an easy way to get BS2 to run on DSL. try a bigger distribution.
Sieben
Level 2.5
Level 2.5
 
Posts: 440
Joined: Thu Mar 09, 2006 5:26 am

Postby JoeMaximum on Thu Apr 03, 2008 4:50 pm

Im not that intersted in linux, i just wanted to test it with DSL to see if it could work on it. But this will most likely work on any normal distribution of linux, of course a 50 meg distribution wont allow everything, but it is seriously a Damn Good Distribution. There is probably a way but not an easy one like you said.

Someone else used to linux will surely make this work !
User avatar
JoeMaximum
Level 3.5
Level 3.5
 
Posts: 919
Joined: Mon May 07, 2007 4:26 am
Location: Quebec, Canada

Postby drizzt on Thu Apr 03, 2008 5:49 pm

It works perfectly for me. I am using Ubuntu 7.10 and it seems to have few if any bugs. Thanks for finally compiling it for Linux!

EDIT: SIEBEN YOU ARE AMAZING!!!
There are two kinds of people in the world:
Those who play falling sand, and those who don't.
Image
User avatar
drizzt
Level 1.5
Level 1.5
 
Posts: 125
Joined: Thu Feb 22, 2007 8:01 am

Next

Return to Burning Sand 1&2

Who is online

Users browsing this forum: No registered users and 0 guests