1.3.1 - Invalid datablocks, even though I put them in the level datablocks file.
by Ricky Hopper · in iTorque 2D · 03/15/2010 (7:36 pm) · 10 replies
Hey,
I just started using iT2D 1.3.1 (late adopter, I know), and when i exited and reopened the project, I got this message:
"Invalid Project Data
This project contains 3 invalid datablocks. This is likely because a referenced image file was deleted from the project directory. The invalid datablocks are:
<my 3 datablocks>"
What's going on? I added them to emptyLevel_datablocks.cs, it should be working fine.
I just started using iT2D 1.3.1 (late adopter, I know), and when i exited and reopened the project, I got this message:
"Invalid Project Data
This project contains 3 invalid datablocks. This is likely because a referenced image file was deleted from the project directory. The invalid datablocks are:
<my 3 datablocks>"
What's going on? I added them to emptyLevel_datablocks.cs, it should be working fine.
#2
03/15/2010 (7:46 pm)
I have checked, though, and they are most definitely there. And the datablock references the correct path.
#3
03/15/2010 (11:36 pm)
and you added the datablocks also to the global datablock file? (thats the one used in the editor, the editor does not use the per-level datablock files)
#4
03/16/2010 (2:38 am)
yes, the editor added those in there on its own. The path it uses is "~/data/images/<filename>" if that helps (which I'm pretty sure is completely fine).
#5
03/16/2010 (5:00 pm)
Also, it opens projects with the 1.2 folder structure just fine. It's the new folder structure it won't do, which is weird, since it does create it...
#6
and the image uses a supported format? (with 1.3 some of the useless formats were kicked along with the 3d shapes)
03/16/2010 (5:40 pm)
filename with or without extension?and the image uses a supported format? (with 1.3 some of the useless formats were kicked along with the 3d shapes)
#7
And I just discovered that if I open the project from Finder instead of TGB, it works just fine... hm. I guess I'll just do that, unless there's some other random fix.
03/16/2010 (5:42 pm)
With, and they're .pngs, which are still a valid format.And I just discovered that if I open the project from Finder instead of TGB, it works just fine... hm. I guess I'll just do that, unless there's some other random fix.
#8
sounds very strange ... chances are high that the project file in finder is bound to TGB 1.7.4
03/16/2010 (6:46 pm)
are you sure you use the right T2Di editor?sounds very strange ... chances are high that the project file in finder is bound to TGB 1.7.4
#9
03/16/2010 (6:52 pm)
that's entirely possible, I do have both 1.2 and 1.3.1 on my computer. Either way, thanks for the help! Considering this solved now.
#10
I was using Torsion and it turned out Torsion wasn't able to save changes I was making to the level datablocks file. Torsion was still showing the files as being edited, though. It wasn't until I looked at the files directly in Notepad that I saw Torsion wasn't able to save.
To fix the problem, I had to uninstall and reinstall Torsion, and then run it as an administrator. So if anyone else has a similar problem, look at the level's datablocks file directly (rather than in an editor) to make sure your changes are being saved.
11/19/2010 (5:59 pm)
In case anyone else runs into this, I had the exact same problem and here is how I fixed it.I was using Torsion and it turned out Torsion wasn't able to save changes I was making to the level datablocks file. Torsion was still showing the files as being edited, though. It wasn't until I looked at the files directly in Notepad that I saw Torsion wasn't able to save.
To fix the problem, I had to uninstall and reinstall Torsion, and then run it as an administrator. So if anyone else has a similar problem, look at the level's datablocks file directly (rather than in an editor) to make sure your changes are being saved.
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft
the error there indicates that you have datablocks that reference media thats not even present in the project