Marmalade Posted February 17, 2021 Share Posted February 17, 2021 Hello, I'm working on my modded character, and whenever the autocompiler compiles or I use TEXCreator to convert an image to .tex for example the texture of an item or the name of my character, it does not work ingame. Link to comment Share on other sites More sharing options...
Bigfootmech Posted February 18, 2021 Share Posted February 18, 2021 (edited) I'm assuming your .xml file to go with your .tex file isn't valid Try making a .xml file with the same name as your .tex file with the contents: <?xml version="1.0" encoding="utf-8"?> <Atlas> <Texture filename="modicon.tex" /> <Elements> <Element name="modicon.tex" u1="0.001" u2="0.999" v2="0.999" v1="0.001" variant="" /> </Elements> </Atlas> except replace Texture filename, and Element name with your .tex picture name Added brownie points: Make your .tex file's name, .xml file's name, <Texture filename>, and <Element name> all the same thing, all lowercase, and all one word with no special characters. Edited February 18, 2021 by Bigfootmech Link to comment Share on other sites More sharing options...
Marmalade Posted February 20, 2021 Author Share Posted February 20, 2021 When ever I put in the code that you said in the .xml file, and made my .tex file's name, .xml file's name, <Texture filename>, and <Element name> all the same thing, It still doesn't show up in the game. Link to comment Share on other sites More sharing options...
TemporarySolutn Posted February 20, 2021 Share Posted February 20, 2021 8 hours ago, eeerasdxdasfdds said: When ever I put in the code that you said in the .xml file, and made my .tex file's name, .xml file's name, <Texture filename>, and <Element name> all the same thing, It still doesn't show up in the game. Pretty sure the image has to be a power of 2, 256x256 or 512x512 IIRC, the auto compiler or log file (one of the two) usually say like "MODICON.TEX IS NOT A POWER OF 2" (forgive me if I'm wrong) Link to comment Share on other sites More sharing options...
Marmalade Posted February 21, 2021 Author Share Posted February 21, 2021 5 hours ago, JustCrimson said: Pretty sure the image has to be a power of 2, 256x256 or 512x512 IIRC, the auto compiler or log file (one of the two) usually say like "MODICON.TEX IS NOT A POWER OF 2" (forgive me if I'm wrong) The texture I'm working with is a 64x64 item texture. 64 is a power of 2 yet it still doesn't work. Link to comment Share on other sites More sharing options...
TemporarySolutn Posted February 21, 2021 Share Posted February 21, 2021 10 hours ago, eeerasdxdasfdds said: The texture I'm working with is a 64x64 item texture. 64 is a power of 2 yet it still doesn't work. Try looking at this Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now