Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: umar4911 on Dec 15, 2018, 05:53 PM

Title: objects.xml error
Post by: umar4911 on Dec 15, 2018, 05:53 PM
My custom map was not loading. I debugged and found out that it "failed to load textures".
How to fix it. I have all the images which I formed in txd
Title: Re: objects.xml error
Post by: umar4911 on Dec 17, 2018, 01:54 PM
Bump
Title: Re: objects.xml error
Post by: Xenon on Dec 17, 2018, 05:06 PM
Theres list with some points what can be wrong:
   • Bad TXD version. Use eg. 3.1.0.0, 3.1.0.1, 3.3.0.2 or 3.4.0.3;
   • Corrupted TXD archive. Try to repack all textures;
   • Bad texture compression. Try use DXT3/4/5 for transparent textures and DXT1 for non-transparent;
   • Texture resolution are too big;
   • Too much files in one archive;
   • Missing file or texture;
   • Server don't have permissions to read this file.

You have not attached too much informations and you didn't send any files so we can't say what's exactly wrong.
Title: Re: objects.xml error
Post by: umar4911 on Dec 18, 2018, 10:03 AM
When I used debug mode ingame, it shows error:
[FILES] Callback failed to process 'cs_estate.txd' data.
[CUSTOMOBJ] Failed to load texture file 'cs_estate.txd'.

In debuglog.txt file, it shows:
Error in RwTexDictionaryStreamRead: #Native texture tag was not found. #1
Error in RwTexDictionaryBufferRead: RwTexDictionary is null.

@Xenon
Title: Re: objects.xml error
Post by: NicusorN5 on Dec 18, 2018, 01:08 PM
Give us the cs_estate.txd file. If it is missing, create a blank file using TXD Bulider or TXD Workshop.
Title: Re: objects.xml error
Post by: umar4911 on Dec 18, 2018, 01:38 PM
Quote from: Athanatos on Dec 18, 2018, 01:08 PMGive us the cs_estate.txd file. If it is missing, create a blank file using TXD Bulider or TXD Workshop.
I made it manually using txd workshop and compressed those to DXT3 and I am using latest txd workshop