Music in Windows 8 Export

0 favourites
  • 14 posts
From the Asset Store
6 looping tracks to use in your games and projects. These tracks are in the style of the 1960s detective movie genre.
  • Hey all,

    I was at a Microsoft Game Development Conference hosted by my University for Computer Scientists and have entered a competition for best game app.

    Anyway, I have now finished my game and exported it to Windows8.

    For some reason, my music file "onwards.ogg" doesn't export into the media file. And it doesn't play - I tried adding it my self (also to the VSUltimate solution under "media") but nothing worked.

    I'm just wondering if there is something specific I have to do to get my music working with Windows 8 export. It works fine with test app.

    Close date is 26th of May for competition entries so no hurry just yet.

    Please and thank you :)

  • ^ use m4a instead of ogg

    app for windows8 still use with base of IE

  • Converted to wav and then imported again - everything works perfectly.

    It's failing when building the app package now in Visual Studio though.


    Thanks for your help!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Sorry for double posting if it's an issue here.

    Do we need the file "jquery-2.0.0.min.js"?

    Seems to be what is failing my validation.


  • Keep it together with c2runtime.js

    I'm not sure but maybe it make c2runtime.js lighter

    All things are my personal experience so if I'm wrong, please pardon me :-"

  • Yep I just had to export the js file as something different (the verification report told me how to do it)

    Now I'm all packaged up and my game has been sent to Microsoft.

    Hopefully I win at least a personal license or a $100 voucher from the Microsoft competition on this site because I really want the full version of this software - I love it!

    Thanks for your help :)

    Looking forward to being apart of this community.

  • Do not minify windows 8 games

  • ^ Yeah I did that also as a precaution when making my final build.

    Cheers for all the info guys - very helpful.

  • I was hoping you'd know this since your using the windows 8 validation thing, My game keeps failing validation for... uh... I'm not sure, let me c&P....

    Error Found: The UTF-8 file encoding test detected the following errors:

    File C:\Program Files\WindowsApps\11525nickfarrell.CastleDefence_1.0.0.0_neutral__eq1rxcmgmvq4a\pathfind.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte Order Mark).

    Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 form with a corresponding byte-order mark (BOM) in order to benefit from bytecode caching and to avoid other runtime error conditions.


    Error Found: The bytecode generation test detected the following errors:

    File \\?\C:\Program Files\WindowsApps\11525nickfarrell.CastleDefence_1.0.0.0_neutral__eq1rxcmgmvq4a\pathfind.js has JavaScript syntax or other problems.

    Impact if not fixed: As a performance optimization to accelerate JavaScript execution time, JavaScript files ending in the ".js" extension generate bytecode when the app is deployed. This optimization significantly improves start-up and ongoing execution times for JavaScript.

    Does anyone know what that means or how to fix it?

  • If you have UTF-8 encoding issues you need to load and re-save those files with Visual Studio, selecting that encoding.

    See this tutorial for Windows 8 getting the Clay plugin to work, the last paragraph above the image at the bottom.

    It might fix the bytecode failure for the Pathfinder.js as well.

  • I saw that, but I don't see the save file as.... option.... I'm confused!

  • If you are in Visual Studio and have your .js file open you can do.


    SAVE <filename> As...

    [Click on the little arrow to the right of the SAVE button on the bottom right of the dialog box]

    [Click Save with Encoding from that box]

    [Click yes to replace the file]

    [Change the Encoding type to the correct type and hit OK]

  • MrHannahBee

    Are you using the latest version of Construct 2?

    Ashley fixed the UTF-8 encoding problem a few versions ago.

  • Hello, I have the same issue with the path finding file.

    I have tried with the lasts stable (r132) and the latest beta (r138), in 2 different computers, and I get the same results. I have also followed mmoDust's detailed steps and I just keep getting the same 2 errors. I don't think the problem is just the encoding.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)