+troobloo Posted April 1, 2018 Share Posted April 1, 2018 I have been working on a reverse Wherigo cache using Urwigo. The main item is the reverse cache box which entails the player utilising a radar ping to get distance to the cache.I have a media radar sound that I would like to be played when the player hits his radar ping button. The radar ping works and gets the distance. BUT, I cannot get the the sound to work, can someone assist? I have tried and tried and searched forums etc but cannot resolve this issue. Attached is the action for the radar ping. Quote Link to comment
+Forest-Ghost Posted April 1, 2018 Share Posted April 1, 2018 What is the sound file type? Also, what is the size of the sound file? Where is the sound not working - i.e. in the emulator or on the phone? It looks like the logic is correct. Quote Link to comment
+troobloo Posted April 1, 2018 Author Share Posted April 1, 2018 (edited) Sound file is an mp3. Size is 16.3 KB. The sound does not work in emulator, webigo nor on any phone tablet When I play the sound as a stand alone mp3 on my computor it plays Edited April 1, 2018 by troobloo Quote Link to comment
+Forest-Ghost Posted April 1, 2018 Share Posted April 1, 2018 I'm not sure what the problem is. I copied the code exactly as you have it and was able to play it with sound (I added a short sound to my version). Any chance you could upload the urwigo file with the sound file somewhere? Btw, webwigo does not support any sound although the urwigo emulator does. Quote Link to comment
+troobloo Posted April 1, 2018 Author Share Posted April 1, 2018 Thanks Forest-Ghost. I did not know that webwigo does not support sound, something learnt. What file do I upload? I do have a drop box account and could upload the file to that. Quote Link to comment
+Forest-Ghost Posted April 1, 2018 Share Posted April 1, 2018 Sure that will work. Please include the urwigo file and the sound file: two uploads. Quote Link to comment
+troobloo Posted April 1, 2018 Author Share Posted April 1, 2018 (edited) I understand about uploading the sound file. What urwigo file do I upload? Do you mean a gwc or gwz file? Edited April 1, 2018 by troobloo Quote Link to comment
Ranger Fox Posted April 1, 2018 Share Posted April 1, 2018 It’s the .urwigo file and the pictures and audio you’re using in the cartridge (so the GWZ and .urwigo file). Forest-Ghost, I’d check the codec used to create the mp3, perhaps even reencode the mp3 and see what happens. Quote Link to comment
+troobloo Posted April 1, 2018 Author Share Posted April 1, 2018 I hope I have done the upload right. Here is the link https://www.dropbox.com/sh/2m51yhr2eam33sf/AABR9zC1F1vACTCTf-rrK_wma?dl=0 Quote Link to comment
+Forest-Ghost Posted April 2, 2018 Share Posted April 2, 2018 Could you also upload the .urwigo file? This should look like a green, red, and sort of turquoise colored icon. I opened the .lua file for your cartridge and it looks like there are two media assignments for the radar ping sound. The first is a file labeled phone.fdl. This file should be deleted as it is not a valid media type for sound. There should only be .mp3 or .wav media assignments for sound files. I edited the lua file and deleted the phone.fdl and the radar ping works fine now. Here is a link to the working cartridge. I would recommend using only one file for sound files. Occasionally we use two files for images media based upon if the player is using a garmin or smartphone but I don't think it is really necessary and probably just uses extra space. Quote Link to comment
+troobloo Posted April 2, 2018 Author Share Posted April 2, 2018 (edited) OK, so you suggest not to include the .fdl files for someone using a garmin? I have just uploaded the Bundy Reverse. urwigo file as you requested. Is it possible for you to send me the amended urwigo file? I havent finished the cartridge and when I download your amended Wherigo from Wherigo.com I cannot open it in urwigo to continue working on it. Edited April 2, 2018 by troobloo Quote Link to comment
+Forest-Ghost Posted April 2, 2018 Share Posted April 2, 2018 Ahh I apologize, I had forgotten that .fdl is a valid media type for Garmin. I have not messed around with uploading multiple sound files in urwigo or using .fdl sound files. If anyone else has experience with this please chime in. I may have found a fix: reverse the order of the media assignments in urwigo so that the .mp3 file is on top. I did this and was able to hear the sound file in the urwigo emulator and on my phone. I have not tested it out yet to see if the .fdl sound plays on my garmin device though. 1 Quote Link to comment
+troobloo Posted April 2, 2018 Author Share Posted April 2, 2018 Forest-Ghost, I changed the order of the sound files and it did work on the emulator, thank you. What type of phone did you try it on - apple or android? Quote Link to comment
+Forest-Ghost Posted April 2, 2018 Share Posted April 2, 2018 I tested it this morning and got sound on my iphone se, sony nexus (android), and on my garmin oregon (with the .fdl file). Best I understand it is this: the way the cartridge was originally set up, the .fdl file is not readable by the phone or emulator but since it is a valid media type and it was the first media listed, the players read it but can't do anything with it. The way the cartridge is setup now, they read the .mp3 file first and we get mp3 sound. But if I switch over to my garmin and choose the garmin download type from the Wherigo.com website, the mp3 file is stripped from the cartridge (when it is being downloaded on Wherigo.com) and the first sound on the list now becomes the .fdl file. Quote Link to comment
Ranger Fox Posted April 2, 2018 Share Posted April 2, 2018 It's interesting to infer the Wherigo builder does not strip out FDL files from a Pocket PC cartridge download. I'm familiar with it stripping the MP3 files out of a Garmin cartridge download. And this also means the player apps themselves do not seem to choose from the media list based on a preferred format (i.e. when it sees both FDL and MP3, it's supposed to choose MP3 as the preferred format before it attempts to load the FDL file). Great going, Forest-Ghost! Quote Link to comment
+troobloo Posted April 2, 2018 Author Share Posted April 2, 2018 Thank you Forest-Ghost for your time and expertise and testing on different player platforms to resolve this issue. I understand your logic on which order the sound files should be now. Such a small difference in the set up can make a huge difference when playing cartridge. Huge thanks from me !! Quote Link to comment
+Forest-Ghost Posted April 2, 2018 Share Posted April 2, 2018 Glad I was able to help! Maybe in the future, we can include some type of preferred media format into the builders for cartridges like this. Quote Link to comment
+troobloo Posted April 25, 2018 Author Share Posted April 25, 2018 Further question to my original post. I would like to turn off the radar ping when the player enters the GZ zone BUT retain the total number of radar pings used as an item in the players inventory. Is this possible? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.