Open GoogleCodeExporter opened 9 years ago
I think it is because you do not have the VisualC++ runtime libraries installed
(which you can download here:
http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D
-074B9F2BC1BF&displaylang=en
), as it seems the connection to the Lua library cannot be made (which is
necessary
for NCGR and NCBR files).
There is a notice about this on the main page, but I admit it isn't very
eye-catching.
Original comment by barubary
on 9 Jan 2010 at 8:26
I had already seen that notice, but I was pretty sure that I had already
installed
those libraries... I just reinstalled them, but nothing... I also tried
rebooting the
system, but it shows the same problem.
Original comment by francesc...@gmail.com
on 9 Jan 2010 at 8:41
It's a brute method, but in the end I solved erasing the headers of the NCGR
files
with an hex editor. And now they open. The data is a little more messy, but it
only
needs a little pixel skip.
Still, don't know why, the real problem remains.
Original comment by francesc...@gmail.com
on 10 Jan 2010 at 4:21
While I try to figure out why this is happening, you can use the built-in
methods for
loading a NCGR file instead. Do this by editing Plugins.xml, and changing this:
<Binding type="GRAPHICS" enabled="0">
<Name>NCGR and NCBR Files</Name>
<FilterSet method="AND">
<Filter type="MAGIC">RGCN</Filter>
</FilterSet>
<Target type="METHOD">loadFileAsNCGR</Target>
</Binding>
<Binding type="GRAPHICS" enabled="1">
<Name>NCGR and NCBR Files (Lua version)</Name>
<FilterSet method="AND">
<Filter type="MAGIC">RGCN</Filter>
</FilterSet>
<Target type="LUA">Graphics_NCGR.lua</Target>
</Binding>
into this:
<Binding type="GRAPHICS" enabled="1">
<Name>NCGR and NCBR Files</Name>
<FilterSet method="AND">
<Filter type="MAGIC">RGCN</Filter>
</FilterSet>
<Target type="METHOD">loadFileAsNCGR</Target>
</Binding>
<Binding type="GRAPHICS" enabled="0">
<Name>NCGR and NCBR Files (Lua version)</Name>
<FilterSet method="AND">
<Filter type="MAGIC">RGCN</Filter>
</FilterSet>
<Target type="LUA">Graphics_NCGR.lua</Target>
</Binding>
(flipping the enabled="0" to enabled="1" and vice-versa)
That part of the file starts at line 17.
Original comment by barubary
on 10 Jan 2010 at 10:33
Hey, now it's working fine! Thank you very much!!
Original comment by francesc...@gmail.com
on 11 Jan 2010 at 11:26
Do you still have this problem (if you revert the above changes to
Bindings.xml)?
If so, do you have the files lua51.dll and LuaInterface.dll in the same
directory as TiledGGD.exe? I'm afraid that's the only solution I can come up
with at the moment =/
Original comment by barubary
on 3 Jul 2010 at 4:19
Well, I didn't try reverting the changes... ><
But it works perfectly (and yes, lua51 and LuaInterface are all in the
directory of TGGD), so I don't think it should be a problem leaving them.
Original comment by francesc...@gmail.com
on 3 Jul 2010 at 8:48
That's because of 32bit/64bit/ALL flag miss-match on LuaInterface.dll (32bit)
and TiledGGD.exe (ALL). Or something like that. Both files were compiled with
different settings. When I changed that flag on TiledGGD.exe to 32bit, this
error was gone.
If I remember right, I've run it like this:
corflags.exe /32BIT+ TiledGGD.exe.
I hope it helps.
Original comment by ArakirSi...@gmail.com
on 30 May 2012 at 11:42
Original issue reported on code.google.com by
francesc...@gmail.com
on 9 Jan 2010 at 7:38