|
Development Forum |
 |
| Sprite error is the bane of my breed | |
|  Prodigal Sock
Ghosthande
    

|
8/27/2012 | |
I'm trying to get the Dustdevil Grendels done for the CCSF. I have everything finished, all the sprites, the ATTs, the agents that come with the breed pack. Except the adult head sprites crash the game. I know it's the adult head sprites specifically because the Grendels are fine until adulthood, and if I use heads from another breed I have zero problems.
The female gives me this error:
MemoryMappedFile::Open
Memory mapped file error
Access is denied.
Windows NT/2000 6.0 build 6002 (Service Pack 2)
OriginalDisplay DirectX (netbabel 148)
Mon Aug 27 22:07:02 2012 - ----- - 2.286 b189
And the male gives me this one:
CSE0001: Caught C-style structured exception at 0x0047ABF7
EXCEPTION_ACCESS_VIOLATION
The thread attempted to read from or write to a virtual address for which it does not have the appropriate access.
Attempt was to write to address 0x09CB0000
Contained in: "public: virtual unsigned long __thiscall CompressedBitmap::SaveData(class MemoryMappedFile & " in CompressedBitmap.obj
Contained in: "private: void __thiscall CreatureGallery: art3CreatureBuilder(class Gallery * const,unsigned long)" in CreatureGallery.obj
Contained in: "public: class Gallery * __thiscall CreatureGallery::AddCompressedCreature(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,unsigned long,unsigned long,unsigned char,unsigned char,long * const,class Gallery * const,long)" in CreatureGallery.obj
Contained in: "public: class Gallery * __thiscall SharedGallery::CreateGallery(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,unsigned long,unsigned long,unsigned char,unsigned char,long * const,class CreatureGallery *,class Gallery * const,long,bool)" in SharedGallery.obj
I've tried everything I can think of that might help. I tried making the sprites grayscale to see if the number of colors was the issue, cropping them down so they were smaller, saving them as BMP's, not saving them as BMP's, importing them as a sprite sheet or pasting them in one frame at a time. I even double-checked to make sure the dimensions were identical for all of them (they are).
I don't think the filesize is an issue, because they have a smaller filesize than the Gecko Norns, which do work in my game. But the DDG's still crash. I have until November to make them work--I just can't think of anything else to try. 
 |

sam999
  

|
8/28/2012 | |
O.K. here's my uninformed take on a few ideas. Since I'm not much of a coder I have no idea if any of these will work but you didn't say you'd done anything like them.
1. Try switching the breed slot from grendel X to something else.
2. Try PMing or E-mailing the sprites to one of the CC's other spriting experts with a request to see if they can make sense of them.
3. Try saving the sprites as PNG or JPG files, then re-saving them as .c16 files.
4. Manually install the sprite files in the "images" folder rather than having the eggagent do it. Plenty of breeds do that.
Good luck. |

Liam
  

|
8/28/2012 | |
Sam... I'm just. I have no words. Please don't post when you don't know what you're talking about.
- Liam / K'aeloree
Spellhold Studios, a Baldur's Gate II, Neverwinter Nights and Oblivion Modding Community |
 Tea Queen
Laura
    

|
8/28/2012 | |
There's no need for that, Liam. At least sam999's trying to come up with ideas. |

sam999
  

|
8/28/2012 | |
The reasons why I thought my ideas might be helpful are as follows.
1. Seemed a simple-to-do but major change to the breed, which might at least have some effect.
2. Someone else might see something Ghosthande had missed by mistake. Worth a try.
3. Assuming the problem is with the sprites themselves, then this would mean Ghosthande could get a look at them.
4. Generally when my game won't let me do something, it's due to the images having unzipped into the wrong folder. See what happens with Akatora Norn males if you don't install the extra male .att files for an example.
I am sorry if I offended you Liam. |

Moe
  

|
8/28/2012 | |
Perhaps it's not a problem with the sprites, but the adult ATT's? |

sam999
  

|
8/28/2012 | |
Well testing that would be pretty easy, just manually place all the files in their folders rather than having the agent unzip itself.
Again, sorry Liam. I'm just trying to be helpful. |
 Prodigal Sock
Ghosthande
    

