Go Back   Forums > Community Chatterbox > Tech Corner
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 23-05-2009, 02:38 AM   #31
weylin
Forum hobbit

 
Join Date: May 2009
Location: Bullhead City, United States
Posts: 38
Default

How do you have an image larger than 256? xD
weylin is offline                         Send a private message to weylin
Reply With Quote
Old 23-05-2009, 07:42 AM   #32
The Fifth Horseman
FUTURE SCIENCE BASTARD
 
The Fifth Horseman's Avatar


 
Join Date: Oct 2004
Location: Opole, Poland
Posts: 14,276
Default

Each of these values is stored on a "Word" length - ie two bytes - giving you maximum dimensions of 65536x65536 pixels.

Note that the byte order is reverse compared to how you'd convert them, ie if you wanted to write 64FF (25855) as the value, you'd write it as FF 64 .
Offset 08 pairs with 09, 0A with 0B and 42 with 43.

Note that PCX is not the ideal format to convert into - some image data could be distorted if the pixel values match tags used by RLE compression - but it's simple and straight-forward enough to be used for testing.

It's worth noting that with 1 byte per pixel a palletized (but otherwise uncompressed) 320x240 image would occupy over 70 kb. It's very unlikely you'll find sprites anywhere near that size, of course.
__________________

"God. Can't you people see I'm trying to commit a crime against science and nature here?"
-- Reed Richards
The Fifth Horseman is offline                         Send a private message to The Fifth Horseman
Reply With Quote
Old 23-05-2009, 07:58 AM   #33
weylin
Forum hobbit

 
Join Date: May 2009
Location: Bullhead City, United States
Posts: 38
Default

Somehow... this is a jeep

I imagine the weird dealy at the bottom is the pallet for that particular frame...
I could be wrong though.


I *think* I see a possibility of something in that image... I just don't know how I should adjust it...



I'm getting further with this than I thought I would xD being computer illiterate and all :tongue:
weylin is offline                         Send a private message to weylin
Reply With Quote
Old 30-05-2009, 10:58 AM   #34
weylin
Forum hobbit

 
Join Date: May 2009
Location: Bullhead City, United States
Posts: 38
Default

Judging from the picture, would you say they aren't using a compressed format? Just a pallet for each sprite frame?

Got any other image formats worth a look?



One thing I think would be very handy is if a graphic editing program could "push" the pixels sideways to see if they line up at a certain point.

If I knew how, I'd make a program that creates a picture out of raw data.
weylin is offline                         Send a private message to weylin
Reply With Quote
Old 30-05-2009, 12:38 PM   #35
_r.u.s.s.
I'm not Russ
but an ex-alektorophobic
 
_r.u.s.s.'s Avatar


 
Join Date: May 2005
Location: Nitra, Slovakia
Posts: 6,533
Default

i don't think that "pushing" is sufficient

notice that image is made of gray pixels no top while there's some color data on bottom, it's probably more complicated
__________________
_r.u.s.s. is offline                         Send a private message to _r.u.s.s.
Reply With Quote
Old 30-05-2009, 02:14 PM   #36
The Fifth Horseman
FUTURE SCIENCE BASTARD
 
The Fifth Horseman's Avatar


 
Join Date: Oct 2004
Location: Opole, Poland
Posts: 14,276
Default

The most important thing is getting the palette right - then you can experiment with dimensions of the image data to your heart's content.
__________________

"God. Can't you people see I'm trying to commit a crime against science and nature here?"
-- Reed Richards
The Fifth Horseman is offline                         Send a private message to The Fifth Horseman
Reply With Quote
Old 04-06-2009, 08:56 PM   #37
weylin
Forum hobbit

 
Join Date: May 2009
Location: Bullhead City, United States
Posts: 38
Default

I'll leave it up to you, I know nothing of this stuff
weylin is offline                         Send a private message to weylin
Reply With Quote
Old 16-06-2009, 12:31 AM   #38
weylin
Forum hobbit

 
Join Date: May 2009
Location: Bullhead City, United States
Posts: 38
Default

I give up, It's easier just to make my own sprites, these suck anyways.
weylin is offline                         Send a private message to weylin
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dos Box File Extracting Problems discotillyoudie Troubleshooting 6 17-03-2007 04:15 AM
Something Went Wrong In The Extracting Process Brian Troubleshooting 3 13-09-2006 03:08 PM
Self-extracting Archives The Fifth Horseman Old Suggestions 23 03-08-2005 08:54 AM
Opening Or Extracting Bin Files troop18546 Tech Corner 13 29-04-2005 10:02 PM


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 11:40 PM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.