Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari demoscene BBS
 
Re: Multi Palette File format
Posted by: evil Oct,10.2012-16:55 

Great stuff Zerkman :)
Already have Doug Little updated his tool to outmatch my complicated conversion, but here is a second one to do it in just a couple of weeks time :)

However, I think that there's a little bug lurking in the conversion program in RAW mode.

There is no file format explained for RAW, but to my trial and error it looks to be:

208*273 bytes bitmap data for screen 1
96*273 bytes palette data for screen 1
208*273 bytes bitmap data for screen 2
96*273 bytes palette data for screen 2

= 165984 bytes file

All good and dandy so far, it makes sense.

I decided to start out with using a 1:1 copy of your overscan and colour-burst code, to make sure there are no timings wrong. All is fine, borders opened and colours are spanking the poor shifter.

However, the colours are wrong :) The red channel seems to be missing almost entierly and the green/blue ones doesn't seem to match with 0-15 values either, or perhaps the lack of red make them look strange too.


Here is the RAW picture with your code in my demosystem:
http://ae.dhs.nu/pics/tiger_raw1.png

Here's the same image with MPP and your viewer program:
http://ae.dhs.nu/pics/tiger_mpp.png

And the original:
http://ae.dhs.nu/pics/tiger.png


Colour data from the leftmost st scanline 0:
<code>
004A 0001 005B 0050 005A 0009 0051 0052
0053 0049 0098 0090 00A4 0092 00E2 009A
0048 0052 0099 004A 0050 012C 0051 0091
</code>

Colour data from the leftmost at scanline 135 (mid picture):
<code>
015A 01A2 00C8 01A3 0111 01EB 0088 0040
0159 01AB 01EB 01A2 012C 0049 0088 00D1
0159 0040 016D 00DB 01B6 01FF 0092 0000
</code>

At scanline 136, there should be an orange colour for the tigers fur. But the red component seems to stay at 1 and not go past it.

I use bmp2mpp like this:

bmp2mpp -9 --mode=3 --double --raw filename.bmp filename.bin


I'm very, very bad at reading C, even worse at writing it, so any chance you could have a look to see if the RAW palette mode is hiding a bug?

Thank you,

--
Anders Eriksson
ae@dhs.nu








[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
Multi Palette File format zerkman Oct,09.2012-00:58
  Re: Multi Palette File format Jace Oct,09.2012-06:15
  Re: Multi Palette File format ggn Oct,09.2012-19:54
  Re: Multi Palette File format evil Oct,10.2012-16:55
    Re: Multi Palette File format zerkman Oct,10.2012-21:53
      Re: Multi Palette File format baah Oct,10.2012-23:07
        Re: Multi Palette File format Jace Oct,11.2012-08:58
        Re: Multi Palette File format nativ Oct,11.2012-20:33
          Re: Multi Palette File format Cyg Oct,12.2012-13:12
            Re: Multi Palette File format nativ Oct,12.2012-15:08
            Re: Multi Palette File format zerkman Oct,13.2012-09:00
      Re: Multi Palette File format evil Oct,11.2012-15:29
        Re: Multi Palette File format zerkman Oct,11.2012-16:57
          Re: Multi Palette File format evil Oct,11.2012-18:41
            Re: Multi Palette File format s_t_s Oct,14.2012-15:58
  Re: Multi Palette File format Petari Dec,07.2012-15:40


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson