Game Development Community

Imagemaps/Sprites GONE!

by Romulo Diniz Filippini · in Torque Game Builder · 06/18/2011 (9:34 pm) · 6 replies

Hi,

It's been a while since I asked for help here, and by the way my project is going well and is near conclusion, but now this...

I was trying to add a new imagemap when it crashed, it was the old error regarding to the size in pixels of the image, nothing new there, got a lot of these before. But after the crash, when I opened my project again, all sprites where gone!

Going to ...game\managed\datablocks.cs proved that all imagemaps where deleted after the crash:

$managedDatablockSet = new SimSet() {
   canSaveDynamicFields = "1";
      setType = "Datablocks";
};

That's all that was left after the error.

But why can't I re-add all the sprites/imagemaps again in my project? Trying to add then fails, like they are already there, when they aren't.

Please, I need help!

#1
06/18/2011 (10:30 pm)
The reason they are failing the process of adding them again is due to the assets already existing in the game/data/images directory. What you need to do is move the files out of that data folder, then add the images again. This will get the imageMaps working again.
#2
06/24/2011 (12:01 pm)
I managed to Add the images back following your advice Michael, but after closing and opening Torque, the images are gone once again!.

What the hell is going on? I'll end up losing my entire project, the last work to finish college =[.

Please, help me!
#3
06/27/2011 (6:16 pm)
No one has a clue about this issue?!

It's a matter of life or death!

Please if anyone have any idea help me in this.
#4
06/28/2011 (6:49 am)
Make sure that builder actually can write to managed/datablocks.cs . That file could get corrupted when builder crashed, which may prevent it from being properly loaded or saved. Or you may have set it to write-protected and forget. My telepathic abilities are weaker this time of the year, so I'm just guessing here, heh.

Regularly do backups for everything you life depends on.
#5
06/28/2011 (7:05 am)
@Romulo - When you have added your images and saved your level, look at the datablocks.cs file. Do they exist? If so, copy and back up the file. Close the editor and check to see if they were erased. If so, you have discovered a bug no one else has.

Can you provide your system specs, OS, and version of TGB you are using?
#6
06/28/2011 (6:06 pm)
Following Rpahut advice led me to the problem. I'm brazilian. No, that is not the problem itself! Just kind of. A datablocks.cs with characters like ~ or ´ is not readed by torque, so latin symbols were the problem this time...

Thank you guys for all the help, now I can sleep at night and graduate =D