Page 1 of 1

[SOLVED] file:size(P) invalid argument: operation...

Posted: Mon Sep 26, 2016 11:48 am
by Shiny_Martin
Loading sounds...
13.413 Error Util.cpp:57: file_size(p): invalid argument: operation not permitted

Theses are the last two rows of the crashlog I get when I try to launch the game. It loads untill about 90%. If I deactive my mod, it launches normally.
What is wrong? What do I have to change in my mod?

Facts:
*In the mod I've tried adding two new entities with their own graphics.
*There are no sounds in my mod.
*This is my first mod, and I've never used anyone elses either.
*Im pretty novice when it comes to modding, so please be patient with me.

Thanks in advance!

EDIT: SOLVED!
Thanks to aubergine18 who hinted about a missing sound file, I managed to solve it. Appearently I messed up a line when a sound plays if a car would crash into my entity.

Re: file:size(P) invalid argument: operation not permitted

Posted: Mon Sep 26, 2016 12:09 pm
by aubergine18
I imagine you've tried adding an entity that requires a sound, and you've removed the sound from its prototype. Instead, you'd have to provide an empty sound (like 'silent.ogg') and specify that in its prototype.

Can you upload a zip file with your mod in it so we can take a look?

Re: file:size(P) invalid argument: operation not permitted

Posted: Mon Sep 26, 2016 12:34 pm
by Shiny_Martin
aubergine18 wrote:I imagine you've tried adding an entity that requires a sound, and you've removed the sound from its prototype. Instead, you'd have to provide an empty sound (like 'silent.ogg') and specify that in its prototype.

Can you upload a zip file with your mod in it so we can take a look?
I did add the Accumulator though I thought I could use the old files? Ive added an attachment with the mod in my original post.

EDIT:
I solved it, thank you for your time! It was a missing sound after all.