Code Vein

From PCGamingWiki, the wiki about fixing PC games
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 Wikipedia

General information

Official website
Steam Community Discussions

Availability[edit]

Source DRM Notes Keys OS
Publisher website
Icon overlay.png
Windows
Amazon.com
Icon overlay.png
Windows
Gamesplanet
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[edit]

Configuration file(s) location[edit]

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

Save game data location[edit]

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

Save game cloud syncing[edit]

System Native Notes
Steam Cloud

Video settings[edit]

Graphics Settings
Graphics Settings
Brightness Settings
Brightness Settings

Widescreen resolution[edit]

Change render percentage/resolution scaling[7]
  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.
Adjust r.ScreenPercentage for downsampling[citation needed]
  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[edit]

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[8]
  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).

Notes

HUD elements are centered on-screen.
The game uses Vert- FOV scaling. As a result, the FOV values mentioned in this fix might not work for wider aspect ratios than 21:9 (e.g: 32:9, or 48:9) and narrower aspect ratios (e.g: 16:9). 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)[edit]

Use Hor+ FOV scaling[9]
  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)[edit]

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[edit]

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[edit]

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

Input settings[edit]

Input Settings
Input Settings
Game Settings
Game Settings
Camera Settings
Camera Settings
Keyboard and mouse State Notes
Remapping
In-Game HUD will prioritize prompts for mouse bindings over keyboard bindings when using Keyboard and Mouse. This can be solved by not using mouse inputs for certain actions.
Mouse acceleration
See Mouse Acceleration
Mouse sensitivity
Horizontal and Vertical Sensitivity
Mouse input in menus
Mouse Y-axis inversion
Horizontal and Vertical Inversion
Controller
Controller support
Full controller support
Controller remapping
Controller sensitivity
Horizontal and Vertical Sensitivity
Controller Y-axis inversion
Horizontal and Vertical Inversion
Controller types
XInput-compatible controllers
Xbox button prompts
Impulse Trigger vibration
DualShock 4 controllers
DualShock button prompts
Requires Steam's built-in DualShock 4 Controller support disabled.
Light bar support
Connection modes unknown
Tracked motion controllers
Generic/other controllers
Only XInput and Dualshock 4 Controllers are supported
Additional information
Controller hotplugging
Haptic feedback
Simultaneous controller+KB/M

Mouse Acceleration[edit]

Instructions[11]
  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[edit]

Sound Settings
Sound Settings
Audio feature State Notes
Separate volume controls
"Music", "Sound Effects", and "Voice"
Surround sound
Unknown if 5.1 or 7.1 Surround Sound
Subtitles
Closed captions
Mute on focus lost
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>.[12]
Language UI Audio Sub Notes
English
Traditional Chinese
French
German
Italian
Japanese
Korean
Brazilian Portuguese
Russian
Spanish
Latin American Spanish

Network[edit]

Network Settings
Network Settings
Analytics Settings
Analytics Settings

Multiplayer types

Type Native Notes
LAN play
Online play
Co-op

Issues fixed[edit]

Re-enable developer console[edit]

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[edit]

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

Issues unresolved[edit]

DPI Scaling Issues[edit]

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

Other information[edit]

Graphical Enhancement[edit]

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[edit]

Technical specs Supported Notes
Direct3D 11
Executable 32-bit 64-bit Notes
Windows

System requirements[edit]

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:BesuBaru 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. 4.0 4.1 Verified by User:BesuBaru on 2019-09-26
    Checked in-game graphics settings. Custom resolutions set in the NVIDIA Control Panel (i.e: 2560x1080, 5760x1080) appear.
  5. Verified by User:BesuBaru on 2019-09-26
    Checked with custom resolutions in the NVIDIA Control Panel, and by setting the resolution inside of Windows before launching in Borderless mode.
  6. Verified by User:BesuBaru on 2019-09-26
    Checked the in-game graphics settings. Setting a custom FPS cap through the GameUserSettings.ini file doesn't work.
  7. Verified by User:BesuBaru on 2019-09-26
    Checked by editing configuration files.
  8. Verified by User:BesuBaru on 2019-09-26
    Checked by looking for common UE4 Pillarbox and FOV Values inside of Cheat Engine and HxD.
  9. Verified by User:BesuBaru on 2019-09-26
    Checked by looking for common UE4 FOV Values inside of Cheat Engine and HxD, and by editing configuration files.
  10. Code Vein - GTX 1660 ti - 1080p - 1440p - 4K - i5 9400f - Gameplay Benchmark PC (0:49-1:14) - last accessed on 2019-10-19
  11. Verified by User:BesuBaru on 2019-09-26
  12. Verified by User:BesuBaru on 2019-09-26
    Discovered when browsing game directory.
  13. Special K - v 0.10.3 - [Framepacing Percentile Analysis Page 219] - last accessed on 2019-09-26