Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Newbie Problems... :-S

Author
Message
cjb120
10
Years of Service
User Offline
Joined: 22nd Nov 2014
Location:
Posted: 22nd Nov 2014 06:53
I apologize if this has already been posted, couldn't find it and new to the board...

I just installed the alpha release of AGK2 and tried running some of the example files. Each and every time I keep getting the error message:

error: Failed to open file for writing media/bytecode.byc

Is there something I'm missing?!? I didn't see any steps for including a path or anything?!?

Any help much appreciated...
MikeHart
AGK Bronze Backer
21
Years of Service
User Offline
Joined: 9th Jun 2003
Location:
Posted: 22nd Nov 2014 09:58
Where is the project installed. Sounds like a permission problem of your os. Which one are you using? Generelly on Windows you should place it in a user folder.
Clonkex
Forum Vice President
14
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 22nd Nov 2014 10:02
First off, I'll just say that your title is not ideal. You should be more specific about your problem in the title so if anyone else has the same problem they can find this thread by searching

I suspect that you're loading the examples from Program Files. Unless you're on an admin account in Windows, AppGameKit won't be allowed to write to Program Files for security reasons. Even if you are an admin, Windows sometimes won't let programs write to Program Files without other changes.

Assuming the problem is what I said, the way to fix it is:
- Open AGK2.
- Click Tools > Install Additional Files.
- Use the folder Browse button to select a folder somewhere you're guaranteed to have write access, such as your desktop or some folder in My Documents.
- Click Install.

Now open the example projects from the location you copied them to with the Install Additional Files dialogue and see if they work.

Login to post a reply

Server time is: 2024-11-25 11:38:41
Your offset time is: 2024-11-25 11:38:41