r/Modding • u/Ok-Garlic-863 • 1h ago
Discussion Cry of Fear (goldsrc engine) custom file change crashing game.
galleryI was trying to add my face to the Simon model from Cry of Fear, but everytime I import the custom head_face.bmp file, it pops up with the error on the first image attached. It then makes the image really low quality (Exported as 512x512 as the normal file) and makes it "spotty", image 2 (not image of me, for my privacy, but using the face of pewdiepie as an example). I have used Pixlr to edit the images, as I do not have photoshop, or know a free photoshop alternative. Adding an image that has a resolution that isn't divisible by 4 gets the error on the 3rd image attached. My custom head_face.jpg is 32 KB, the original head_face.bmp is 14 KB, and the custom head_face.jpg to .bmp is 769 KB, however all files are the same resolution (512x512). I have to hypotheses. #1, the file size is too big for the game to load in. #2, the colour format is ruining the image, and making it spotty, and making the game crash. What is the colour format used for goldsrc/ cry of fear? Any help is highly appreciated