The definitive Linux/wine thread

Hello there,

Now, I am not sure what Ansca’s stand on Linux is, but they seem like good guys and gals, and in a couple of threads the request for a Linux port has been passed on for evaluation.

Here: http://developer.anscamobile.com/forum/2011/12/25/corona-sdk-linux
And here: http://developer.anscamobile.com/forum/2012/01/20/linux-support

While they are deciding on what to do, however, I know a couple of us don’t care to develop on Mac/Windows. Personally, I just dual boot into Mac in order to build my apps. So, while running it in VirtualBox is ok, however a very demanding solution, running the Corona Simulator in wine would arguably be the best one. A couple of threads do talk about doing this, but they aren’t very helpful, and the same goes for the WineHQ page.

Thread example 1: http://developer.anscamobile.com/forum/2011/02/14/works-wine-ubuntu-1010
Thread example 2: http://developer.anscamobile.com/forum/2011/11/28/corona-ubuntu-linux
WineHQ: http://appdb.winehq.org/objectManager.php?sClass=application&iId=13401

So, instead of sitting on our butts complaning about it, I propose that we as proper Linux users initiate a miniature knowledge base in this thread about how to run the Corona Simulator in wine.

I’ll start with my setup:

  • MacBook Pro 8,1 (company PC, not my idea :slight_smile:
    • processor: i5
    • graphics: Intel HD 3000
    • vram: 348 mb
  • Ubuntu 12.04 LTS beta 1 (similar results in Linux Mint 12)
  • wine version: 1.4-rc6 with default settings

Good:

  • Display objects react and display properly
  • No crashes so far
  • System and print messages visible through terminal

Bad:

  • Runs at about half speed
  • Increasing video memory for DirectX doesn’t seem to help
  • Menus don’t display properly
  • Game stalls at the beginning, only continues when I fiddle with the menus a bit

Not tested:

  • OpenGL config (version, memory allocation)

So, if you want to contribute, please let us know what your setup is and how it’s running. Especially if you have a solution (maybe a missing library, etc.), it would be very helpful.

We can submit our results to the WineHQ database once we get some “platinum” or at least “gold” results.

Go team Linux! :slight_smile: [import]uid: 117153 topic_id: 23137 reply_id: 323137[/import]

Aaand nobody gives a crap :slight_smile: OK, but I can at least post the setup I ended up using.

I’m developing with gEdit, GIMP, etc. on Ubuntu 12.04 and next to me is a MacBook that I use exclusively for running the simulator and compiling our apps. It’s connected via MacFusion and ssh to my working folder on the Linux box.

It’s a pretty good setup, although not the best solution imaginable. [import]uid: 117153 topic_id: 23137 reply_id: 105846[/import]

I give a crap. I think getting Corona to work on Linux is important. I’m especially interested in seeing it work on Puppy Linux. I am a math teacher mostly and I’d like to share my fondness for Corona with my students. If I could run Corona Simulator on Puppy Linux, then I have a few older laptops laying around that we could program with. Right now, I’m using them for statistics class with R.

When I get the time, I’d like to try Corona with WINE under Puppy. I’ll let you know if it works out. [import]uid: 104085 topic_id: 23137 reply_id: 124635[/import]

I give a crap. I think getting Corona to work on Linux is important. I’m especially interested in seeing it work on Puppy Linux. I am a math teacher mostly and I’d like to share my fondness for Corona with my students. If I could run Corona Simulator on Puppy Linux, then I have a few older laptops laying around that we could program with. Right now, I’m using them for statistics class with R.

When I get the time, I’d like to try Corona with WINE under Puppy. I’ll let you know if it works out. [import]uid: 104085 topic_id: 23137 reply_id: 124635[/import]

Hi Michael.

I would strongly recommend you ditch Corona completely and go take a look at MOAI + RapaNui.
It’s in my opinion a much better insight into the inner workings of a game, and it’s open source, so if something’s not working, you can actually fix it, or look for a community patch, instead of just hoping that the Corona team will eventually work on it :confused:

It’s lua based as well, and a lot of the API calls are similar to Corona.

The only problem with RapaNui is that there is no official documentation.
There are however a bunch of samples to try out, based on which I have started a documentation wiki: rapanui.byethost24.com.
It’s not complete yet, but it will give you an idea of how it works.

Just go completely open source, it’s the future of education anyway :slight_smile: [import]uid: 117153 topic_id: 23137 reply_id: 128373[/import]

Hi Michael.

I would strongly recommend you ditch Corona completely and go take a look at MOAI + RapaNui.
It’s in my opinion a much better insight into the inner workings of a game, and it’s open source, so if something’s not working, you can actually fix it, or look for a community patch, instead of just hoping that the Corona team will eventually work on it :confused:

It’s lua based as well, and a lot of the API calls are similar to Corona.

The only problem with RapaNui is that there is no official documentation.
There are however a bunch of samples to try out, based on which I have started a documentation wiki: rapanui.byethost24.com.
It’s not complete yet, but it will give you an idea of how it works.

Just go completely open source, it’s the future of education anyway :slight_smile: [import]uid: 117153 topic_id: 23137 reply_id: 128373[/import]