Main body
To either request support or contribute findings to the project, our Discord Server can be found here.
If you see me in game say hi! My username is "I want to eat flowers!"
I also stream myself working on the config on twitch frequently. I think it's neat I guess say hi :D
If you do not speak english there are translations available here
Instrucciones en español aqui
Инструкции на русском тута
Instruções em Português aqui
Инструкции на български тук
Istruzioni in italiano qui
Instructions en français ici
中文说明
Інструкції українською тут
Instrukciók magyarul itt
I've probably put at least NEARLY A THOUSAND HOURS into working on this project. I want it to be free forever, but I'm dirt poor and if you would like to donate as a means of showing thanks I have a kofi here https://ko-fi.com/sqooky (I will love you forever)
To either request support or contribute findings to the project, our Discord Server can be found here.
If you see me in game say hi! My username is "Sqooky!"
To either request support or contribute findings to the project please leave a commentNO AI WAS USED IN THE MAKING OF THIS PROJECT AND NONE WILL EVER BE USED.
INSTALLATION
A guide for installation can be found here.
To install the performance config replace the gameinfo.gi in steamapps/common/deadlock/game/citadel with the one downloaded from this repository. To locate your deadlock installation:• Right click deadlock inside of steam in your game library
• Hover over "manage"
• Click "browse local files"
• go to /deadlock/game/citadel/ and replace the gameinfo.gi file in that location with the one downloaded from this page
This config has mod support patched in by default.
FAQ
• "Will this effect my mods?"
No. Every config file included in this repo has mod support already added.
gameinfo.gi is a configuration file for Source games, which the game loads on startup. It contains blocks of configs in the form "", split into multiple categories/sections by {}.
My game doesn't open with the config! Something is broken! (disabling mods)
If you get an error message like FATAL ERROR: ... .xml that means a old/outdated/broken mod is responsible.
Solutions:
• Delete the mods: go to steamapps/common/Deadlock/game/citadel/addons and delete all its contents.
• Disable mod loading: open steamapps/common/Deadlock/game/citadel/gameinfo.gi and search for "citadel/addons". add // in front of that line (in front of Game): // Game "citadel/addons". Then make sure to start through steam, not a mod manager.
• this allows you to keep your mod folder intact
Editing gameinfo.gi
When editing gameinfo.gi you should only do the following 2 things, to be safe:
• Change the value of a config, for example panorama_max_fps "30" to panorama_max_fps "60"
• Add and remove // from lines only if its followed by a config like panorama_max_fps "30"
• Do not remove // from lines which contain a sentence or note
• Do not remove // from behind a config
If you follow these rules you can still cause issues, but at least those issues will be related to the configs you changed, not the game failing to read the file.
gameinfo.gi is getting reset
This is very likely caused by starting through Deadlock Mod Manager, which checks your gameinfo.gi for some pretty basic things and replaces it if that check fails. Its recommended you manage mods manually, you basically just place the mod files in steamapps/common/Deadlock/game/citadel/addons after extracting them from the zip/7z, and make sure Game "citadel/addons" does not have a // before it.- "Will this affect my mods?"
No. Every config file included in this repo has mod support already added.
• "How do I find a value in the config"
Press ctrl+f in your text editor and type in the string you want.
• "How do I restore a value to default"
Comment it out.
• "What does commenting mean"
To comment a line put // at the front of the line. It will make it not executed by the config.
• "Why are my characters dark in the portraits on the end screen and shop"
lb_enable_dynamic_lights set it to true
• "Why are buildings popping in and out"
r_farz or r_mapextents comment them out.
• "How do I change my fov"
citadel_camera_hero_fov or r_aspectratio Comment this out or lower the value.
• "The config broke this patch"
The gameinfo.gi gets overwritten every major update. You need to manually replace it again.
• "I can't see boxes past a certain distance"
r_size_cull_threshold "0.7"
• "I can't see trooper healthbars past a certain distance"
Change the values r_size_cull_threshold sc_fade_distance_scale_override
• "Can't see the Doorman ult indicator"
Set cl_ragdoll_limit to "-1"
• "There's holes in victor and paige at certain angles"
Comment out sc_screen_size_lod_scale_override or increase the value.
• "Sinners lights are little triangles"
Comment out sc_screen_size_lod_scale_override or increase the value.
• "I'm using boot's/kaiz's config and I can't see heros in shop or in the end screen"
citadel_portrait_world_renderer_off comment it out or set it to false
• "I'm using boot's/kaiz's config and I can't see lash's ground slam"
r_drawdecals comment it out or set it to true
• "Can't see blast vent wind at range"
sc_fade_distance_scale_override comment it out
• "I'm using the maxfps testing config/boot's/kaiz's config and I can't read the inworld text (soul pickups, bridge buffs, statue buffs, etc)
Comment out or increase the value of citadel_in_world_item_panel_dpi
• When I aim down sights (right click) as rem or venator my camera moves down.
citadel_camera_use_vmdl_flatten_vertical Comment it out or set it to true
=======
comment out r_farz or r_mapextents.
• "How do I change my fov"
citadel_camera_hero_fov or r_aspectratio Comment this out or lower the value.
• "The config broke this patch"
The gameinfo.gi gets overwritten every major update. You need to manually replace it again.
• "I can't see boxes past a certain distance"
decrease r_size_cull_threshold, for example r_size_cull_threshold "0.7"
• "I can't see trooper healthbars past a certain distance"
Decrease r_size_cull_threshold or change sc_fade_distance_scale_override
• "Can't see the Doorman ult indicator"
Set cl_ragdoll_limit to "-1"
• "There's holes in Victor and Paige at certain angles"
Comment out sc_screen_size_lod_scale_override or increase the value.
• "Sinners lights are little triangles"
Comment out sc_screen_size_lod_scale_override or increase the value.
• "I'm using boot's/kaiz's config and I can't see heroes in shop or in the end screen"
citadel_portrait_world_renderer_off comment it out or set it to false
• "I'm using boot's/kaiz's config and I can't see Lash's ground slam"
r_drawdecals comment it out or set it to true
• "Can't see blast vent wind at range"
comment out sc_fade_distance_scale_override
• "I'm using the maxfps testing config/boot's/kaiz's config and I can't read the inworld text (soul pickups, bridge buffs, statue buffs, etc)
Comment out or increase the value of citadel_in_world_item_panel_dpi
• When I aim down sights (right click) as Rem or Venator my camera moves down.
citadel_camera_use_vmdl_flatten_vertical Comment it out or set it to true
• "I am using Kaizuchaneru's config and my modded skin makes Billy's Blasted look weird"
r_citadel_npr_force_solid_outline Set this to false.
• "The puddle beneath neutrals, the rank display, the statues in spawn, and the spirit urn all now are rainbowy and look super weird."
r_citadel_npr_force_solid_outline Set this command to false.
• "I am using Kaizuchaneru's config and my character's clothes don't move sometimes.
cloth_update set it to 1
• "Why does McGinnis' wall turn into a tombstone for a second"
Comment out these from under SceneEffects CMTAtlasHeight CMTAtlasWidth
How do I Manually Add Convars
To manually add convars you need to open up gameinfo.gi, ctrl+f convars and paste the commands after the {
When adding convars manually make sure to not remove rate { or place them in its bracket, as it will cause the game to not launch
Convars {
//you want your convars to begin on this line-
// And end on this one.
rate {
The original OptimizationLock by the wonderful Maihdenless is based on Dyson's config, which features some 300 ai hallucinated commands, as well as being documented entirely in Russian. In the time since the original OptimizationLock's upload Maihdenless himself has been missing in action while myself and some incredible community individuals have worked together to make the config more digestible and better documented. As well as removing every AI generated command. With some additional tweaks added afterwards this should give moderate fps improvements over the original config.
Ideally you should use the Github repository for this project as it is a bit better organized and this Gamebanana page mainly exists to stop people from downloading the older version of the config.
Please use these launch options -vulkan -particles 1 -softparticlesdefaultoff -particle_disable_diffuse
Links:
• Github
• Optimization resources
• Maihdenless' original config
