Imperator Ferrum Princeps I Posted October 12, 2018 Report Share Posted October 12, 2018 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? Quote Link to comment Share on other sites More sharing options...
Stan` Posted October 12, 2018 Report Share Posted October 12, 2018 Do you have the original PNG ? What is its resolution ? Quote Link to comment Share on other sites More sharing options...
Imperator Ferrum Princeps I Posted October 13, 2018 Author Report Share Posted October 13, 2018 (edited) original png? I just used a png to dds file converter after saving it as a dds in gimp would bring same issues. What is the correct way to do this? Edited October 13, 2018 by Imperator Ferrum Princeps I Quote Link to comment Share on other sites More sharing options...
Guest Posted October 13, 2018 Report Share Posted October 13, 2018 (edited) Put the PNGs in the mod folder. The engine would handle the conversion and storage of the cached files. Edited October 13, 2018 by Guest Quote Link to comment Share on other sites More sharing options...
Stan` Posted October 13, 2018 Report Share Posted October 13, 2018 Unless his original image is broken Which is why I asked for it. Quote Link to comment Share on other sites More sharing options...
Imperator Ferrum Princeps I Posted October 13, 2018 Author Report Share Posted October 13, 2018 (edited) 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: Edited October 13, 2018 by Imperator Ferrum Princeps I Quote Link to comment Share on other sites More sharing options...
Trinketos Posted October 13, 2018 Report Share Posted October 13, 2018 Did you try to change .dds to .png? Quote Link to comment Share on other sites More sharing options...
Stan` Posted October 13, 2018 Report Share Posted October 13, 2018 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: 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 Quote Link to comment Share on other sites More sharing options...
Loki1950 Posted October 13, 2018 Report Share Posted October 13, 2018 3652x2048 may just be to much Enjoy the Choice Quote Link to comment Share on other sites More sharing options...
Imperator Ferrum Princeps I Posted October 13, 2018 Author Report Share Posted October 13, 2018 (edited) I just copied and pasted existing code so to be safe in case the resolution mattered I resized the image to same resolution as old one, must have resized it wrong Edit: tried what you suggested and it worked, thank you Edited October 13, 2018 by Imperator Ferrum Princeps I Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.