Unable to load .txd file for custom object

Started by ., Feb 23, 2017, 03:28 PM

Previous topic - Next topic

.

I've been trying to load a simple object in a server but for some reason I can't seem to be able to do it.

Everything I've tried failed.
  • I've used an older and hopefully compatible version of 7zip (9.20)
  • I've kept the texture name legth bellow 8 characters. I think the limit is 20? but I'm not sure.
  • I've made sure the .txd version is meant for vcmp compatibility.
  • And everything you can think of.

But it always fails to load the texture with the error:
Error in RwTexDictionaryStreamRead: #Native texture tag was not found. #1
Error in RwTexDictionaryBufferRead: RwTexDictionary is null.

The example object in question can be obtained here: https://ufile.io/b7f2e
.

KAKAN

oh no


KAKAN

Quote from: jWeb on Feb 23, 2017, 04:10 PM
Quote from: KAKAN on Feb 23, 2017, 04:06 PMhttp://forum.vc-mp.org/?topic=2634.0
That one works fine :D

What does that have to do with this one?
Just saying, that means the TXD he used has a problem with it...
oh no

jWeb

Quote from: KAKAN on Feb 23, 2017, 04:11 PMJust saying, that means the TXD he used has a problem with it...

If he knew that problem already then you wouldn't be seeing this topic here. That's why the topic was created, right? Because there's a problem that he couldn't find.

Eva

im not an expert but i compared your XML info with mine and i see there's a difference.
try to change
<texture path="chselroom.txd" ></texture>
      <collision path="chselroom.col" name="chselroom" ></collision>
      <model path="chselroom.dff" distance="200" ></model>

to this:

<texture path="chselroom.txd" />
      <collision path="chselroom.col" />
      <model path="chselroom.dff" distance="200" />


KAKAN

oh no

.

Quote from: Eva on Feb 23, 2017, 04:29 PMim not an expert but i compared your XML info with mine and i see there's a difference.
try to change
<texture path="chselroom.txd" ></texture>
      <collision path="chselroom.col" name="chselroom" ></collision>
      <model path="chselroom.dff" distance="200" ></model>

to this:

<texture path="chselroom.txd" />
      <collision path="chselroom.col" />
      <model path="chselroom.dff" distance="200" />



That's just a more explicit way of closing a tag. The resulted XML nodes are (should) be exactly the same. The XML syntax is not the issue here. But the game that fails to load the TXD file.
.

.

Anyway, I see my mistake now. I forgot to enable compression on the textures.
.