Modify Stat - HaoJun0823/CODEVEIN-Mod-Guide GitHub Wiki
A Littie Video:https://youtu.be/UW1NVZS4L_U
Guys, let me talk about how to modify the attributes and requirements of blood codes and equipment. This is relatively simple but requires careful work. I am modifying uasset by modifying the binary (Hex Hack). So there are still limitations.
You need to prepare a Hex Editor, I use HxD Hex Editor (https://mh-nexus.de/en/hxd/), which is free and useful, when you install it, we can start:
1. Save the game's data file.
Just use Umodel, the content we want to save is: {Umodel directory} \Game\Characters\Blueprints\Player

The "DA_" files in the folders BloodCode, Jinkaku, Ketsuki, and Weapons can be modified according to this tutorial.
2. Find the object file you need to modify, copy it out, and create a path that can replace the game source file.
This time we demonstrate how to modify the eclipse minions, this is located in: {your extracted directory}\Game\Characters\Blueprints\Player\Jinkaku\Gauntlet\DA_JinkakuArticle_Gauntlet9

We need two files, uasset (index) and uexp (data?), and the target of our modification will always start with "DA_", please ignore "BP_", because I don't know how to explain those files.
Copy these two files, and then create a package Mod file path, used to cover the original file of the game, this file path should be like this:
Just like me: Super_Venous_Claw_1_53_P\CodeVein\Content\Characters\Blueprints\Player\Jinkaku\Gauntlet
In short, take it from where you took it. Note that the root directory of the file you extracted is "Game", but in fact we need "CodeVein\Content"

Then, we can open the Hxd Hex Editor and start modifying.

3. Replace content
We only open uasset (uexp guarantees compatibility for subsequent version updates),

Don't panic, we use Ctrl+F (or "Search" under the "Edit" menu) to open the search interface:

After inputting two "::", select "all" in "Find Directory", and finally, click the "Search All" button.

You can see the result at the bottom, which is what we want to modify.
Principle: The way to refer to objects in C++ is ::, so we can replace these sub-references.
You can quickly query the data you need from https://sethclydesdale.github.io/code-vein-builder:
This piece of equipment has the following attributes:
demand: STR D+ MND D+
Increase: STR C+ DEX E MND C+ D
So you can find the following from the search box:
ECharacterAttributeRank::B_Plus ECharacterAttributeRank::D_Plus ECharacterAttributeRank::C_Plus ECharacterAttributeRank::E ECharacterAttributeRank::D
Note: As you can see, these references are not repeated, because this is not the actual attribute value definition, so when you replace C_Plus with S_Plus, the game will replace all C+ of the equipment with S+, whether it is in The attribute is still required.
After knowing these, you can start to modify, I plan to change D_Plus to E_Plus, D and E to S, B_Plus and C_Plus to S_Plus.
Note that because of the offset problem, you can only modify the content of the same length, so we can not change D to any Plus, nor can we change D_Plus to D.
After knowing these plans, please open the file containing S_Plus, S, and E_Plus in the game, and I will start with the blood code: DA_BloodCode_JounoRokugai.uasset DLC\DA_BloodCode_DLC_Hannibal.uasset DLC\DA_BloodCode_DLC_Strength.uasset
Please use HxD to open these three files and search the same as above::
Let’s first demonstrate how to replace D_Plus with E_Plus
Let's switch to DA_BloodCode_JounoRokugai, because this blood code has an E+ attribute, we need to copy the E_Plus of this blood code and the following references to replace D_Plus.

We can click on the entry in the search results to quickly locate, then we find ECharacterAttributeRank::D_Plus, pay attention, and select from after ::, and avoid copying to the last four digits (20 00 00 00 or 16 00 00 00 or 1B 00 00 00)


Then we go back to DA_JinkakuArticle_Gauntlet9, find D_Plus, also select it, and then Ctrl+V, replace. When you replace it successfully, the text will turn red and the message box will not pop up.

Now you can save it, which means success.
Repeat the above operation, copy S replacement from DA_BloodCode_DLC_Hannibal and S_Plus replacement from DA_BloodCode_DLC_Strength, and we can happily end.

When you have all changed, the file should be as follows:
Then save! This file is ready! **Go pack now!**See:[https://github.com/KarbonAKitt/CVWiki/wiki/Packaging-Your-Mod#prepping-folders-for-the-pak](https://github.com/KarbonAKitt/CVWiki/wiki/Packaging-Your-Mod#prepping-folders-for-the-pak

Why are there three files for packaging? Because HxD will help you back up, please delete the uasset file it backs up.
Now go to the game.

As you can see, the effect is not ideal... the content of our replacement has become confusing, and some equipment is indeed the case, but if you follow this tutorial to replace the blood code, there is no problem.
This is all, pay attention to the following issues:
Plus can only be replaced with Plus, and ordinary ones can only be replaced with ordinary ones. This is a problem of position offset.
Avoid 20 00 00 00 or 16 00 00 00 or 1B 00 00 00.