Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
eLVL and 24bit bitmaps?

 
Post new topic   Reply to topic Printable version
 View previous topic  A hidden bug in my module Post :: Post How to make server check spec coordina...  View next topic  
Author Message
Samapico
No, these DO NOT look like penises, ok?


Joined: May 08 2003
Posts: 1252
Offline

PostPosted: Tue Nov 21, 2006 6:05 pm    Post subject: eLVL and 24bit bitmaps? Reply to topic Reply with quote

when saving a eLVL map... the bitmap header bfReserved1 field needs to be set to the location of the first byte of eLVL data, which is right after the bitmap...
bfReserved1 is an unsigned 16bit value (max. ~65000) ; for 8 bit tilesets there's no problem (it will be set to 49720) ; but for 24bit tilesets, it would mean we need to set that value to something like 145000, which is impossible.

Does that mean it is impossible to support eLVL AND 24bit tilesets at once? Or did I just miss something ô.o
_________________
(Insert a bunch of dead links here)
Back to top
View users profile Send private message Add User to Ignore List
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Tue Nov 21, 2006 6:42 pm    Post subject: Reply to topic Reply with quote

I also noticed this a few weeks ago and it's an oversight. Hopefully grelminar will say something official and adjust the format while bak is still around to maintain clt (obviously you are still here to adjust dcme accordingly). It would probably also require a new server release as well.

You could also store the tileset in a special chunk, but obviously cont doesn't support that yet.
_________________
ss news
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Samapico
No, these DO NOT look like penises, ok?


Joined: May 08 2003
Posts: 1252
Offline

PostPosted: Wed Nov 22, 2006 6:52 pm    Post subject: Reply to topic Reply with quote

Is Grelminar aware of this? Does he read these forums often?
Back to top
View users profile Send private message Add User to Ignore List
BDwinsAlt
Agurus's Posse


Age:34
Gender:Gender:Male
Joined: Jun 16 2003
Posts: 1145
Location: Alabama
Offline

PostPosted: Wed Nov 22, 2006 8:29 pm    Post subject: Reply to topic Reply with quote

He reads it every now and then. Send him a pm to read this topic.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Wed Nov 22, 2006 10:16 pm    Post subject: Reply to topic Reply with quote

Or better yet, file a bug report so he can track it.
Back to top
View users profile Send private message Add User to Ignore List Send email
Samapico.
Guest


Offline

PostPosted: Mon Nov 27, 2006 10:32 pm    Post subject: Reply to topic Reply with quote

pm'ed and reported a bug in that place...

What does CLT do with 24bit tilesets? shrink 'em to 8bit? ô.o

arr... too lazy to login
Back to top
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Mon Nov 27, 2006 10:59 pm    Post subject: Reply to topic Reply with quote

yeah, I had 24-bit bitmap support in before but took it out.
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Sun Dec 10, 2006 5:59 pm    Post subject: Reply to topic Reply with quote

I never realized tileset bitmaps could be 24 bits :)

Anyway, the fix seems pretty simple: let's use both reserved fields for the offset of the metadata, which gives 32 bits, which is more than enough. Because the second reserved field follows the first, and all of this is little-endian, it should be as easy as getting rid of the second field and making the first 32 bits, and it'll be fully backwards compatible.

Any objections or comments?
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sun Dec 10, 2006 7:06 pm    Post subject: Reply to topic Reply with quote

Comments? Yeah I thought you were never coming back you've been gone a long time icon_sad.gif
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Samapico
No, these DO NOT look like penises, ok?


Joined: May 08 2003
Posts: 1252
Offline

PostPosted: Mon Dec 11, 2006 11:31 am    Post subject: Reply to topic Reply with quote

That's what I was thinking. But me thinking it isn't enough unfortunatly, because the ASSS server needs to be fixed that way as well tongue.gif

Next version of DCME will be released for supporting that icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Sat Dec 16, 2006 1:18 am    Post subject: Reply to topic Reply with quote

Three weeks? That's not so long. If I ever "leave" I'll let you know. But I'm not even sure what that means, since I'm not "here".

I went on vacation, and when I got back I decided not to turn on my computer for a while. I'm still around, just checking in less often.

Though, to be honest I haven't spent significant time on SS stuff in a while. That's one reason I want to give more people write access to the mtn server, so I'm not a bottleneck for getting fixes like this committed. But nobody seems to want it...
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
KrynetiX
Seasoned Helper


Gender:Gender:Male
Joined: Jan 06 2003
Posts: 137
Location: Poconos
Offline

PostPosted: Mon Dec 18, 2006 2:01 am    Post subject: Reply to topic Reply with quote

I can completely understand putting LIFE before AS3 icon_smile.gif
I assume you would work on some things if you had some sweet ideas, but, it seems nobody has even tweaked their AS3 zone's to it's fullest potential yet so there is really no reason to update, only thing to keep up to date on are bugs and I haven't seen any of those yet..
You did a great job by creating a new server with awesome features and yeah, open source, you did enough work to retire buddy icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Mon Dec 18, 2006 11:28 am    Post subject: Reply to topic Reply with quote

No project is ever finished. No developer may ever retire.
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can 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 can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 322 page(s) served in previous 5 minutes.

phpBB Created this page in 0.493854 seconds : 37 queries executed (87.6%): GZIP compression disabled