User avatar
dalek
Australia

Posted Tue Aug 11, 2020 4:47 pm

The issue here is that in copying the file from Amiga to DOS there was a CRLF conversion. I ran the image through 'dos2unix -f' on my linux box and it's all good :)
Medievil.png
Medievil-fixed.zip
(38.6 KiB)

User avatar
BatteMan
France

Posted Tue Aug 11, 2020 10:19 pm

Well done dalek!

Only AmigaLove Makes It Possible! 😉

User avatar
wubao

Posted Wed Aug 12, 2020 1:09 am

Wow, you are a genius!!! I love you guys, that made my year!!! If you want a contribution to come your way just add your email and I will contribute to your PayPal or any other method. Thanks.

User avatar
dalek
Australia

Posted Wed Aug 12, 2020 1:32 am

Nah all good - just glad you're happy and got it back :)

User avatar
intric8
Seattle, WA, USA

Posted Wed Aug 12, 2020 9:04 am

Great work Dalek - so glad you figured it out!

@wubao
That's pretty impressive work for a child. Do you recall the year you made the image, and how old you were? Was it in Deluxe Paint or a different program?

User avatar
BloodyCactus
Lexington VA

Posted Thu Aug 13, 2020 9:50 am

I think its corrupted. I walked it;

Code: Select all

Chunk 464F524D : FORM : 49628 TYPE=ILBM
  Chunk 424D4844 : BMHD : 20
  Chunk 434D4150 : CMAP : 96
  Chunk 44505053 : DPPS : 110
  Chunk 43524E47 : CRNG : 8
  Chunk 1F43524E : CRN : 1191182336
Looking at it, the chunks after the first CRNG are not word aligned (spec says they must be word aligned). You can see the chunks in the file.

I re-aligned the chunks;

Code: Select all

Chunk 464F524D : FORM : 49624 TYPE=ILBM
  Chunk 424D4844 : BMHD : 20
  Chunk 434D4150 : CMAP : 96
  Chunk 44505053 : DPPS : 110
  Chunk 43524E47 : CRNG : 8
  Chunk 43524E47 : CRNG : 8
  Chunk 43524E47 : CRNG : 8
  Chunk 43524E47 : CRNG : 8
  Chunk 43524E47 : CRNG : 8
  Chunk 43524E47 : CRNG : 8
  Chunk 43414D47 : CAMG : 4
  Chunk 424F4459 : BODY : 49448
  Chunk 464F524D : FORM : 9004 TYPE=ILBM
    Chunk 414E4844 : ANHD : 40
    Chunk 444C5441 : DLTA : 9002
    Chunk 464F524D : FORM : 124 TYPE=ILBM
      Chunk 414E4844 : ANHD : 40
      Chunk 444C5441 : DLTA : 64
    Chunk 464F524D : FORM : 124 TYPE=ILBM
      Chunk 414E4844 : ANHD : 40
      Chunk 444C5441 : DLTA : 64
and it loads as garbage. so def corrupt somewhere (and my chunk re-aligning may not have helped).


note after seeing the post above about dos crlf.. yes. the first CRNG block has 0x0d 0x0a in it. sometimes... its easier than you realise lol!





Return to “Software”