lmarbles: SDL based marble game

Play with your Puppy.
Post Reply
Message
Author
muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

lmarbles: SDL based marble game

#1 Post by muggins »

http://lgames.sourceforge.net/index.php ... t=LMarbles

Image
Marbles is an Atomix clone with a slight change in concept. Instead of assembling molecules you create figures out of marbles. Nevertheless, the basic game play is the same: If a marble starts to move it will not stop until it hits a wall or another marble. To make it more interesting there are obstacles like one-way streets, crumbling walls and portals.
As Marbles is meant as a puzzle game you play against a move limit and not a time limit. This way you have as much time as you need to think.
This game needs SDL libraries installed. The object is to use logic to smash the marbles. Run via Menu->Fun->LMarbles, or by typing lmarbles.
Last edited by muggins on Sat 26 Dec 2009, 09:31, edited 3 times in total.

ndujoe1
Posts: 851
Joined: Mon 05 Dec 2005, 01:06

lmarbles

#2 Post by ndujoe1 »

I don't know if it is anything serious, but the Xfprot utility reported the .pet of this game as an archive bomb.

Could this report have been in error?

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#3 Post by muggins »

I had to google to find out what an archive bomb was. I got 847 "hits" for archive bomb, 59500 for lmarbles and 0 for archive bomb & lmarbles.From f-prot's own site:
An archive bomb is a file that is repeatedly compressed. These archives can cause scanners or other programs to crash or hang because of intensive resource consumption during the scanning of hundreds of levels of archives within archives.
I suppose this covers the lmarbles .pet as it has been compressed with upx, then the package itself is an archive. Whether there's any other nasties lurking in the package I don't know. I downloaded it directly from here,

http://lgames.sourceforge.net/index.php ... t=LMarbles

then just compiled it & uploaded. I just played a couple of games & didn't detect anything unusual but....caveat emptor!

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#4 Post by HairyWill »

I've installed the pet and my laptop hasn't exploded yet.

I think the first time I ran it I got an error screen that said I was missing an SDL library (mixer I think). I had a look at my configuration, changed nothing and reran it without error.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#5 Post by muggins »

I think somebody pointed out, some time ago, that f-prot doesn't scan for anything that would be noxious for a linux system, but rather for windows. But as probably most puppists aren't strictly puppy only, ( and even if they were, we wouldn't want to be a "carrier"), I think it's good that you raised your concerns.

anyway, i sent of a query to the lmarbles website to see what they think. But I suspect that it's the case that the scanner, when it can't see inside the archive, plays it safe & declares it noxious. Although I just extracted the archive, to see how many discrete files it contained, and it has 67, which isn't large at all.[/quote]

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#6 Post by GuestToo »

an archive bomb is an email attachment that deliberately is created so that when it is decompressed it decompresses to a very large size ... the idea is to crash the antivirus program running on an email server by causing it to try to allocate more ram than is available

there are some compressed swap files and compressed pup_save files available on some Puppy servers ... for example, http://dotpups.de/files/pup001-differen ... 1MB.gz.zip is an empty 500k pup_save file that will expand to 3 gigs when uncompressed ... if you sent this as an email attachment and if an antivirus program on an email server tried to decompress it to look inside it, the antivirus program would need 3 gigs of free ram to examine the contents of the file

the lmarbles package would be considered an archive bomb by f-prot if it will expand more than a certain amount when decompressed

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#7 Post by muggins »

Thanks for the explanation G2. It seems that f-prot is being cautious as the lmarbles-1.0.7-i486.pet expands from 760k to 1760k.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#8 Post by muggins »

i've re-compiled this program to use .png images, instead of .bmp files. the .pet is 30k smaller & disk space used is of the order of 700k less.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#9 Post by muggins »

Uploaded v1.0.8.

Post Reply