Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Plugin: Launcher with graphics settings

Teddy0kTeddy0k Posts: 205
Hiro Protagonist
edited November 2015 in Unreal Development
I've made a UnrealEngine plugin which adds a Launcher window to your game with some graphics settings, like this;

6jviJv9.png?1?6567

You can download the plugin here;
http://www.mediafire.com/download/skjz15jcb93ju0a/ScalabilityUIPlugin_v4_4_1.zip

And you can contribute to the source code here;
https://github.com/Teddy0/ScalabilityUIPlugin

It will pop up this window when you start the game (but not the editor) and allow users to lower graphical settings to help them hit 75 fps.

Pixels Per DisplayPixel: adjusts the resolution, and has a dramatic effect on performance.
Anti-Aliasing: Lowering this to Low/Medium will help performance at high resolutions
Post Processing: Lowering this to Low/Medium will disable tone mapping and bloom, both of which have a high impact on performance

The rest are pretty self explanatory.

You can change the banner image by replacing this file;
Plugins\ScalabilityUIPlugin\Resources\Banner.png
«1

Comments

  • DaanPolDaanPol Posts: 11
    NerveGear
    Oh wow thanks a ton! This makes life a whole lot easier!
  • n00854180tn00854180t Posts: 323
    Very nice! I was not looking forward to making my own graphics settings in game, so this is a nice alternative.
    Storyteller: Fireside Tales - An immersive VR audiobook player.

    The VR Dungeon Survival Project - First person 3D roguelite survival game.

    Twitter
    IndieDB
  • Very nice. I will definitely check this out and probably use it for my project :)

    When I compile my project, it doesn't work. It does work when I launch it as a standalone game from the editor. Is there anything extra I need to do to package it for end users?
  • getnamogetnamo Posts: 85
    Brain Burst
    Good stuff, this is probably way cleaner than the BP console commands I was using.
    Current Project: Skycall
  • n00854180tn00854180t Posts: 323
    plagiarize wrote:
    Very nice. I will definitely check this out and probably use it for my project :)

    When I compile my project, it doesn't work. It does work when I launch it as a standalone game from the editor. Is there anything extra I need to do to package it for end users?

    If it's a "content only" project, there's a problem where using plugins doesn't work unless you add some dummy game code and compile the engine against it. There are some active discussions of it on the forums, I guess they're fixing it but for now you have to set it up as a code project and just add some dummy game class and compile, for it to be able to load plugins in the packaged project.

    Kind of a pain.
    Storyteller: Fireside Tales - An immersive VR audiobook player.

    The VR Dungeon Survival Project - First person 3D roguelite survival game.

    Twitter
    IndieDB
  • mhvuzemhvuze Posts: 25
    That's awesome, I hope developers adapt this. Much appreciated as owner of a mid-end rig :D
  • BoffBoff Posts: 190
    This looks great, thanks for creating it and sharing!

    I'll definitely be using it when I start dabbling with UE4. Got a few Unity things to finish off first!
  • n00854180t wrote:
    plagiarize wrote:
    Very nice. I will definitely check this out and probably use it for my project :)

    When I compile my project, it doesn't work. It does work when I launch it as a standalone game from the editor. Is there anything extra I need to do to package it for end users?

    If it's a "content only" project, there's a problem where using plugins doesn't work unless you add some dummy game code and compile the engine against it. There are some active discussions of it on the forums, I guess they're fixing it but for now you have to set it up as a code project and just add some dummy game class and compile, for it to be able to load plugins in the packaged project.

    Kind of a pain.
    Understood. I've done this by accident before, so I know how to do what your describing. I'll check it out!
  • RickDangerousRickDangerous Posts: 86
    Hiro Protagonist
    edited August 2014
    Anyone else having trouble downloading? It says "temporary problem.Retrying" for more than an hour now.
    EDIT: Download is working again this morning :)
  • Hi, nice!

    You should probably add an option for the console command 'hmd sp 130' that governs the supersampling used for the Rift distortion Shader, and has a very high impact on framerate
    See https://forums.unrealengine.com/showthread.php?12859-Theoretical-Performance
    or https://forums.unrealengine.com/showthread.php?23482-General-bad-Oculus-Rift-performance-in-Unreal-Engine-4

    Cheers,
    SRombauts
  • GigantoadGigantoad Posts: 395
    Nexus 6
    This is great. Could you complile this for 4.4?
  • NikorasuNikorasu Posts: 127
    Art3mis
    Gigantoad wrote:
    This is great. Could you complile this for 4.4?
    Seconded. I just had to remove this plugin from my project, because I couldn't load it into 4.4.. :(
    Hope you get a chance to update it, this should be included in UE4 by default IMO. :D
  • GigantoadGigantoad Posts: 395
    Nexus 6
    Nikorasu wrote:
    Gigantoad wrote:
    This is great. Could you complile this for 4.4?
    Seconded. I just had to remove this plugin from my project, because I couldn't load it into 4.4.. :(
    Hope you get a chance to update it, this should be included in UE4 by default IMO. :D

    I compiled it into 4.41 source in the meantime, however I seem to know too little about plugin development to make it standalone and redistributable. If someone here knows the steps involved, let me know.
  • n00854180tn00854180t Posts: 323
    Gigantoad wrote:
    Nikorasu wrote:
    Gigantoad wrote:
    This is great. Could you complile this for 4.4?
    Seconded. I just had to remove this plugin from my project, because I couldn't load it into 4.4.. :(
    Hope you get a chance to update it, this should be included in UE4 by default IMO. :D

    I compiled it into 4.41 source in the meantime, however I seem to know too little about plugin development to make it standalone and redistributable. If someone here knows the steps involved, let me know.

    Just upload the Launcher's plugin folder. If you want to slim down the upload, just don't include the Intermediate folder.
    Storyteller: Fireside Tales - An immersive VR audiobook player.

    The VR Dungeon Survival Project - First person 3D roguelite survival game.

    Twitter
    IndieDB
  • NikorasuNikorasu Posts: 127
    Art3mis
    Gigantoad wrote:
    Nikorasu wrote:
    Gigantoad wrote:
    This is great. Could you complile this for 4.4?
    Seconded. I just had to remove this plugin from my project, because I couldn't load it into 4.4.. :(
    Hope you get a chance to update it, this should be included in UE4 by default IMO. :D

    I compiled it into 4.41 source in the meantime, however I seem to know too little about plugin development to make it standalone and redistributable. If someone here knows the steps involved, let me know.
    If you've got it working with 4.4.1, you could just grab the plugin ScalabilityUIPlugin folder zip it and upload it somewhere. Supposedly. heh I think there's a config file too, but it might not be necessary, and there's a copy of it in the existing dl anyway.
  • GigantoadGigantoad Posts: 395
    Nexus 6
    Hmm yeah, tried that before but couldn't get it to run in my binary version of the editor. Just tried again and it gives me the version mismatch on startup. It may be because the binary version says:

    4.4.1-2270799+++depot+UE4-Releases+4.4

    whereas my custom compiled one says:

    4.4.1-0+UE4

    Can I manually set this version number somewhere when compiling the editor? It's all a bit of a mystery.
  • NikorasuNikorasu Posts: 127
    Art3mis
    Darn, yeah I haven't a clue.. :/

    Really wish I knew how to compile this stuff myself.. :(
  • Could someone give me a quick rundown on how to rebuild this for 4.4.1? I would like to use this for a project i'm working on but i'm not sure how to rebuild a plugin.
  • Teddy0kTeddy0k Posts: 205
    Hiro Protagonist
    I'll upgrade and rebuilt it this weekend
  • Teddy0k wrote:
    I'll upgrade and rebuilt it this weekend


    you rock! thank you sir!
  • NikorasuNikorasu Posts: 127
    Art3mis
    Teddy0k wrote:
    woohoo! You just made my day! :D Can't wait to test it out.

    Thanks for the update! EDIT: lol, you changed the plugin name to "RollercoasterPlugin"?
  • NikorasuNikorasu Posts: 127
    Art3mis
    Um, I seem to be encountering a problem..
    When I try to load up a project UE4.4.1 project with this plugin installed in it, I get this error:
    "Plugin 'RollercoasterPlugin' failed to load because module 'RollercoasterPlugin' does not appear to be compatible with the current version of the engine. The plugin may need to be recompiled."

    :( I was getting this same error before, when I tried to use the 4.3 version in 4.4, but I don't understand why I'm seeing this error now..
  • Maybe you upload wrong files or link :shock:
  • hfbvisualshfbvisuals Posts: 4
    NerveGear
    Hello,

    I'm having the same problem as Nikorasu, could this be correct?
  • RickDangerousRickDangerous Posts: 86
    Hiro Protagonist
    Thanks a bunch! :D

    I had a lot of problem with installing this but finally figured it out.
    If you have the old version of the plugin installed it's not enough to just overwrite with the new files.
    You need to launch UE4 and go to the plugin window and disable the old Scaler plugin. UE4 will ask if you want to restart. Click yes.
    When UE4 has restarted, close it and copy the new plugin files as described in the install notes.
    Launch UE4 and enable the plugin. UE4 will restart again.

    Thank you so much for your great plugin. I really appreciate it.
  • MotanumMotanum Posts: 4
    NerveGear
    I keep getting the following error after packing my project with the plug in and trying to run it.

    http://puu.sh/bqS6i/242d34a8a0.png

    Any clues?

    Thanks!
  • owenwpowenwp Posts: 681 Oculus Start Member
    You should really add a slider for screen space reflections, it has by far the largest effect on framerate, and if your system cant handle it then turning everything else down to lowest wont save you.
  • NedoNedo Posts: 295
    Hiro Protagonist
    Motanum wrote:
    I keep getting the following error after packing my project with the plug in and trying to run it.

    http://puu.sh/bqS6i/242d34a8a0.png

    Any clues?

    Thanks!

    Looks like the plugin is for UE 4.4.1
    i run UE 4.4.2 and have the same problem, can't use it.
    Order DK1 Mar 30, 2013 / Order DK2: Mar 19, 2014 / Order CV1: Jan 6, 2016 / Order HTC Vive Feb 29, 2016
Sign In or Register to comment.