Resolution switcher - win10 testers needed

0 favourites
  • Hi everybody!

    I'm writing a resolution switching tool to allow for better performance on gpu's with low fillrate capacity, intel integrated and the like. I don't have a computer with windows 10 installed so if you do, I'd be really grateful if you'd be willing to test it out for me and see if everything works the way it's supposed to.

    Here's how to install and use it:

    Extract the 'Launcher.exe' file to your win32 or win64 build folder and then run it.

    You'll see a pop-up window with one rolldown to change resolution and another one for windowed or fullscreen mode. Change the resolution to 1024x768 and then press 'Launch'.

    The screen resolution should change to 1024x768 for as long as the game runs and revert back to desktop resolution when you quit. Works best on exports with 'kiosk mode' enabled.

    Thanks for helping out, I really appreciate it

  • Shows me only black screen then it quits by itself.

    tested Win 10 64bit i5-4210u 4gb ram

  • Damn haha

    You didn't rename nw.exe to something else by any chance?

  • Damn haha

    You didn't rename nw.exe to something else by any chance?


  • Hmm... well that's not good. I think I need to find myself a win10 machine and do some thorough testing. Thanks for the help

  • I could do a quick test if you give me a complete package (launcher + test build) - Win 10 Pro 64bit, 8GB Ram, GTX 660

  • Thanks! I've tweaked the implementation somewhat since before so hopefully that helped. I'll throw a test build together and be back in a bit

  • I can help you test as well I know MadSPy was working on something similar before but don't know how far he came.

    But it would be great to be able to change resolution as it can make the game run a lot better om low end machines

  • I tested the current one and it worked! But I could only choose two different resolutions and one of them disabled the letterbox scale the game had so it got a bit stretched.

    However it did change the res and reset it when the game was closed so that is a big step

    Well done!

  • Anonnymitet:

    Thanks <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Here's the updated version!

    Test build (Launcher.exe and Game.exe is in here): ... d.rar?dl=0

    Test capx: ... .capx?dl=0

    Some notes:

    The program consists of two files. Launcher.exe and Game.exe. Launcher.exe is the UI part. This is where you choose your resolution and window/fullscreen (which doesn't work atm <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz">). Game.exe reads the resolution set in Launcher.exe and switches to it before executing nw.exe. So you don't need to run the launcher itself every time you want to run your game.

    Both Launcher.exe and Game.exe will create a new folder "cfg" inside your build folder and fill it with some txt files if they don't exist already. You can edit these to configure the button texts, window title text, and the resolutions you want to make available to the user. Launcher.exe will check the resolutions listed in 'res.cfg' against the ones available to the system you're running on, so it'll only list valid resolutions (as reported by the system).

    'ui.cfg' is where you can set the texts displayed in Launcher.exe to your liking. Pretty straightforward stuff. At the bottom of 'ui.cfg' you'll see the line 'Game.exe'. Set that to whatever you want to rename Game.exe to to point Launcher.exe in the right direction.

    Please let me know how it works out for ya and what system you're running on <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">


    Almost forgot.

    In 'launch.cfg' you'll see this:

    nw.exe (change this if you want to call nw.exe something else)

    1920 (current resolution as set by Launcher.exe)


    2.50000000 (delay in seconds before switching resolution. Tweak to suit your game's loading time)

    0.000000000 (time period in seconds to display a black screen while loading. The nw.js game window will display on top of it so you can safely leave it high if you want)

  • Tried and it works. Only thing is that the game scaling gets messed up. My game uses letterbox scaling and it gets streched when I change the launcher res. Any ideas how to keep the correct scaling?

    Forgot to mention that I'm on win7. Maybe this only works for win10?

  • Nah I don't think it's your windows version. I have one win7 and one win8.1 system to test on, and it works as intended on both of those.

    What this does is simply change the system resolution temporarily, forcing everything (including your game) to run in that resolution for as long as the target process (your game) is running.

    Have you tried lowering the resolution manually through Control Panel/Display to see if the scaling gets stretched the same way? If it doesn't, then the problem is on my end. But if it does, then maybe it's something to do with the way your display/display driver handles non-native resolutions. For instance, many if not most laptops will stretch everything to fit the screen by default, instead of scaling to fit aspect ratio.

  • Yo,

    I tired testbuild now, and it works. Well done. I'd make a use out of it too. Do you think I could use it when it's done? Also, if you would be able to turn it in to a plugin somehow, that would rock.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sure thing! I'm looking into license options atm for something as permissive as possible; no need to credit me, use however you like etc. Might just go with public domain to minimize the amount of headache

    I do plan to offer another version in the future with support for mac/linux and more customization options for the launch window, including using your own graphics, buttons, layout style etc, which will be commercial. Small fee, the price of a cup of coffee or two probably. You'll be able to use that however you like as well, with the exception of re-selling the software itself.

  • ErekT I tried setting the monitor resolution manually and you were right. It scales exactly the same way as your launcher so there was no issue

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