Jump to content

Recommended Posts

When I was working on my FCI mod, I tried to add a custom menu background and the game will not load properly.

 

Here are the files:

background_fci.png.cached.ddsbackground_fci.png.cached.dds

fcimod_background.xml

background_flag.js

 

I seem to be having this issue with every single custom asset I make, any way to properly add in custom assets?

Link to comment
Share on other sites

1 hour ago, Imperator Ferrum Princeps I said:

wait? plain pngs work?

 

I usually self learn to mod by studying existing code, and I usually see dds files

 

edit: tried and did not work, also here is plain png:

fci_background_raw.thumb.png.e8cd1c2899d999c028efc51d26d82ecc.png

 

Okay that's what I thought. Your image has to be a power of two image. 512x512 1024x1024 128x2048 etc.

In your case your image is 3642x2048 which is why it fails.

And yes you can load pngs directly as long as they comply with the rule above

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...