Jump to content

Recommended Posts

After following the sample extended character template, everything seemed to be going swell until character selection.

I dont know if anyone else had this issue before, but it comes out like this on the menu; https://gyazo.com/708f665db7c2c6cd21db6f1cc0c9766c

If anyone could help me that'll be great. Thanks.

1 hour ago, mf99k said:

It definitely looks like there's something wrong with the file connected to the image on the character selection screen. Did you edit the information in the .xml?

I think i did. On the tutorial it said something to do with that..
At that point i just became extremely baffled and confused.

4 hours ago, mf99k said:

It looks like the numbers in frogboy_none.xml are off. copy the numbers from frogboy.xml and see if it works.

 

edit: I might take a closer look later but I'm running late to class

I edited the numbers to make them the same in frogboy_none.xml (the numbers present in frogboy.xml were copied to be correct)
I got the same error as before.

47 minutes ago, mf99k said:

are the dimensions of the two files the same?

Most likely not. (Ill be honest, i dont know how to check unless your refering to the .xml files, the .tex file i maybe able to get around..)
If its the file where you need to open it up in TEXTools, I dont know how to resize those files a long the lines of the TEXTool program.

sorry, I messed up that last bit. The numbers in the code you had originally on the _none.xml don't seem to be the problem now that I've gotten a better look.

in case you got rid of it, this was your original code

Quote

<Atlas><Texture filename="frogboy_none.tex" /><Elements><Element name="frogboy_none.tex" u1="0.0009765625" u2="0.9580078125" v1="0.30908203125" v2="0.99951171875" /></Elements></Atlas>

the error log is acting like there is either a typo, which I checked for and couldn't find, or some sort of error with the autocompiler.

I'd say maybe double check all your assets in modmain.lua since it's possible something could have gone wrong over there. I noticed that the way the assets are lined up is slightly off, which probably isn't the problem but would be easy to fix either way.

10 hours ago, mf99k said:

the error log is acting like there is either a typo, which I checked for and couldn't find, or some sort of error with the autocompiler.

I'd say maybe double check all your assets in modmain.lua since it's possible something could have gone wrong over there. I noticed that the way the assets are lined up is slightly off, which probably isn't the problem but would be easy to fix either way.

At this point im extremely baffled and just utterly confused.
I went back over the tutorial covering the part about the portraits, looked over at another mod to see whats different/what could help.
Either i deleted a file on accident, editing something is shouldn't have, but either way, i will continue to try even if it leaves me stumped in the end.
 

EDIT: I may of jumped the horse too early when i posted this, i saw an error on my part where files were located.
I will report later if anything new arises. 

EDIT2: I honestly dont know whats wrong now. This mods files im looking at doesnt have the <charactername> files in /images, which mine does. For some reason deleting these files out of the /images on my mod causes an error way before the character selection. Again, i am just extremely baffled but im not going to just give up.

Edited by MedicOrNot
4 hours ago, MedicOrNot said:

.. i am just extremely baffled but im not going to just give up.

pretty much how I feel about the problems my mods have been having. At least I finally figured out why.

 

back to your mod, has the error message changed, and if so, what is it now? (also what is the error you get when you delete the image files you mentioned)

54 minutes ago, mf99k said:

pretty much how I feel about the problems my mods have been having. At least I finally figured out why.

 

back to your mod, has the error message changed, and if so, what is it now? (also what is the error you get when you delete the image files you mentioned)

By deleting the <charactername>.xml/.tex files, this error appears; https://gyazo.com/e15c7f8f5d2a5b41bcd0af6012248b8c

Might it be possible that all the .pngs i have in the folders be causing the problems?
I also did look over the modmain.lua and corrected something, but im not sure if that has done anything significant to the progress. 

(To be correct, this is what i changed

    Asset( "IMAGE", "images/frogboy.tex" ),
    Asset( "ATLAS", "images/frogboy.xml" ),
 

What i think might be causing all these errors is my incorrect placing of files, or editing them, since i did accidentally delete some files. I may have to go back around, copy over the files into the esctemplate again. I might be close to see where my error is, and thats deleting incorrect files.

 

well, that error is definitely because the files were missing after you deleted them.

 

I think you might be referencing the wrong file in the code, it's attached to what I think is a sample name_(   ).tex file (i'm not on my computer that has TEXTools so I can't check for sure). 

Quote

    Asset( "IMAGE", "images/frogboy.tex" ),
    Asset( "ATLAS", "images/frogboy.xml" ),
 

Since I don't have access to the surrounding code I'm not sure if it's after a saveslot image or selectscreen image or  name_frogboy.tex. Since the tex and xmls have specific formatting instructions (mainly related to image dimensions) having an image that's, say, 1048 X 500 and telling the code to put it in a spot normally reserved for a 68x68 image or some other size can and will cause the game to crash. 

is the code you changed in modmain.lua or a different file? I couldn't find a matching asset in the code.

21 hours ago, mf99k said:

well, that error is definitely because the files were missing after you deleted them.

 

I think you might be referencing the wrong file in the code, it's attached to what I think is a sample name_(   ).tex file (i'm not on my computer that has TEXTools so I can't check for sure). 

Since I don't have access to the surrounding code I'm not sure if it's after a saveslot image or selectscreen image or  name_frogboy.tex. Since the tex and xmls have specific formatting instructions (mainly related to image dimensions) having an image that's, say, 1048 X 500 and telling the code to put it in a spot normally reserved for a 68x68 image or some other size can and will cause the game to crash. 

is the code you changed in modmain.lua or a different file? I couldn't find a matching asset in the code.

I just copied over all my files over the template again, and it seems liked it worked!
It must been one of the .xml/.txt files that i deleted, causing the direction in  the .xml to go haywire.
This was my major error, that i would like to apologize for, but i appreciate you great help mf99k.
Thanks alot!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...