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

Put the PNGs in the mod folder. The engine would handle the conversion and storage of the cached files.

Edited by Guest
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

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
 Share

×
×
  • Create New...