Error at game loading in AGS (KeyboardMovement_102.asc)

Started by theoneelectronic, Tue 10/09/2013 16:50:19

Previous topic - Next topic

theoneelectronic

Hello everybody,
I'm new to AGS and this forum and I'll thank you in advance for your help.
Question it's quite simple and (I do hope) dumb.
I began to design my own game with satisfaction. Today I decided to show my kid how I'm doing, therefore I copied the whole folder (including subs) of the game and copied it in my home pc. I installed AGS and opened the game but I got the following error.


https://docs.google.com/file/d/0B74cisQ-2QTOa1pGNDdPelJBdDQ/edit?usp=sharing

Strange thing is that the file it's looking for it's actually in the folder at the proper position (see below)


https://docs.google.com/file/d/0B74cisQ-2QTOZzdlTjVvWHRpWlU/edit?usp=sharing

I suppose I've done something very dumb but I'm a complete noob with this software.
Thanks again!

Khris

Judging from your screenshot, your explorer is set to hide known extensions.
And it looks like both your GlobalScript and KeyboardMovement_102 aren't ending in ".asc" but ".asc.txt" (they also have the icon associated with text files, what they should have is a blank icon and their type should say "ASC file").

It looks like you have opened the files in TextEdit, then saved them, which added *.txt to the end of the file name.

So go to your folder options and uncheck "hide known extensions", then remove ".txt" from both files.
Then open AGS and try again.

And also, welcome to the forums :)

theoneelectronic

Thank you very much!
This was actually the issue. I corrected the extensions and this did the trick.
What is interesting it's why the got modified in the first place. I mean, I did nothing to accomplish that. I suppose that uploading the folder to Google Drive and then downloading it to my home computer partition caused Windows to think those files were .txt when in fact they weren't.
Well, next time I'll take much care.
Thank you again!
Cheers.

Gilbert

I think Google Drive sometimes thinks it's smart (which it obviously isn't), that it could detect popular document formats such as text documents, powerpoints and image files, so that it can preview such files and convert them on the fly and download them as a different format (such as downloading a Word document into a PDF file). IMO the preview feature is okay, but the convert feature is really unwanted.

For safety, to avoid unwanted conversions, it's advised to ZIP the files before uploading to Drive.

Khris

Yes, I should have realized that earlier because the original files were gone so they were renamed, not saved as copies with *.txt at the end.
Either zip them or use Dropbox instead.

Edit:
I cannot confirm this, copying an .asc file to Google Drive didn't alter it in any way after opening it on two devices. Trying to edit it resulted in a doc copy of the text. The original file was untouched and not renamed.

theoneelectronic

Well I suppose it's smarter to zip the folder the next time I transfer the folder and subs.

Gilbert

I've just checked the web interface of Drive, and there is actually an option that when turned on, will convert your stuff to Google doc format after upload. (It is in the 'settings' at the upper-left corner of the "uploading file" pop-up pane, or the "upload setting" item in the config menu on the upper-right of the page.) I think by default it's disabled, but if for some reasons it's previously turned on, it will "smartly" convert whatever you upload whenever it thinks it's possible. I've tried uploading an .asc file with this turned on, and the horrible outcome was that the file had become a "Google doc" file (so that it could be "conveniently" edited with their online editor), and it even lost its extension so you just scratch your head and guess what it originally was, and it now only has a "Download as..." action to "powerfully" convert it to any of the supported format and download it. This is just offensive IMO.

So, either turn this setting off, or, unless you want to preview the contents online, you better zip the files before uploading for maximum safety.

SMF spam blocked by CleanTalk