Help!!! Corona SDK Not Working On Windows XP???

I don’t know what’s going on…

Downloaded SDK. I’m All excited, and when i got to the first tutorial.

Hello World

I typed the code on notepad like they asked. Saved it as main.lua. (they asked main.lua to be file name for some reason) so it did it.

Went to run it ( “open” it as instructed) and it wouldn’t show up in the dialog box?

What gives???

I changed the file extension it to “All Files” and it shows up. So i try to run what showed up and it didn’t work???

Can .lua “file extension” work on Windows XP???

or is there a different file extension for Windows XP for the corona sdk program???

Or is it something different, A process i’m messing up or don’t understand?

Can anyone aide a noob???

Thanks…

[import]uid: 103750 topic_id: 17645 reply_id: 317645[/import]

Hey there,

I don’t currently use a Windows XP machine, however I’m wondering if it is possible you did what I have occasionally done on my Mac and tried to open the file in the console/terminal window rather than in Corona itself. Is that a possibility?

What happens if you try to open some of the sample code? (You can find samples in the CoronaSDK folder you downloaded.)

Peach :slight_smile: [import]uid: 52491 topic_id: 17645 reply_id: 67135[/import]

Thank You for Helping a Noob for starters :slight_smile:

Ok your 2nd question first…

I did open some sample code Hello World ect. that came with the download and it worked… “???”

but the code i was instructed to write on windows notepad and save in a folder on my desktop didn’t work.

Does windows xp support .lua files? because the sample files that came with the program that work “???” it has a icon that suggest it shouldn’t work.

I don’t know how i can describe it.

It’s that icon that looks like a sheet of paper with some colored shapes on it.

That comes up when something isn’t compatible with your computer or need an update ect…

Response to your first question…

I think i opened it up with corona. I went to file on that sample phone and clicked open, tried to open the file and it wouldn’t open.

So… i don’t know

hope i was clear with my answers.

so i can get some help :confused:

[import]uid: 103750 topic_id: 17645 reply_id: 67139[/import]

.lua is fine in Windows - but perhaps we need to get you using a proper editor.

I’m not sure of the “best” Windows editor however I know others who use this; http://luaedit.luaforge.net/history.html

I believe when you see that ??? icon it is because there is not a program on your computer that recognizes the file type. (Corona runs the files but it isn’t an editor, obviously.)

Can you check out the editor above and let me know how you go?

Peach :slight_smile: [import]uid: 52491 topic_id: 17645 reply_id: 67149[/import]

@peach pellen

For me the fast code editor on Windows is Notepad++

@plato.cato

Try Notepad++

http://notepad-plus-plus.org/ [import]uid: 13454 topic_id: 17645 reply_id: 67181[/import]

Thanks KeepTrying; I will remember that for future reference :slight_smile:

Plato.cato - any improvement? Any changes? I’m hoping saving your code with a proper editor might do the trick.

Please let us know.

Peach :slight_smile: [import]uid: 52491 topic_id: 17645 reply_id: 67228[/import]

I had similar problem - just keep your project not in you “Documents and settings” folder and use only english name folders ))
PS: notepad++ is good choise (IMHO) [import]uid: 65903 topic_id: 17645 reply_id: 67296[/import]

Notepad likes to save “new” files with a *.txt extension by default, regardless of how you type it in the SaveAs dialog. So, your file was likely named “main.lua.txt”, which is why Corona’s Open dialog couldn’t find it. Also, it doesn’t help that Windows XP likes to hide file extensions by default.

I recommend that you change your Windows settings to reveal all file extensions. You can do this as follows on Windows XP:

  1. Open “Windows Explorer”.
  2. Click on menu item “Tools\Folder Options”.
  3. Click on the “View” tab.
  4. Uncheck “Hide extensions for known file types”.
  5. Click the OK button.

Now if you go back to your Hello World project in Windows Explorer, I bet you that your file name is really “main.lua.txt” like I said above. Rename the file to “main.lua” and you are good to go!
[import]uid: 32256 topic_id: 17645 reply_id: 67347[/import]