Vice City: Multiplayer

VC:MP Discussion => Support => Topic started by: . on Feb 23, 2017, 03:28 PM

Title: Unable to load .txd file for custom object
Post by: . on Feb 23, 2017, 03:28 PM
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.

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
Title: Re: Unable to load .txd file for custom object
Post by: KAKAN on Feb 23, 2017, 04:06 PM
http://forum.vc-mp.org/?topic=2634.0
That one works fine :D
Title: Re: Unable to load .txd file for custom object
Post by: 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?
Title: Re: Unable to load .txd file for custom object
Post by: KAKAN on Feb 23, 2017, 04:11 PM
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...
Title: Re: Unable to load .txd file for custom object
Post by: jWeb on Feb 23, 2017, 04:13 PM
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.
Title: Re: Unable to load .txd file for custom object
Post by: Eva on Feb 23, 2017, 04:29 PM
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" />

Title: Re: Unable to load .txd file for custom object
Post by: KAKAN on Feb 23, 2017, 04:29 PM
Try this one: It worked for me:-
http://www.mediafire.com/file/zqiy0yksshsn54d/obj_unp.7z
Title: Re: Unable to load .txd file for custom object
Post by: . on Feb 23, 2017, 05:26 PM
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.
Title: Re: Unable to load .txd file for custom object
Post by: . on Feb 23, 2017, 05:36 PM
Anyway, I see my mistake now. I forgot to enable compression on the textures.