[Solved] "Failed to load datafile" But the files are there
I was working on my faction, creating a new weapon (With the same method i used to create all the other weapons in the faction, which is: Copying the files from a similar weapon, then changing parameters) and when i try to load the game i get this error:
---------------------------
RTE Aborted! (x_x)
---------------------------
Failed to load datafile object with following path and name:
NapalmCrew.rte/Devices/Sprites/FamasMag.bmp
The last frame has been dumped to 'abortscreen.bmp'
You can copy this message with Ctrl+C
---------------------------
The problem is... The file is there, the three files associated to the weapon (FamasMag.bmp, Famas000.bmp and Famas001.bmp) are there, the filepath is not misspelled or not case sensitive.
If i change "FamasMag.bmp" to another file, say, "GalilMag.bmp" it works, but then i get the same error in "Famas000.bmp", which, as i sayed before, is also present in the corresponding folder.
So... What is happening here? What can i do to fix it?
Thanks in advance!
UPDATE: Im using the latest version of GIMP and after i edited and saved another file (From a gun which was already working perfectly) it gives me the same error, so it definitely is related. My guess is that this has something to do with the palette.
SOLUTION: Unfortunately i didnt find the problem GIMP is causing, but i found the solution, just open the image in Paint, save it, and close.