Game won't load custom item art

[Update] Solution was in post #9 by ASYLUM101. You have to at least have one subdirectory for the files or it will keep crashing.

Hi I’m trying to use some 2D item art that I created in my mod. I have looked at several threads on the forums and I can’t seem to figure out why my item still is displayed like this in game:

I have looked at the file in TexViewer and it looks fine. The info matches up perfectly with the info from the original 2D Art.

How am I supposed to be doing this? In asset manager if I use Auto-Create Asset or go into assets and create it either way it ends up not showing up correctly in game.

Which format should I use (I’ve tried Texture and all the options there as well as Bitmap)?

Also, whenever I click on the asset tab and right click the texture to build it crashes Asset Manager after showing the link to the resource/texture.tex. Is that normal?

Sorry if this is confusing. I’ve been messing around with this for a couple hours and am getting frustrated.

I use .tga’s for item bitmaps like that.

No idea why your Asset Manager is crashing; no, that isn’t normal.

9 times out of 10, this will happen from an improper linking of the item’s bitmap texture field:

  1. Create art asset, as Ceno said, TGA is your best bet for all bitmaps and textures.

  2. Auto-create asset in the source tab.

  3. Build assets

  4. Find your texture and link it.

  5. Build mod

If your assetmanager is crashing, try deleting said asset and start the texture building process over.

It always crashes no matter how many times I restart the process when I right click on the file and hit build. The status column always lists it as “In Progress”.

It also always creates the 5kb resource .tex file which works perfectly in texture viewer and can be linked to in Asset Manager, but it never works in game.

So I assume the problem lies with the 1 kb asset .tex file never being generated correctly? I’ve verified steam files and did a fresh install right before starting this process. Not sure what else I can try to keep it from crashing.

The files always say “In Progress”, in the asset tab.

As for the size of the tex files, strangely enough 1kb is the proper size.

Is there a specific path that should be used for the 2d art texture? I see in your example it’s items/modname/bitmaps/texture.tex.

When it auto-created it the asset .tex is in my root asset folder and the 2d art .tex is in the root resource folder. I don’t see why it would cause issues (aside from organizational for large mods) but maybe it’s finickier than I think.

Might be. Should be easy enough to test.

If it doesn’t work… upload it I guess, I’ll take a look.

Thanks for the help!

Here’s the files.

Yeah, looks like you need at least one subdirectory. I got a crash, prolly one of the first crashes I’ve ever gotten trying to build the asset.

I hope you don’t mind, but here’s a few things to mention since you’re just starting this -

*If you have a very tiny mod in mind, then you don’t need to make a big deal about how you organize your mod assets. If you have a larger one, maybe consider organizing things a bit so it will keep things nice and smooth. For example, your bitmap. For a simple test or whatever I understand, source > go! But obviously it doesn’t work firstly, but coming from someone who started a mod with a mess, you’ll thank yourself later if you have a nice structure. Sometimes you just don’t realize how much you actually want to add.

*If you are interested in having your mod added to a larger compilation, Grimarillion and the currently dead DAIL for example, try your best to follow the above step, and even further, try your best to keep all your assets in a custom database folder. For example, instead of dumping your dragon stones into records/items/materia, maybe make a custom folder for all your stuff, like records/dragonstones/materia, or whatever. The less conflicting folders in a mod, the easier it becomes to assimilate into a compilation. Of course when you get to masteries/loottables that will be an issue, but that’s a different beast that’s probably impossible to avoid.

*Try not to include spaces in your item names. AFAIK it won’t cause issues with the Assetmanager itself, but if you ever create new masteries (Dragon Stone Master? Lol) and you want to use WanezTools to setup the layout (trust me you do), it will flip out if you have spaces in the filenames. At least, it used to. Not sure if it was ever fixed.

Thanks for all the help. Appreciate the tips too!