Resources/Developer Info & Forums/Developing for Original Sifteo Cubes

running demos with Siftulator?

Katherine L
posted this on October 20, 2011 12:11 am

Hi,

How do I open one of the SDK demo apps in Siftulator? Thanks!

 

Comments

User photo
Antonio Santos

Hi! I'm not sure how far have you gone into the process, but I'll try to give you some help. First after installing the SDK, you need to open the demo you want to run with Visual Studio or Mono.

Then you compile and run it. With Siftdev open, you have to make sure that the Sifteo USB dongle is not plugged in. You then double click on Siftulator-00_05_09.jar, which is inside the bin folder of the SDK (folder where you have installed the SDK\bin\Siftulator-00_05_09.jar).

Siftdev detects this as if you had plugged the USB dongle.

Then you click Play on Sifdev and you'll see the demo running on Siftulator.

 

Hope this helps :)

October 20, 2011 04:25 pm
User photo
Katherine L

Ok, thanks... I compiled and ran, but I'm not seeing the .jar file... or bin folder for that matter. Here's what I have in my SDK directory (Sifteo_SDK_mac_1_1_2):

  •  /api-docs
  • /api-docs.html
  • /demo-docs
  • /demo-docs.html
  • /demos
  • /LICENSE
  • /runsifts
  • /Siftdev
  • /Siftulator 00_05_09 alpha.app
  • /toos
October 21, 2011 02:07 am
User photo
Antonio Santos

Ok, I am using the Windows SDK, and it seems that the structure is slightly different to the Mac one. What I would assume is that if you open the folder called '/Siftulator 00_05_09 alpha.app' (is it a folder or a file?) you will find Siftulator there and you can run it. If that is a file not a folder, try running 'Siftulator 00_05_09 alpha.app'. I am not very famniliar with Mac so I'm afraid I can't help you much more.

October 21, 2011 11:07 am
User photo
Katherine L

The Siftulator 00_05_09.app is an app--the Siftulator app itself. When I open it, there's a path at the top that presumably should point to my compiled project that I want to run, but within the project folder (I'm just using 01_HelloSifteo), there's no .jar or any other executable file I can point it to. I have a /build folder and a /bin folder, one of which contains a .exe file that looks promising, but there's nothing in either that I can run on my Mac. I dunno... anyone have a Mac?

October 24, 2011 09:47 am
User photo
Katherine L

Nevermind... got it. Instructions for anyone else that might be lost:

  1. "Build 01HelloSifteo" from the Build menu in Mono
  2. Open Siftulator
  3. Open Siftdev, Developer > Load Apps > point it to the 01_HelloSifteo project folder
  4. When you click "Play" in Siftdev, it will run it in Siftulator
October 24, 2011 10:03 am
User photo
John M. Quick

Hi Katherine L. Thanks for your 4-step guide. This helped me get the Siftulator running demo apps easily.

November 10, 2011 12:19 pm
User photo
Peter O'Shaughnessy

Thanks very much. One other thing I had to do was actually Run the project in MonoDevelop too. Otherwise I got "Startup Error... Siftdev could not connect to your app... (Connection refused)."

Works ok now; thanks again.

April 09, 2012 11:03 pm