Hello.
I've been making a simple ship mod, just to add a ship, maybe add it through console. The problem is when I go to load it, it gives me an "Access is denied" message.
I've followed the example mod template, I've looked at other mods. I can't figure out what's wrong.
I tried changing user permissions on the mod file. Some users on the list didn't have any usage rights checked, I checked off read and execute. CREATOR OWNER will simply not accept any change in user permissions - CREATOR OWNER has no user permissions and when I check it off it reverts automatically. Running with administrator privileges doesn't work.
From the log file, the first few lines look like the error message:
26356 [Thread-5] DEBUG com.fs.graphics.TextureLoader - Loading [graphics/ships/me_afrig_sr2] as texture with id [graphics/ships/me_afrig_2]
26777 [Thread-5] ERROR com.fs.starfarer.combat.O0OO - java.io.FileNotFoundException: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\shipmod\graphics\ships\me_afrig_2 (Access is denied)
java.io.FileNotFoundException: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\shipmod\graphics\ships\me_afrig_2 (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at com.fs.util.Object.Ô00000(Unknown Source)
at com.fs.util.Object.Ó00000(Unknown Source)
at com.fs.util.Object.Ô00000(Unknown Source)
at com.fs.graphics.TextureLoader.Ò00000(Unknown Source)
at com.fs.graphics.TextureLoader.o00000(Unknown Source)
at com.fs.graphics.TextureLoader.o00000(Unknown Source)
at com.fs.graphics.TextureLoader.o00000(Unknown Source)
at com.fs.graphics.OooOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.o00000(Unknown Source)
at com.fs.starfarer.loading.G.o00000(Unknown Source)
at com.fs.super.A.new(Unknown Source)
at com.fs.starfarer.combat.O0OO.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)