It is currently Mon Oct 20, 2014 4:00 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Sprite corruption issue
PostPosted: Sun Mar 20, 2011 1:20 pm 
Offline
 Profile

Joined: Wed Feb 10, 2010 11:18 pm
Posts: 45
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 5 times
Top
 
PostPosted: Sun Mar 20, 2011 5:08 pm 
Offline
User avatar
 Profile

Joined: Wed Jan 09, 2008 7:30 am
Posts: 406
Cheers, I'll look into it. Thanks for your investigation, sounds like a formatting byte is corrupting.


Top
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron