Difference between revisions of "Engine:Unreal Engine 4"
(Add info about changing cvar values with Engine.ini) |
(Add info about re-enabling UE4 console) |
||
Line 14: | Line 14: | ||
==Issues fixed== | ==Issues fixed== | ||
+ | ===Re-enable developer console=== | ||
+ | {{ii}} The developer console allows changing various UE4 console-variables at runtime, along with being able to run commands like '''ToggleDebugCamera''' to enable a flycam mode, amongst many others. | ||
+ | {{--}} Sadly the majority of games ship with the console disabled, even though all the code for it is mostly still in place. | ||
+ | {{++}} Fortunately that residual code allows for a simple mod that can bring back the console on most UE4 titles! | ||
+ | {{Fixbox|description=Automatically unlock the console with UE4 Console Launcher|fix= | ||
+ | # Download the console launcher from [https://community.pcgamingwiki.com/files/file/1426-universal-ue4-dev-console-launcher/ this page]. | ||
+ | # Extract the contents of the ZIP into the games Win64 folder, next to the games main EXE. | ||
+ | # Run the UE4ConsoleLaunch.exe application, which will launch the game and inject the console unlocker automatically. | ||
+ | # Now while in-game you should be able to hit the Tilde key to bring up the UE4 console (one press brings up mini-console, two presses will show the full thing) | ||
+ | You can make a shortcut to the UE4ConsoleLaunch.exe file, or add it to Steam as a non-Steam game, so that the game will always have the console enabled when you run it.<br/> | ||
+ | If Tilde key doesn't work try following the instructions in the console unlockers README.txt file.<br/> | ||
+ | A list of default UE4 cvars can be [https://digilander.libero.it/ZioYuri78/ found here], note that this list is for UE4 in general, most games will likely have custom ones not listed here.}} | ||
+ | |||
+ | Alternatively: | ||
+ | {{Fixbox|description=Extract & manually set up UE4 Console Unlocker|fix= | ||
+ | # Download the console unlocker from [https://framedsc.github.io/GeneralGuides/universal_ue4_consoleunlocker.htm#downloading-the-unlocker this page]. | ||
+ | # Extract the ZIP somewhere, and open the <code>IGCSInjector.ini</code> in notepad. | ||
+ | # Edit the line starting with <code>Process</code> to the filename of the games main EXE, eg. <code>Process=CodeVein-Win64-Shipping.exe</code> | ||
+ | # Save the file, then start the game. | ||
+ | # Once at the main-menu, alt-tab out of the game, right click IGCSInjector.exe, and choose "Run as administrator". | ||
+ | # A console window should appear, if all goes well it should mention that the in-game console is now enabled. | ||
+ | # Now while in-game you should be able to hit the Tilde key to bring up the UE4 console (one press brings up mini-console, two presses will show the full thing) | ||
+ | If Tilde key doesn't work try following the instructions in the console unlockers README.txt file.<br/> | ||
+ | A list of default UE4 cvars can be [https://digilander.libero.it/ZioYuri78/ found here], note that this list is for UE4 in general, most games will likely have custom ones not listed here. | ||
+ | You'll also need to re-run the IGCSInjector.exe each time you start the game, as this fix sadly isn't permanent (or use the console-launcher above)}} | ||
+ | |||
===Permanent console-variable (cvar) changes=== | ===Permanent console-variable (cvar) changes=== | ||
{{ii}} Like most engines that use console-variables UE4 has a config file that it can read these variables values from at startup. | {{ii}} Like most engines that use console-variables UE4 has a config file that it can read these variables values from at startup. |
Revision as of 09:11, 9 October 2019
Developers | |
---|---|
Epic Games | |
Website | |
https://www.unrealengine.com/ | |
First release date | |
May 2012 | |
Predecessor | |
Unreal Engine 3 | |
Issues unresolved
Smoothed frame rate
- Similar to Unreal Engine 3, many Unreal Engine 4 games (particularly Indie-developed games) use frame rate smoothing with a default value of 62, limiting fps in these games to 62.
- Unlike Unreal Engine 3, the .ini configuration files of Unreal Engine 4 games are by default compressed into encrypted files and not readily accessible. As a result this 62 fps cap cannot be removed through editing of the configuration files unless the developer actively enables the files to be accessible. Most indie developers lack the experience or foresight to do this since Unreal Engine 4 does not do it by default.
- If the developer does allow for the fps limit to be edited, the relevant commands are generally in GameUserSettings.ini.
Issues fixed
Re-enable developer console
- The developer console allows changing various UE4 console-variables at runtime, along with being able to run commands like ToggleDebugCamera to enable a flycam mode, amongst many others.
- Sadly the majority of games ship with the console disabled, even though all the code for it is mostly still in place.
- Fortunately that residual code allows for a simple mod that can bring back the console on most UE4 titles!
Automatically unlock the console with UE4 Console Launcher |
---|
You can make a shortcut to the UE4ConsoleLaunch.exe file, or add it to Steam as a non-Steam game, so that the game will always have the console enabled when you run it. |
Alternatively:
Extract & manually set up UE4 Console Unlocker |
---|
If Tilde key doesn't work try following the instructions in the console unlockers README.txt file. |
Permanent console-variable (cvar) changes
- Like most engines that use console-variables UE4 has a config file that it can read these variables values from at startup.
- Unlike most engines though the method it uses is a little non-obvious, which resulted in people using hacks such as adding to the Scalability.ini file (which could end up with inputted values being ignored depending on your graphics settings).
- Entering cvars into the Engine.ini file instead should ensure the value changes will take place no matter what.
Add cvar name/values to the Engine.ini file |
---|
The Engine.ini file will usually accept cvar name/value pairs inside it, but only if they're entered into a
|
- This bug may occur when using a Vulkan beta driver from Nvidia.
Disable Use Collapsed Arrays option for the game |
---|
Run the game with this Launch Parameter: __GL_GlslUseCollapsedArrays=0 On Steam that would be: __GL_GlslUseCollapsedArrays=0 %command% |
Ultrawide and multi-monitor support
- Unreal Engine games are Vert- by default, unless the developer specifically implements proper Hor+ ultrawide support. See each individual game's entry page for specifics.
- If a game is Vert-, FOV can be increased to give a proper 1:1 Hor+ ultrawide image. See the ultra-widescreen glossary page for details.
- If a game does not allow FOV to be adjusted, and an external mod to implement it does not exist for the specific game in question, then the game does not support a proper ultrawide experience.
- For multi-monitor setups, the resolution may be so wide that the in-game FOV option may not go high enough to achieve a proper 1:1 Hor+ image. See individual game entry pages for work-arounds.