Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Google, Yandex

Members: 0
Guests: 14
Stats
Files
Topics
Posts
Members
Newest Member
481
3,739
19,386
621
KellieBusb
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Smaug Snippets » Overland with Bitmaps
Forum Rules | Mark all | Recent Posts

Overland with Bitmaps
< Newer Topic :: Older Topic > Samson said he wanted this.

Pages:<< prev 1 next >>
Post is unread #1 Jan 31, 2004, 10:02 am
Go to the top of the page
Go to the bottom of the page

Eos

GroupMembers
Posts7
JoinedNov 29, 2002

Here you go Sammy (and anyone else):

http://www.auricmud.com/snippets/overland%20bitmaps.c

Adds support to your mud for the reading/writing of bitmaps in conjunction with the overland code, so you don't have to use RAW files, and can use both.

Enjoy.
       
Post is unread #2 Jan 31, 2004, 2:34 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

Ahh, sweetness. You have no idea how pleased Dwip will be to see this in action. Thanks for that
       
Post is unread #3 Jan 31, 2004, 2:39 pm
Go to the top of the page
Go to the bottom of the page

Eos

GroupMembers
Posts7
JoinedNov 29, 2002

You're welcome. I'm looking into the feasibility of using a compressed image format to save time/space as well, and will post it if I develope one.

Any other wishlist items while I'm working on this?
       
Post is unread #4 Jan 31, 2004, 5:32 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

The only problem I can conceive of with a compressed image reader is that it would requrie tying into image libraries which may not be available on all platforms. The compression would be a godsend, but it would be nice to avoid restricting the target audience too much.
       
Post is unread #5 Feb 1, 2004, 9:23 am
Go to the top of the page
Go to the bottom of the page

Dasickone

GroupMembers
Posts29
JoinedDec 23, 2003

Oh yeah, that snippet owns ass
       
Post is unread #6 Feb 2, 2004, 8:18 pm
Go to the top of the page
Go to the bottom of the page

Eos

GroupMembers
Posts7
JoinedNov 29, 2002

Alright. I've begun work on adding JPG support. After file format comparisions JPG is platform indpendant, and widely enough supported, so it will be my target compressed format.

It'll be a lossless jpg, so that it won't damage any of the info, but since overland uses a very limited pallette of colors and lots of repetition, lossless is perfect.

I should be posting it sometime this week provided my IRL work doesn't distract me too much, otherwise possibly this weekend.

I'll also post it in a new subject to make it easier to find.
       
Post is unread #7 Feb 3, 2004, 2:14 pm
Go to the top of the page
Go to the bottom of the page

Quixadhal
Conjurer
GroupMembers
Posts398
JoinedMar 8, 2005

Awesome!

Jpeg would be good (definatly want to be sure it's lossless though, and that your paint program doesn't convert it to lossy on you!), but PNG would be even better I think. It's also cross-platform, and seems to be a slightly cleaner standard. It's typically what people use when they want the lossless nature of a GIF but don't want the copyright headaches.

       
Post is unread #8 Feb 3, 2004, 5:20 pm
Go to the top of the page
Go to the bottom of the page

Eos

GroupMembers
Posts7
JoinedNov 29, 2002

I'll be comparing gif, jpg, and png. Currently I'm on working jpg though because lossless jpg is supposedly smaller than all the others still, but I'm also interested in using a format that codes the cleanest so noone has to install a 40 mb page module just to save space (irony).
       
Post is unread #9 Feb 3, 2004, 7:10 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

So long as whichever compressed format is chosen can still be edited in Windows Paint ( the default program most people will have ) without losing information I'd be thrilled to death.
       
Post is unread #10 Feb 3, 2004, 7:34 pm
Go to the top of the page
Go to the bottom of the page

Eos

GroupMembers
Posts7
JoinedNov 29, 2002

Actually in researching more closely after that, gif looks the better.
I had originally intended gif but shied away due to licensing issues, but various comparisions of the formats available tend to agree gif is the better choice for what we need.
I'll keep digging and eventually release at least one format possibly more depending on time.
       
Post is unread #11 Feb 4, 2004, 8:39 am
Go to the top of the page
Go to the bottom of the page

Quixadhal
Conjurer
GroupMembers
Posts398
JoinedMar 8, 2005

gif is probably going to have the broadest base of support, as good ole 256 colour gifs are supported by almost everything, even the travesty that is Xpaint.

I think the only people who paid any attention to Unisys when they claimed copyrights were the big companies that got targeted by them. Certainly, there are plenty of gifs still in use on the net these days.
       
Post is unread #12 Oct 2, 2006, 3:27 pm
Go to the top of the page
Go to the bottom of the page

ransom
Fledgling
GroupMembers
Posts22
JoinedSep 7, 2006

Could this be added to the main code base? or is it already?
good excuse for an update I think :devil:
       
Post is unread #13 Oct 2, 2006, 6:51 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

Heh. This topic sort of became a forgotten feature. At least in the public eye. Behind the scenes we've gone ahead and incorporated png support. So now the overland is able to read and write actual editable png files. Yes, even the lowly Windows Paint can edit those. It's going to be in among the many changes and updates for the 2.0 code. When will that be I hear you asking? Maybe sooner than you think - but it isn't ready yet.
       
Pages:<< prev 1 next >>