Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 27 Jun 2017, 15:22
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
lmarbles: SDL based marble game
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
muggins

Joined: 20 Jan 2006
Posts: 6721
Location: hobart

PostPosted: Fri 29 Jun 2007, 08:58    Post subject:  lmarbles: SDL based marble game  

http://lgames.sourceforge.net/index.php?project=LMarbles



Quote:
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, 05:31; edited 3 times in total
Back to top
View user's profile Send private message 
ndujoe1

Joined: 04 Dec 2005
Posts: 762

PostPosted: Sun 01 Jul 2007, 07:16    Post subject: lmarbles  

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?
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6721
Location: hobart

PostPosted: Sun 01 Jul 2007, 07:54    Post subject:  

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:
Quote:
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?project=LMarbles

then just compiled it & uploaded. I just played a couple of games & didn't detect anything unusual but....caveat emptor!
Back to top
View user's profile Send private message 
HairyWill


Joined: 26 May 2006
Posts: 2946
Location: Southampton, UK

PostPosted: Sun 01 Jul 2007, 08:07    Post subject:  

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: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6721
Location: hobart

PostPosted: Sun 01 Jul 2007, 08:27    Post subject:  

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]
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sun 01 Jul 2007, 11:04    Post subject:  

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-different-sizes/pup001-2851MB.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
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6721
Location: hobart

PostPosted: Mon 02 Jul 2007, 00:51    Post subject:  

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.
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6721
Location: hobart

PostPosted: Wed 15 Aug 2007, 07:20    Post subject:  

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.
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6721
Location: hobart

PostPosted: Sat 26 Dec 2009, 05:32    Post subject:  

Uploaded v1.0.8.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0413s ][ Queries: 13 (0.0045s) ][ GZIP on ]