Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Code Vein"

From PCGamingWiki, the wiki about fixing PC games
m
m (→‎Graphical Enhancement: Link to UE4 article cvar editing guide)
Line 461: Line 461:
 
==Other information==
 
==Other information==
 
===Graphical Enhancement===
 
===Graphical Enhancement===
{{++}} Graphics can be improved beyond the games highest settings by editing UE4 console variables in the <code>Engine.ini</code> file.
+
{{++}} Graphics can be improved beyond the games highest settings by [[Engine:Unreal_Engine_4#Permanent_console-variable_.28cvar.29_changes|editing UE4 console variables]] in the <code>Engine.ini</code> file.
 
{{ii}} The [https://www.nexusmods.com/codevein/mods/32 "Improved Graphics and Performance"] mod includes a config file that tunes these variables to improve various things such as LoD distances, filtering, sharpness & more.
 
{{ii}} The [https://www.nexusmods.com/codevein/mods/32 "Improved Graphics and Performance"] mod includes a config file that tunes these variables to improve various things such as LoD distances, filtering, sharpness & more.
  

Revision as of 15:52, 30 June 2020

Code Vein
Code Vein cover
Developers
Shift[1]
Bandai Namco Entertainment
Publishers
Bandai Namco Entertainment
Engines
Unreal Engine 4[2]
Release dates
Windows September 27, 2019
Code Vein on MobyGames
Code Vein on Wikipedia

General information

Official website
Steam Community Discussions

Availability

Source DRM Notes Keys OS
Publisher website
Icon overlay.png
Windows
Amazon.com
Icon overlay.png
Windows
Gamesplanet logo.svg
Icon overlay.png
Deluxe Edition also available.
Windows
Green Man Gaming
Icon overlay.png
Deluxe Edition also available.
Windows
Humble Store
Icon overlay.png
Deluxe Edition also available.
Windows
Steam
Icon overlay.png
Deluxe Edition also available.
Windows
All versions require Steam and Denuvo Anti-Tamper DRM.[3]

Game data

Configuration file(s) location

System Location
Windows %LOCALAPPDATA%\CodeVein\Saved\Config\WindowsNoEditor
Steam Play (Linux) <Steam-folder>/steamapps/compatdata/678960/pfx/[Note 1]

Save game data location

System Location
Windows %LOCALAPPDATA%\CodeVein\Saved\SaveGames
Steam Play (Linux) <Steam-folder>/steamapps/compatdata/678960/pfx/[Note 1]

Save game cloud syncing

System Native Notes
Steam Cloud

Video settings

Graphics Settings
Graphics Settings
Brightness Settings
Brightness Settings

Template:Video settings

Advanced video settings variables are stored within encrypted save file and are loaded from save file about 30-40 seconds after launch, making it impossible to override r.DefaultFeature.AntiAliasing, r.AmbientOcclusionRadiusScale, r.DefaultFeature.MotionBlur, r.Tonemapper.Quality, r.MaterialQualityLevel and r.DepthOfFieldQuality from .ini level.
Using Temporal AA severely reduces intensity of bloom effects (or rather greatly increases brightness treshold at which given pixel "emits" bloom)

Widescreen resolution

Change render percentage/resolution scaling[4]
  1. Go to the configuration file(s) location.
  2. Open GameUserSettings.ini.
  3. Below [ScalabilityGroups], change sg.ResolutionQuality=xx to the desired resolution percentage (minimum 33.333302).

Notes

This tweak allows for upscaling/upsampling from smaller resolutions while running UI elements at the native screen resolution, which might be helpful for lower-end configurations.

Anti Aliasing (AA)

Adjust r.ScreenPercentage for downsampling[5]
  1. Go to the configuration file(s) location.
  2. Open Engine.ini with a text editor.
  3. Add [SystemSettings] to the bottom of the file, if that section doesn't already exist.
  4. Inside that section, add r.ScreenPercentage=100 where 100 is the desired resolution percentage.

Notes

This is the only method besides TAA to fight shader aliasing caused by rim lighting effect.

Ultra-widescreen

21:9 screenshot with aforementioned fix.
21:9 screenshot with aforementioned fix.
48:9 Example with the aforementioned fix.
48:9 Example with the aforementioned fix.
Centered HUD elements example.
Centered HUD elements example.
Character Creator 48:9 Example.
Character Creator 48:9 Example.
Fix pillarboxing and Vert- scaling[6]
  1. Go to <path-to-game>\CodeVein\Binaries\Win64\
  2. Make a backup copy of CodeVein-Win64-Shipping.exe.
  3. Open the original CodeVein-Win64-Shipping.exe in a hex editor, such as HxD.
  4. Search for F6 41 2C 01 4C, and replace with F6 41 2C 00 4C to remove pillarboxes.
  5. Search for 35 FA 0E 3C A4, and replace with 35 FA 3E 3C A4 for ultra-widescreen or EF D4 83 3C A4 for multi-monitor resolutions to change the FOV.
    • When finding and replacing these hex values, make sure that the find/replace tools are using "Hex-values" mode, and search direction (if using HxD) is set to All (Forward and Backward).

32:9

  1. Follow through steps 1-4 normally.
  2. Replace 35 FA 0E 3C A4 with EF D4 83 3C A4 for multi-monitor resolutions.
  3. Search for 39 8E E3 3F, and replace with 39 8E 63 40 to change the FOV for 32:9.

Notes

HUD elements are centered on-screen.
The game uses Vert- FOV scaling. As a result, users with aspect ratios above 21:9 should use the multi-monitor Hex-value. It is recommended to check the Notes section in WSGF Common Hex Values for instructions on how to get the recommended FOV values for those aspect ratios.
The FOV hex edit listed here is designed with Vert- in mind. It's not recommended to combine the FOV value mentioned here with the Hor+ FOV scaling tweak.
At multi-monitor resolutions, Character Creator only moves to the edge of what would be a 16:9 area.

Field of view (FOV)

Use Hor+ FOV scaling[7]
  1. Go to the configuration file(s) location.
  2. Open Engine.ini.
  3. At the bottom of the file, add [/Script/Engine.LocalPlayer].
  4. Below that line, add AspectRatioAxisConstraint=AspectRatio_MaintainYFOV.

Notes

This will cause the FOV to be wider (since the game is still using a Vert- FOV that hasn't been converted to Hor+) and may look distorted as a result. It is recommended to modify the FOV using the Hex-editing method in Ultra-widescreen and by checking the Notes section in WSGF Common Hex Values for instructions on how to get desired FOV values.
Don't use in conjunction with the ultra-widescreen or multi-monitor fixes unless the FOV hex values get changed to something Hor+ compliant.

Anisotropic filtering (AF)

Custom AF
  1. Go to the configuration file(s) location.
  2. Open Engine.ini with a text editor.
  3. Add [SystemSettings] to the bottom of the file, if that section doesn't already exist.
  4. Inside that section, add r.MaxAnisotropy=16 or the desired sample rate.

Chromatic aberration

Disable chromatic aberration
  1. Go to the configuration file(s) location.
  2. Open Engine.ini with a text editor.
  3. Add [SystemSettings] to the bottom of the file, if that section doesn't already exist.
  4. Inside that section, add r.SceneColorFringeQuality=0.
  5. Save the file.

Ambient occlusion

In-game SSAO setting actually controls Distance Field Ambient Occlusion (DFAO). SSAO is always on unless Post-Processing is set to "Low."[8]

Input settings

Input Settings
Input Settings
Game Settings
Game Settings
Camera Settings
Camera Settings

Template:Input settings

Mouse Acceleration

Instructions[9]
  1. Go to the configuration file(s) location.
  2. Open Engine.ini.
  3. At the bottom of the file, add [/Script/Engine.InputSettings].
  4. Below that line, add bEnableMouseSmoothing=xx, replacing the "xx" with "True" or "False".

Audio settings

Sound Settings
Sound Settings

Template:Audio settings

Language Settings
Language Settings

Localizations

Text Language settings can be changed via the Game's properties on Steam, or can be launched with a specific text language via one of the .bat files in <path-to-game>.[10]
Language UI Audio Sub Notes
English
Traditional Chinese
French
German
Italian
Japanese
Korean
Brazilian Portuguese
Russian
Spanish
Latin American Spanish

Network

Network Settings
Network Settings
Analytics Settings
Analytics Settings

Multiplayer types

Type Native Notes
LAN play
Online play
Co-op

VR support

3D modes State Notes
Nvidia 3D Vision
See Helix Mod: Code Vein.

Issues fixed

Re-enable developer console

The developer console can be re-enabled by following the steps on the Unreal Engine 4 page.

Elevator not moving or taking a long time to start moving

At frame rates above 60 FPS, certain elevators will not move even after the player has activated them.
Temporarily cap the frame rate to 30 or 60 FPS

Damage over time attacks not working as intended

At frame rates other than 60 FPS (assuming 60 FPS is the actual intended behavior), DOT attacks such as spells (Twilight, Sands of Depravity, etc) will do either less damage ticks if below 60 fps or more if above 60 fps. This behavior does not scale in any predictable way and varies between attacks. For example at 120 FPS Twilight spell will do one extra damage tick but at 30 FPS or less it will always do exactly one tick, however Sands of Depravity will do one tick less below 60 FPS but always do same amount of damage ticks at 60 FPS or more.
Cap the frame rate to 60 FPS for "intended" behavior or higher for potential advantage.

Issues unresolved

DPI Scaling Issues

Doesn't work properly with DPI Scaling in Windows.[11]

Other information

Graphical Enhancement

Graphics can be improved beyond the games highest settings by editing UE4 console variables in the Engine.ini file.
The "Improved Graphics and Performance" mod includes a config file that tunes these variables to improve various things such as LoD distances, filtering, sharpness & more.

API

Technical specs Supported Notes
Direct3D 11 DX12 can be enabled with -d3d12 commandline parameter but it is not officially supported, may improve performance for certain PC configurations. Causes crash on exit and during playback of any video (screen blood effect is also a video) and may require setting resolution manually in config file and saving it as read only or the game will always default to lowest resolution possible. Deleting/renaming CriWareData folder in CODE VEIN\CodeVein\Content can be used to circumvent crash when playing videos in DX12 mode.
Executable 32-bit 64-bit Notes
Windows

System requirements

Windows
Minimum Recommended
Operating system (OS) 7 SP1, 10
Processor (CPU) Intel Core i5-2300
System memory (RAM) 6 GB
Hard disk drive (HDD) 35 GB
Video card (GPU) Nvidia GeForce GTX 760
AMD Radeon HD 7850
2 GB of VRAM
DirectX 11 compatible
Sound (audio device) DirectX compatible
A 64-bit system is required.

Notes

  1. 1.0 1.1 File/folder structure within this directory reflects the path(s) listed for Windows and/or Steam game data (use Wine regedit to access Windows registry paths). Games with Steam Cloud support may store data in ~/.steam/steam/userdata/<user-id>/678960/ in addition to or instead of this directory. The app ID (678960) may differ in some cases. Treat backslashes as forward slashes. See the glossary page for details.

References

  1. Verified by User:KingKrouch on 2019-09-30
    Displays during startup logos
  2. Code Vein Is Being Made With Unreal Engine 4, Developed On A Separate Line From God Eater - last accessed on 06-04-2018
  3. Code Vein EULA
  4. Verified by User:KingKrouch on 2019-09-26
    Checked by editing configuration files.
  5. Verified by User:ChaosBahamut on 2019-12-19
  6. Verified by User:KingKrouch on 2019-09-26
    Checked by looking for common UE4 Pillarbox and FOV Values inside of Cheat Engine and HxD.
  7. Verified by User:KingKrouch on 2019-09-26
    Checked by looking for common UE4 FOV Values inside of Cheat Engine and HxD, and by editing configuration files.
  8. Code Vein - GTX 1660 ti - 1080p - 1440p - 4K - i5 9400f - Gameplay Benchmark PC (0:49-1:14) - last accessed on 2019-10-19
  9. Verified by User:KingKrouch on 2019-09-26
  10. Verified by User:KingKrouch on 2019-09-26
    Discovered when browsing game directory.
  11. Special K - v 0.10.3 - [Framepacing Percentile Analysis Page 219] - last accessed on 2019-09-26