Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Access denied error for simple ship mod  (Read 2393 times)

nightinerr

  • Ensign
  • *
  • Posts: 3
    • View Profile
Access denied error for simple ship mod
« on: February 19, 2015, 12:14:35 PM »

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)
Logged

Sproginator

  • Admiral
  • *****
  • Posts: 3592
  • Forum Ancient
    • View Profile
Re: Access denied error for simple ship mod
« Reply #1 on: February 19, 2015, 12:36:01 PM »

Are you running Starsector as Administrator?

This may be one for the Support page....
Logged
A person who's never made a mistake, never tried anything new
- Albert Einstein

As long as we don't quit, we haven't failed
- Jamie Fristrom (Programmer for Spiderman2 & Lead Developer for Energy Hook)

mendonca

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1159
    • View Profile
Re: Access denied error for simple ship mod
« Reply #2 on: February 19, 2015, 01:12:27 PM »

The first thing that I notice is the discrepancy between 'me_afrig_2' and 'me_afrig_sr2' ...

Are you sure the sprite name is called the right thing and referenced correctly? Looks like a 'file not found' error?
Logged


"I'm doing it, I'm making them purple! No one can stop me!"

nightinerr

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: Access denied error for simple ship mod
« Reply #3 on: February 19, 2015, 01:13:23 PM »

no, that wasn't the problem, I typoed that here

The problem was not directing it to the right place in the .ship file.
Logged

mendonca

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1159
    • View Profile
Re: Access denied error for simple ship mod
« Reply #4 on: February 19, 2015, 01:27:29 PM »

Oh great, everything working now then?
Logged


"I'm doing it, I'm making them purple! No one can stop me!"