problem with ogg music and iphone simulator


  • Posts: 6
Hey guys, I'm new at this so I'm guess I'm missing something completely obvious here.

I went through hell trying to figure out how to get the iPhone simulator to work without realizing I needed to download Xcode. Now that I have that, the generator will launch and it seems to be working right.. however, as soon as I add music, it won't work.

This is what I'm running into:
[LOG] Running command: RUN
[LOG]  - Running command: /Applications/Stencyl-full/plaf/haxe/lib/hxtools/1,1,6/templates/bin/ios-sim launch /Users/Keith/stencylworks/games-generated/infancy4/Export/ios/build/Release-iphonesimulator/ --sdk 7.0 --family iphone --retina  --timeout 30 --stdout /private/var/folders/_k/krjpy0mj1v7fslf83pk4k1000000gn/T/stencyl7042118587218366895/scratch/ios-sim.log
[LOG] 2014-03-10 20:43:07.984 ios-sim[45640:f07] Timeout: 30.000000 second(s)
[LOG] 2014-03-10 20:43:07.986 ios-sim[45640:f07] stdoutPath: /var/folders/_k/krjpy0mj1v7fslf83pk4k1000000gn/T/stencyl7042118587218366895/scratch/ios-sim.log
[LOG] [iOS] Universal.hx:162: Stage Width: 480
[LOG] [iOS] Universal.hx:163: Stage Height: 320
[LOG] [iOS] Universal.hx:164: Screen Width: 960
[LOG] [iOS] Universal.hx:165: Screen Height: 640
[LOG] [iOS] Universal.hx:166: Screen DPI: 326
[LOG] [iOS] Universal.hx:302: Theoretical Scale: 2
[LOG] [iOS] Universal.hx:314: Max Scale: 4
[LOG] [iOS] Universal.hx:315: Engine Scale: 2x
[LOG] [iOS] Universal.hx:337: Algorithm: Stretch to Fit
[LOG] [iOS] Universal.hx:556: Scale X: 1
[LOG] [iOS] Universal.hx:557: Scale Y: 1
[LOG] [iOS] Purchases.hx:98: Purchases: Started
[LOG] [iOS] Behavior.hx:99: Error in when created for behavior: SceneEvents_1
[LOG] [iOS] Behavior.hx:100: Error Domain=NSOSStatusErrorDomain Code=1954115647 "The operation couldn’t be completed. (OSStatus error 1954115647.)"

Now, the behavior:SceneEvents_1 it's referring to is the "when created->loop music (ogg file)" that I put in the title screen so it will play continuously throughout the game. I have a sneaking suspicious I did something wrong with the ogg file though.

When I go to load new sounds into Stencyl, I can drag and drop the MP3s (or click to import) but with the ogg files, I can only import them by clicking the import button. I can't drag and drop them into Stencyl.. which makes me think there's something funky with either my Mac settings or the ogg file itself.

Thanks in advance :)

EDIT: I figured it out! Apparently it was something wrong with the converted ogg file I had. I tried exporting the file with Audacity and now it's working. Very weird.

« Last Edit: March 10, 2014, 06:37:59 pm by kjs0118 »