Tutorial on publishing to windows now the option is gone?

ETGgamesETGgames Member, PRO Posts: 190
edited April 2016 in Community Tutorials

Yes, I know you're meant to use cordova or something, but this is really beyond me and many developers looking to publish to windows. Can someone quickly tell us how to do it step by step? I don't think there is anything on the gs website like this.

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited April 2016

    Anything like this can't be told quickly. Try and read up on Cordova and then maybe show us? I think you are underestimating your abilty to do this. You can use phonegap as well.

    http://phonegap.com/

  • ETGgamesETGgames Member, PRO Posts: 190

    Hmm, yes i tried phonegap as there is a gui which is nicer to work with that the CLI cordova offers. However, there is quite literally not a single tutorial on the internet that shows how to go from the html5 folder we can download from gs to creating an exe file. I dont even know where to start. Should I be replacing the index.html in the sample project in phonegap? Should I be trying to upload the zip file with the html5 contents directly to the Adobe Bd website? When I tried that it says a config.xml file is missing. I just need a simple starting point, from there, the rest is researchable. Thanks

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    @ETGgames said:
    Hmm, yes i tried phonegap as there is a gui which is nicer to work with that the CLI cordova offers. However, there is quite literally not a single tutorial on the internet that shows how to go from the html5 folder we can download from gs to creating an exe file. I dont even know where to start. Should I be replacing the index.html in the sample project in phonegap? Should I be trying to upload the zip file with the html5 contents directly to the Adobe Bd website? When I tried that it says a config.xml file is missing. I just need a simple starting point, from there, the rest is researchable. Thanks

    As ardent said open the index file in text wrangler or text edit. He normally puts instructions in that file embeded as comments in the HTML code.

  • ETGgamesETGgames Member, PRO Posts: 190
    edited April 2016

    Which index file should I be using? There are 4

    Edit: Sorry, theres one sample-index. Which should be used for windows publishing?

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    @ETGgames said:
    Which index file should I be using? There are 4

    Edit: Sorry, theres one sample-index. Which should be used for windows publishing?

    Okay so in the test group @jonmulcahy is doing testing and right now there are issues using Cordova and phonegap but he and GS staff member ardent are working out the issues. Once Jon has it sorted, I'm going to have him teach me and then I can make a tutorial about it.

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408

    yea, I had some strange behaviors... but I think most of it is just the learning curve.

    I tried Phonegap on my mac using their beta GUI app, and it crashed. I have not yet tried their command line version which is more stable

    I tried Cordova, but that limits you to Windows Store apps, which are different than standalone .exe files. Since I am trying to build an .exe for my greenlit game, I moved on from that.

    Crosswalk Project looked like it would work, it generated an MSI file, but crashed when launching on Windows 7.

    NW.js, which is what I used last fall, gave me a working .exe file. It has 10-15 extra files with it, but it works. If you wanted to distribute it on your own website, you'd have to create an windows installer. It's not difficult, I've done it in my real job for years. But, it's another step.

    Got lots of playing around to do, I want to get a working project on each platform.

  • ETGgamesETGgames Member, PRO Posts: 190

    @jonmulcahy Could you perhaps tell us how you did it with nw.js? Thanks

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    @ETGgames said:
    @jonmulcahy Could you perhaps tell us how you did it with nw.js? Thanks

    Once he works it out he is going to teach me and I'll do a couple videos. He doesn't have it all worked out yet.

  • ETGgamesETGgames Member, PRO Posts: 190

    OK, thanks

  • ETGgamesETGgames Member, PRO Posts: 190

    Just so people know where I am with NW.JS and have any idea of the problem:

    I have managed to get the html5 working on mac and windows as .app and .exe respectively. However, there is not audio at all, and I know for a fact NW.JS supports .wav and .ogg, which is what gs uses. Anyone have an idea of what might be wrong here?

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    @ETGgames said:
    Just so people know where I am with NW.JS and have any idea of the problem:

    I have managed to get the html5 working on mac and windows as .app and .exe respectively. However, there is not audio at all, and I know for a fact NW.JS supports .wav and .ogg, which is what gs uses. Anyone have an idea of what might be wrong here?

    Look in the slack thread Jon talked about the issue there.

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    edited May 2016

    @Lost_Oasis_Games said:

    @ETGgames said:
    Just so people know where I am with NW.JS and have any idea of the problem:

    I have managed to get the html5 working on mac and windows as .app and .exe respectively. However, there is not audio at all, and I know for a fact NW.JS supports .wav and .ogg, which is what gs uses. Anyone have an idea of what might be wrong here?

    Look in the slack thread Jon talked about the issue there.

    I also posted about it in my thread here: http://forums.gamesalad.com/discussion/89397/a-long-way-home-greenlit-on-steam, about 1/2 way down page 3

    basically mp4 files are not supported, and the assets file has references to both audio types, you need to remove the mp4 references. I submitted a bug for it, i think the work around is going to be a publishing option to allow you to choose if you want mp4, ogg, or both.

Sign In or Register to comment.