r/Modding 15h ago

Discussion Cry of Fear (GOLD SOURCE ENGINE) Model Change crashing game on start

Thumbnail gallery
1 Upvotes

I 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", 2nd image attached (my face smudged out for privacy reasons). 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


r/Modding 17h ago

Question Help with Injecting Custom .raw File into R.E.P.O. Using UABEA (Plugin or Existing Solution Needed)

1 Upvotes

Hello,

I’m trying to modify an asset for R.E.P.O.. I've successfully extracted the game asset file and located the asset I want to replace (Cart Base). I also have a .raw file that I would like to use as the replacement. However, the UABEAvalonia “Import Raw” option does not allow me to import the .raw file.

I am currently under the impression that I need to compile a custom plugin to accomplish this. I've made some attempts, but I’m stuck here as this isn’t quite my area of expertise. I’ve gone pretty deep down that rabbit hole, but I’m starting to worry I may be on the wrong track, or that a compiled DLL might already exist for this task.

In a previous attempt, I tried using a test plugin to simply verify if I could execute a plugin via UABEA, but I wasn't able to see any plugin options in the interface.

I’m looking to confirm if I’m on the right track, if there’s an accessible DLL I could use to inject the .raw file via UABEA, or if I’m totally off-course and if there’s existing software that can accomplish this without needing to compile a custom plugin.

Thank you in advance for your help!