www.retrosoftware.co.uk
http://www.retrosoftware.co.uk/forum/

Sprite corruption issue
http://www.retrosoftware.co.uk/forum/viewtopic.php?f=16&t=600
Page 1 of 1

Author:  JoolsH [ Sun Mar 20, 2011 1:20 pm ]
Post subject:  Sprite corruption issue

Hi,

I'm having a little issue with Swift where my graphics files are getting corrupted after editing them...

- Load sprites.bin into sprites editor (Swift 4.2.4)
- Change something
- Save it
- Reload it again... get the following message popup
"Sprite Corruption, Sprite 0 does not end at the start of the next sprite"
and "This does not appear to be valid sprite data" appears in the sprite editor.

I tried making a change, reversing it, and saving the file; then compared the original and corrupted versions in a hex editor. The corrupted ones can be fixed by changing the second byte in the file from "00" to "20" hex.

I've attached the sprites.bin file I'm loading in, and the resulting corrupt file when you save it again.

Attachments:
sprites-corruption_issue.zip [610 Bytes]
Downloaded 6 times

Author:  SteveO [ Sun Mar 20, 2011 5:08 pm ]
Post subject:  Re: Sprite corruption issue

Cheers, I'll look into it. Thanks for your investigation, sounds like a formatting byte is corrupting.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/