Here is a total list for config parameters.

Last update date: 2023-06-16
# global_config.ini
| Section | Name         | Example Value                                | Detail                                                                                                      |
|---------|--------------|----------------------------------------------|-------------------------------------------------------------------------------------------------------------|
| Global  | config_folder       | Configs/HonkaiImpact3rd/body                                       | Path of config folder, decided which config folder to use. Every game's dump files structure is different so need their own specific config files.                              |



# preset.ini

| Section | Name         | Example Value                                                    | Detail                                                                                                                                                                                                                                                                                                                                                                        |
|---------|--------------|------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| General | Engine       | Unity                                                            | Decided which kinds of merge method to use,normally will be "Unity" or "UE4".                                                                                                                                                                                                                                                                                                 |
| General | Author       | NicoMico #7692                                                   | This author value will be added to the final line in final generated mod .ini file.                                                                                                                                                                                                                                                                                           |
| General | OutputFolder | C:/Program Files/Star Rail/Game/Mods/output/                     | The output folder name you want to use.                                                                                                                                                                                                                                                                                                                                       |
| General | LoaderFolder | C:/Program Files/Star Rail/Game/                                 | Here is your Loader location or where your d3d11.dll located at.                                                                                                                                                                                                                                                                                                              |
| General | move_modfiles_flag          | True                                                             | Weather to move your finished mod files to a new folder,True or False                                                                                                                                                                                                                                                                                                         |
| General | DeleteOutputFolder          | True                                                             | Weather to delete output folder before execute script                                                                                                                                                                                                                                                                                                                         |
| General | FrameAnalyseFolder          | FrameAnalysis-2023-06-15-204141                                  | Set work dir, here is your FrameAnalysis dump dir.                                                                                                                                                                                                                                                                                                                            |
| General | mod_name          | yihlang                                                          | Set your mod name                                                                                                                                                                                                                                                                                                                                                             |
| Merge   | draw_ib          | 729de5d2                                                         | The index buffer hash you copied from game.                                                                                                                                                                                                                                                                                                                                   |
| Merge   | part_name          | body                                                             | Name the part you want to merge vb files, note this will be your blender output vb file's prefix.                                                                                                                                                                                                                                                                             |
| Merge   | element_list          | POSITION,NORMAL,TANGENT,COLOR,TEXCOORD,BLENDWEIGHTS,BLENDINDICES | Control the element you want to extract from vb0 file. It also control the final vb0's vertex-data's order.                                                                                                                                                                                                                                                                   |
| Merge   | auto_element_list          | True                                                             | auto read element list from pointlist file. if a game read from trianglelist file, you won't need this.                                                                                                                                                                                                                                                                       |
| Merge     | vertex_attr_ini          | vertex_attr.ini                                                  | Which vertex_attr config file to use,normally we don't modify this, only modify this on some test condition.                                                                                                                                                                                                                                                                  |
| Merge     | root_vs          | e8425f64cfb887cd                                                 | Here is the ROOT VS the game currently use.                                                                                                                                                                                                                                                                                                                                   |
| Merge     | use_pointlist          | True                                                             | Weather to use pointlist tech,because some game do not use pointlist tech. True or False                                                                                                                                                                                                                                                                                      |
| Merge     | only_pointlist          | True                                                             | Weather to only collect vertex-data from pointlist tech files,in GIMI,texcoord info is collected from the object being first draw completely to screen to make sure it's correct. but collect it from pointlist is much easier,and they may have different logic to draw in game. ,in some game,the texcoord info from pointlist and trianglelist is different ,some is same. |
| Merge     | ib_format          | DXGI_FORMAT_R16_UINT                                             | the .ib file's format, normally will be,you do not need to modify this value.                                                                                                                                                                                                                                                                                                 |
| Merge     | auto_completion_blendweights          | True    | if a weapon do not have BLENDWEIGHTS you need to set it to True, or let it be False                                                                                                                                                                                                                                                                                           |
| Split     | repair_tangent          | simple                                                           | Which algorithm to recalculate the TANGENT value.Because these game do not put real TANGENT in the tangent slot,it put something else ,looks like is another DIY type of NORMAL value,so the TANGENT value need to be fix. ,now there is 2 value can be select:  simple, None                                                                                                 |


# vertex_attr.ini
This is the element properties you need for vb0 file header info.

[ELEMENT_NAME] which is the element name like POSITION, NORMAL, etc...
and there is alot of Section in vertex_attr.ini depends on game type. 

| Section        | Name                    | Example Value   | Detail                                                                         |
|----------------|-------------------------|-----------------|--------------------------------------------------------------------------------|
| [ELEMENT_NAME] | semantic_name           | POSITION        | the element's semantic name you want to generate or convert.                   |
| [ELEMENT_NAME]  | extract_semantic_name   | POSITION        | the element's name when you extract from file.                                 |
| [ELEMENT_NAME]  | semantic_index          | 0               | the element's semantic index your read from file ,normally will be 0 or 1 or 2 |
| [ELEMENT_NAME]  | output_semantic_index   | 0               |                                                                             |
| [ELEMENT_NAME]  | format                  | R32G32B32_FLOAT |                                                                             |
| [ELEMENT_NAME]  | input_slot              | 0               |                                                                             |
| [ELEMENT_NAME]  | input_slot_class        | per-vertex      |                                                                             |
| [ELEMENT_NAME]  | instance_data_step_rate | 0               |                                                                             |
| [ELEMENT_NAME]  | element_number          | None            | the order of the element,start from 0.                                                                            |
| [ELEMENT_NAME]  | instance_data_step_rate | 12              |                                                                             |
| [ELEMENT_NAME]  | byte_width              | 0               | the byte lenth of this Element's data.                                                                            |
| [ELEMENT_NAME]  | extract_vb_file         | vb0             | which vb file you want to extract,this location info should be manually write                                                                            |
| [ELEMENT_NAME]  | extract_tech            | pointlist       | which tech file you extract from,pointlist or trianglelist.      |
| [ELEMENT_NAME]  | replace_slot            | position        |       |
| [ELEMENT_NAME]  | category                | POSITION        |       |