# "Permission Denied" when I make a new scene

**URL:** <https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638>\
**Category:** ChoiceScript Help\
**Created:** [August 11, 2014, 9:04am UTC](https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638 "2014-08-11T09:04:21Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamLienhard](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/samlienhard/32/3736_2.png) [@SamLienhard](https://forum.choiceofgames.com/u/SamLienhard)\
**Post date:** [August 11, 2014, 9:04am UTC](https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638/1 "2014-08-11T09:04:21Z")

</div>

I’m new at this, and yesterday I tried to make a new scene for the first time. I made a text file, added it to scene\_list in the startup file, and found that it gave me a “Permission Denied” error every time I tried to follow that path. The only scenes it could go to were the sample ones included with the ChoiceScript download. (I can change and rename those scenes, and it will still work. However, if I bring up their properties and choose to “unblock” them, they’ll stop working as well.)

I dug through previous questions on the forum until I found people talking about editing the scene list in mygame.js. Do you need to do that to create new scenes, even though the tutorial doesn’t mention it? I went to the wiki and looked up mygame.js, and opened it in Notepad so I could edit it, but it didn’t look the way the wiki said it would. What should I do?

---

<div class="post-metadata">

**Author:** ![StarWarsMaster](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/starwarsmaster/32/96876_2.png) [@StarWarsMaster](https://forum.choiceofgames.com/u/StarWarsMaster)\
**Post date:** [August 11, 2014, 9:05am UTC](https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638/2 "2014-08-11T09:05:29Z")

</div>

Did u add create scene at your startup file?? That might help

---

<div class="post-metadata">

**Author:** ![SamLienhard](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/samlienhard/32/3736_2.png) [@SamLienhard](https://forum.choiceofgames.com/u/SamLienhard)\
**Post date:** [August 11, 2014, 10:02am UTC](https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638/3 "2014-08-11T10:02:41Z")

</div>

I have \*scene\_list in my startup file. Is that what you mean, or is there something else?

---

<div class="post-metadata">

**Author:** ![DSeg](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/dseg/32/19033_2.png) [@DSeg](https://forum.choiceofgames.com/u/DSeg)\
**Post date:** [August 11, 2014, 10:04am UTC](https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638/4 "2014-08-11T10:04:09Z")

</div>

@SamLienhard This has happened to me quite a while ago and I don’t remember the cause exactly, but I think it was because I messed up the file extraction.

Download choicescript again. Don’t close the extraction software until the extraction is 100% done. See if that helps.

EDIT: \*scene\_list is enough.

---

<div class="post-metadata">

**Author:** ![MutonElite](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@MutonElite](https://forum.choiceofgames.com/u/MutonElite)\
**Post date:** [August 11, 2014, 10:11am UTC](https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638/5 "2014-08-11T10:11:17Z")

</div>

You may have opened the game with the wrong index file? Use the one inside mygame.

---

<div class="post-metadata">

**Author:** ![SamLienhard](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/samlienhard/32/3736_2.png) [@SamLienhard](https://forum.choiceofgames.com/u/SamLienhard)\
**Post date:** [August 11, 2014, 10:45am UTC](https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638/6 "2014-08-11T10:45:44Z")

</div>

@DSeg I downloaded it again and kept it open until the extraction was complete, but the problem remains.

@MutonElite That’s the one I’m using.

---

<div class="post-metadata">

**Author:** ![MutonElite](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@MutonElite](https://forum.choiceofgames.com/u/MutonElite)\
**Post date:** [August 11, 2014, 10:50am UTC](https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638/7 "2014-08-11T10:50:16Z")

</div>

Okay, let’s try tagging a few experts then. @CJW @dfabulich @jasonstevanhill

---

<div class="post-metadata">

**Author:** ![BlazedStorm](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/blazedstorm/32/1137_2.png) [@BlazedStorm](https://forum.choiceofgames.com/u/BlazedStorm)\
**Post date:** [August 11, 2014, 11:12am UTC](https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638/8 "2014-08-11T11:12:30Z")

</div>

From what I’ve found, If the scene you created isn’t within the scenes folder in mygame, then it gives a similar error. Other than that I’m not quite sure where it would come from.

---

<div class="post-metadata">

**Author:** ![distracteddad](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/distracteddad/32/34163_2.png) [@distracteddad](https://forum.choiceofgames.com/u/distracteddad)\
**Post date:** [August 11, 2014, 11:16am UTC](https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638/9 "2014-08-11T11:16:41Z")

</div>

One easy workaround is to write over the existing scenes that come with the file. That way the structure is the same an everything works, only your scenes are called “animal” or “gosub” or whatever they are.

---

<div class="post-metadata">

**Author:** ![SamLienhard](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/samlienhard/32/3736_2.png) [@SamLienhard](https://forum.choiceofgames.com/u/SamLienhard)\
**Post date:** [August 11, 2014, 2:53pm UTC](https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638/10 "2014-08-11T14:53:55Z")

</div>

@BlazedStorm Could there be something that makes it think the scene is somewhere else, even though the file is in the folder?

@distracteddad I can rename them, so that wouldn’t be a problem. The frustrating part would be if I wanted more scenes than the existing ones. I guess I’d have to make copies of the existing scenes.

---

<div class="post-metadata">

**Author:** ![distracteddad](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/distracteddad/32/34163_2.png) [@distracteddad](https://forum.choiceofgames.com/u/distracteddad)\
**Post date:** [August 11, 2014, 3:39pm UTC](https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638/11 "2014-08-11T15:39:37Z")

</div>

Yeah I was just talking about a short-term workaround if you want to see you work in progress. You don’t have to rename anything; you’ve got 6 or however many scenes ready to go. Just paste your text into them.

It sounds like you’re working off an old version of things. There’s no mygame.js anymore. You just name your first scene “startup” and then have the scene\_list with the subsequent scenes listed seriatim.

---

<div class="post-metadata">

**Author:** ![SamLienhard](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/samlienhard/32/3736_2.png) [@SamLienhard](https://forum.choiceofgames.com/u/SamLienhard)\
**Post date:** [August 11, 2014, 4:48pm UTC](https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638/12 "2014-08-11T16:48:27Z")

</div>

That’s what I thought, but when it wasn’t working, I tried to look it up to see if anyone else had the same problem. That’s where I found stuff about editing mygame.js and thought maybe I needed to do that.

---

<div class="post-metadata">

**Author:** ![MutonElite](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@MutonElite](https://forum.choiceofgames.com/u/MutonElite)\
**Post date:** [August 12, 2014, 4:30am UTC](https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638/13 "2014-08-12T04:30:31Z")

</div>

Maybe walk us through exactly what you’re doing and where you have what? The only things you ever really need to bother with is the index file within the mygame folder and the text files within the scenes folder. Maybe paste in your code from startup as well.

---

<div class="post-metadata">

**Author:** ![byronmcsteele](https://avatars.discourse-cdn.com/v4/letter/b/5daacb/32.png) [@byronmcsteele](https://forum.choiceofgames.com/u/byronmcsteele)\
**Post date:** [August 12, 2014, 7:41am UTC](https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638/14 "2014-08-12T07:41:38Z")

</div>

This sounds like the issue with Windows 7 “blocking” the Choicescript files. In your original post, you mentioned right clicking the files and unblocking them, but that this did not work.

Did you “unblock” the original zip file before extracting the files, or did you unblock the files after extracting them?

I believe you need to unblock the original zip file you downloaded (right click -\> Properties) and then extract the contents of the zip file again. You should then be able to create scenes in the new location without experiencing the “Permission Denied” error.

---

<div class="post-metadata">

**Author:** ![SamLienhard](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/samlienhard/32/3736_2.png) [@SamLienhard](https://forum.choiceofgames.com/u/SamLienhard)\
**Post date:** [August 12, 2014, 7:57am UTC](https://forum.choiceofgames.com/t/permission-denied-when-i-make-a-new-scene/2638/15 "2014-08-12T07:57:34Z")

</div>

@byronmcsteele Thank you!!! That fixed it!
