MoaiRemote - another remote launcher

A place for developers to promote games they have created with Moai.

Moderator: ezraanderson

MoaiRemote - another remote launcher

Postby thebullno1 » Sat Jun 23, 2012 8:45 am

I hacked together some scripts to make testing on device easier. This time, no platform specific feature is used so it should be portable. However, more shell scripting is needed to make the deployment smoother as compared to MoaiNao.

Basically, you can execute "moai-remote search" and it will list all devices that can be deployed to and "moai-remote deploy <archive> <address>" will deploy and run your app on the device.

Source code and further details: https://github.com/bullno1/MoaiRemote
A pre-built dummy app for Android: http://www.host-a.net/u/bullno1/moairunner-debug.apk (launch it on your device before executing the above mentioned commands)

I need someone with Mac and iDevices to test this. An xcode project or a pre-built ipa (for jailbroken devices) is appreciated.
User avatar
thebullno1
 
Posts: 319
Joined: Sat Jul 02, 2011 8:53 am

Re: MoaiRemote - another remote launcher

Postby ibisum » Thu Jun 28, 2012 4:38 am

I tested it, it works great .. and I added a GUI:

https://github.com/bullno1/MoaiRemote/pull/1

;)
;
--
Email: ibisum@gmail.com
IRC: torpor on FreeNode, see you in the #moai channel
Got a MOAI snippet? Please consider adding it to http://moaisnippets.info/
User avatar
ibisum
 
Posts: 1503
Joined: Mon Oct 17, 2011 1:11 am
Location: Vienna, Austria

Re: MoaiRemote - another remote launcher

Postby BlueByLiquid » Tue Jul 03, 2012 8:29 pm

Works as expected on the first run. Doesn't work again after that. I am assuming this is because the runnerFunc returns after performing the "doFIle" function correct? I am new to lua but couldn't we just have a listener thread which kills the runner thread and launches a new one when new data comes in?

Thanks for your great work!
BlueByLiquid
 
Posts: 106
Joined: Fri May 11, 2012 8:54 pm

Re: MoaiRemote - another remote launcher

Postby ibisum » Wed Jul 04, 2012 12:31 am

It doesn't run for a few minutes after the first time, because the receiving port is not closed down properly when the app quits. So you have to wait for your system to timeout on the port. So it just needs to be fixed to properly close the socket+port on exit, I think ..
;
--
Email: ibisum@gmail.com
IRC: torpor on FreeNode, see you in the #moai channel
Got a MOAI snippet? Please consider adding it to http://moaisnippets.info/
User avatar
ibisum
 
Posts: 1503
Joined: Mon Oct 17, 2011 1:11 am
Location: Vienna, Austria


Return to Made With Moai

Who is online

Users browsing this forum: No registered users and 0 guests

x