Jump to content

could not find asset matching bigportraits/[character].tex (help)


Recommended Posts

image.thumb.png.703c197cb90042bd9c71123e69ad86f4.png

I ran into this problem a few days ago and i'm not sure how to fix it. My modmain file looks like this:

image.png.4bbd52b554fa2eacdf282c2f091eed02.png

Inside the .xml files

  • For jock.xml:
<Atlas><Texture filename="jock.tex" /><Elements><Element name="jock_none_oval.tex" u1="0.00048828125" u2="0.54638671875" v1="0.29736328125" v2="0.99951171875" /><Element name="jock_none_oval.tex" u1="0.00048828125" u2="0.54638671875" v1="0.29736328125" v2="0.99951171875" /></Elements></Atlas>

 

  • for jock_none.xml
<Atlas><Texture filename="jock_none.tex" /><Elements><Element name="jock_none_oval.tex" u1="0.0009765625" u2="0.9580078125" v1="0.30908203125" v2="0.99951171875" /></Elements></Atlas>

Is this something wrong with the .xml files or something wrong with the modmain? How do I fix it?

Link to comment
Share on other sites

2 hours ago, Makishim said:

Just character_NONE needs _oval. The simple Bigportrait's character.tex

I fixed that problem, but now as soon as i reach the character select screen, the game completely freezes. Looking at the logs, i see this:

image.png.04bdbb7dbebdb8fb49624d7065bae1b5.png

Oh, i must have missed somethi-

image.png.78c02b642d34937229090e4f6174488c.png

what

Link to comment
Share on other sites

Did u get it work? If not, you're probably missing the names_character. You need compile the xml using:
 

<Atlas><Texture filename="names_character.tex" /><Elements><Element name="names_character.tex" u1="0.00048828125" u2="0.99951171875" v1="0.0009765625" v2="0.9990234375" /></Elements></Atlas>

And after compiling you need change the Element to character.tex, without the names_

Link to comment
Share on other sites

2 hours ago, Makishim said:

<Atlas><Texture filename="names_character.tex" /><Elements><Element name="names_character.tex" u1="0.00048828125" u2="0.99951171875" v1="0.0009765625" v2="0.9990234375" /></Elements></Atlas>

 

 Do i change both xmls to this? What do you mean "names_character"?

I'm pretty sure the bigportraits are fine, but now the game thinks I have a symbol in the wrong place. If you check out the last comment i made, you can see what happened after i fixed the xmls

Link to comment
Share on other sites

21 hours ago, toasterbathbomb said:

 Do i change both xmls to this? What do you mean "names_character"?

Just the <element>. You compile using names_YOURCHARACTERNAME, and after compile you change to YOURCHARACTERNAME.

Link to comment
Share on other sites

1 hour ago, Makishim said:

Just the <element>. You compile using names_YOURCHARACTERNAME, and after compile you change to YOURCHARACTERNAME.

I feel dense. So lemme ask one more time just to clarify

  1. Change the element to "names_character.tex" inside both of the bigportraits xmls
  2. Compile under the name names_jock
  3. Rename the file to jock

Is that it? sorry for being so dense, and for bothering you so much this is my first mod so i'm a little confused on some of this

Link to comment
Share on other sites

2 hours ago, toasterbathbomb said:
  • Change the element to "names_character.tex" inside both of the bigportraits xmls
  • Compile under the name names_jock
  • Rename the file to jock

Oh, forgive me. I wasn't transparent enough.

> You need open the names_character.xml from the image folder.

> Compile using names_jock

> Open the xml and change the <element names_jock.tx to <element jock.tex

> Compile again

Ur mod's crashing when your mouse's over the icon cause he can't read the names_jock.xml

Don't change the xml of bigportrait.

Link to comment
Share on other sites

1 hour ago, Makishim said:

<element names_jock.tx to <element jock.tex

So i get rid of this lil thingy?

image.png.3e7583db4e4a0004cd6be4f1a3e0b7ec.png

This is what my names_jock currently looks like

<Atlas><Texture filename="names_jock.tex" /><Elements><Element name="jock.tex" u1="0.00048828125" u2="0.85498046875" v1="0.1533203125" v2="0.9990234375" /></Elements></Atlas>

i still feel dense i'm so sorry. i just need to ultra clarify things so i don't mess things up beyond fixing

Link to comment
Share on other sites

22 minutes ago, toasterbathbomb said:

This is what my names_jock currently looks like

Change to name="names_jock.tex", compile and change back. If the error still persists, (obviously) this wasn't the solution.

Link to comment
Share on other sites

14 hours ago, Makishim said:

Change to name="names_jock.tex", compile and change back. If the error still persists, (obviously) this wasn't the solution.

Nope, it still freezes. My character's icon doesn't even show up on the select screen. 

The error:

image.png.1df92e99aae8099e007369d120f4d40e.png

and also
image.thumb.png.37c2c09eea050424974b5ae2432b87bc.png

 

Link to comment
Share on other sites

no, he is attempting to print '"' inside description

so proper code is

was :

STRINGS.CHARACTER_QUOTES.JOCK "\"Nice""\

proper:

STRINGS.CHARACTER_QUOTES.JOCK = "\"Nice\""

also your error's background reminds me DST, why your are here? DST is bit different from DS and have more populated forums on this site.

 

for future development i suggest to use editors like notepad+ or Far Commander/Midnight Commander which is have yntax highlighting inside and it's easy to notice such errors.

about portrait error, i am not animator and can only use assets, but i see here problems in your shared files:

<Atlas><Texture filename="jock.tex" />
<Elements>
<Element name="jock_none_oval.tex" u1="0.00048828125" u2="0.54638671875" v1="0.29736328125" v2="0.99951171875" />
<Element name="jock_none_oval.tex" u1="0.00048828125" u2="0.54638671875" v1="0.29736328125" v2="0.99951171875" />
</Elements>
</Atlas>

have no idea why there two similar elements.

For DS i'll do next changes, i have no idea how '_oval' is used in DST

so proper xml:

<Atlas><Texture filename="jock.tex" />
<Elements>
<Element name="jock.tex" u1="0.00048828125" u2="0.54638671875" v1="0.29736328125" v2="0.99951171875" />
</Elements>
</Atlas>

in modmain:

change

    Asset( "IMAGE", "bigportraits/jock_none_oval.tex" ),
    Asset( "ATLAS", "bigportraits/jock_none_oval.xml" ),

to

    Asset( "IMAGE", "bigportraits/jock.tex" ),
    Asset( "ATLAS", "bigportraits/jock.xml" ),

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...