|
8/28/2012 | |
There isn't any egg agent Sam, because the breed is unfinished. I didn't try saving as JPG or PNG because SpriteBuilder only imports BMP's, so saving them as anything else would only be a waste of disk space. And this thread was intended to gain the attention of CC's spriting experts--if someone wants to take a closer look they're welcome to.
I am using custom ATTs now to compensate for the extra space I cropped off (I had a hunch the filesize might be too big, but that wasn't the case), but I was originally using ATTs copied and renamed from the Banshee Grendels, and still received the same error.
 |

sam999
  

|
8/28/2012 | |
In that case, short of manually placing the sprites in the image folder I have no ideas. Sorry. |

Moe
  

|
8/28/2012 | |
Are the sprite lengths and widths significantly different from standard breeds? Sometimes I noticed that larger breeds would crash the game if certain body parts fell outside of cabins or room limits. Given that the problem occurs in adulthood, it's seems likely that it's a size issue (not file size, but sprite dimensions), and serious exceptions like that I've noticed occur when something goes terribly wrong with the creatures, such as their position in space. For instance, I think I moved a norn outside of the map before and got such an error.
Is there anything else about the adult frames that is markedly different from the other life stages? New hair puffs, extra long tails, spines? Anything that could be the culprit? Something that could push the norn outside of the map boundaries, or might point to some other cause? |
 Prodigal Sock
Ghosthande
    

|
8/28/2012 | |
Actually the head sprites are smaller, basic dimension wise--I started with 130x130, which is how big the Banshee sprites are, but I later trimmed them to see if it would help if they were smaller.
When not counting the empty "buffer space", they're close to the dimensions of the Banshee Grendel heads. The male does have a mohawk--it adds 20 extra pixels in side view or less (depending on exact angle), and 10 px above the head. But the female head isn't any bigger than the Banshee female head--no fluffy hair--so if the mohawk were a problem, wouldn't it only affect the male DDG's? 
I receive the error the second they hit adulthood--so I feel pretty confident in saying that it's not a matter of being in a vehicle, or standing next to a wall, or in a low corridor. They can be in the middle of the Ettin Desert and still have this happen. I started with Banshee sprites and basically pasted over them with my sprites, so with the exception of the male's hair all the sprite dimensions are the same, give or take two or three pixels tops. The ATTs are also the same as the Banshee Grendels (again, except for the modified adult heads).
 |

sam999
  

|
8/28/2012 | |
How about just using slightly enlarged versions of the youth head sprites? On the scale of which creatures shows grendels it seems like it wouldn't be noticeable. |

AquaShee
   
|
8/29/2012 | |
Seems like the game can't access the image file for some reason. Which is odd, since that means it's either missing or corrupted but you said yourself you keep replacing the image.
Is it possible the game is referencing a sprite file in the Gallery instead? I know the game makes a copy of tinted sprites and saves it in the folder structure of that world, so perhaps it did the same for the Grendels and keeps referencing the broken file instead of the new one? A new world would solve that, but it's just a guess.
The Community Scribble: make (y)our own metaroom! |
 Prodigal Sock
Ghosthande
    

|
8/29/2012 | |
Yeah I don't know why it wouldn't be able to find them... they're definitely there. 
I create new worlds frequently when I make a new breed, because I've had problems with it not updating stuff properly (eg. ATT edits, green spew) in the past. I've gone through maybe six now? Don't think that could be it unfortunately... good guess though. 
 |

Malkin
     Manager

|
8/29/2012 | |
I've seen this error referenced when people are installing new stuff - the recommendation there was to reinstall DS. I don't know what's going on, but perhaps that's the kind of clean break you need?
My TCR Norns |

sam999
  

|
8/31/2012 | |
My attempt at listing possible solutions - and what happened with them.
1. My ideas in the second post of the thread - all failed or just wouldn't have worked in the first place.
2. Manually posting the files - pointless as without an egg-agent that was what had been going on anyway.
3. ATTs - to tell the truth I really have no idea about this, only that it seemed to not have worked.
4. Spiky DDG heads - apparently only the male DDG is spiky and females don't work either so it can't be that.
5. Enlarged youth sprites used instead of adult head sprites - unknown.
6. Making a new world - tried and failed.
7. Re-installing C3DS from disc - unknown, but I'd recommend doing so if you haven't already.
Good luck on the DDGs! |

sam999
  

|
9/6/2012 | |
Sorry to bump the thread, but I had a few more questions.
1. Have the DDGs been fixed yet? Any luck? I'm really looking forward to these guys come CCSF assuming they work by then. And driving myself crazy trying to figure out what their agent-pack might have.
2. Can I mention DDGs in a fanfic I'm thinking about for the CCSF? If not it would be a tiny change to what I had in mind to make the grendel a mutated banshee or maybe a C2 bony grendel. |

silvak
  

|
9/20/2012 | |
Is it both genders or just one when they are adults?
Whenever I have issues with breed sprites crashing, there is one or more sprites that are too close to the edge of their sprite file. But it sounds like you've already discounted that.
If you do need to re-install DS, letting someone else install the breed and see if they get the problem too would see if that was really the problem. Then you can re-install DS and be on your way. But if it's not, then you are saving yourself an install.
www.CrazyShee.com - Updated: Daily!
Lost Content, help find it a home! |

sam999
  

|
9/20/2012 | |
I'm kind of confused by that comment, since nobody besides Ghosthande and maybe a few beta testers have the DDGs so how can they reinstall them....
....oh. 
You meant to suggest to Ghosthande sending out the present DDGs to other Creatures players, have them install the DDGs, and see if this fixes the problem? If so, then a re-install would be a fix for your problems and if they don't work on a different computer than reinstalling isn't the answer. Seems like a good idea to me.
Also silvak, both genders crash upon hitting adulthood but they each have different error messages. |

silvak
  

|
9/21/2012 | |
Thanks sam for translating that for me........re-reading that post I wonder what was going on with my basic language skills.
www.CrazyShee.com - Updated: Daily!
Lost Content, help find it a home! |
|