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.
[SOLVED] file:size(P) invalid argument: operation...
-
- Burner Inserter
- Posts: 8
- Joined: Mon Sep 26, 2016 11:41 am
- Contact:
[SOLVED] file:size(P) invalid argument: operation...
- Attachments
-
- advanced_green_energy_0.12.0.zip
- (499.48 KiB) Downloaded 74 times
Last edited by Shiny_Martin on Mon Sep 26, 2016 1:38 pm, edited 3 times in total.
- aubergine18
- Smart Inserter
- Posts: 1264
- Joined: Fri Jul 22, 2016 8:51 pm
- Contact:
Re: file:size(P) invalid argument: operation not permitted
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?
Can you upload a zip file with your mod in it so we can take a look?
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
-
- Burner Inserter
- Posts: 8
- Joined: Mon Sep 26, 2016 11:41 am
- Contact:
Re: file:size(P) invalid argument: operation not permitted
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.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?
EDIT:
I solved it, thank you for your time! It was a missing sound after all.