remove config.yaml from tracking and add it as example to README.md

This commit is contained in:
Styrr 2022-03-11 17:15:51 +01:00
parent 2ed88bb1b0
commit 18b3af3db2
3 changed files with 39 additions and 31 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
config/config.yaml

View File

@ -1,3 +1,40 @@
# LootDistributionGenerator
Generates Distribution .json files which are required by the SPT-AKI/Server to spawn loot.
Generates Distribution .json files which are required by the SPT-AKI/Server to spawn loot.
# Setup
Requires a config.yaml in /config defining dump and target folders as well as a location for 7z.exe
````yaml
---
tools:
7z_exe: 'C:/Program Files/7-Zip/7z.exe'
server:
# SPT-AKI Server location (to store the generated json)
location: 'C:/GAMES/SPT_AKI_Dev/Server/'
# The map names in the loot dump do not directly corresond to the server database structure, this is the mapping
map_directory_mapping_yaml: map_directory_mapping.yaml
archives:
# where we put our sequential dump jsons to be sorted archived, preprocessor will put them into archives
source_folder: 'D:/Games/SPT_Dev/map_dumps/12.12/'
# here we store the archives with used data
target_folder: 'D:/Games/SPT_Dev/map_dumps/12.12_used/'
# archive name for map loot dump data
loot_filename: loot_dumps.7z
# archive name for bot dump data
bot_filename: bot_dumps.7z
# all dump data is appended into an archive in this folder
backup_file: 'D:/Games/SPT_Dev/map_dumps/12.12_unused/complete.7z'
config:
static:
# ids for static weapons
static_weapon_ids:
- 5d52cc5ba4b9367408500062
- 5cdeb229d7f00c000e7ce174
# we have a separate yaml that defined forced static loot per map
forced_static_yaml: forced_static.yaml
# known quest items per map for validation
forced_loose_yaml: forced_loose.yaml
````

View File

@ -1,30 +0,0 @@
---
tools:
7z_exe: 'C:/Program Files/7-Zip/7z.exe'
server:
# SPT-AKI Server location (to store the generated json)
location: 'C:/GAMES/SPT_AKI_Dev/Server/'
# The map names in the loot dump do not directly corresond to the server database structure, this is the mapping
map_directory_mapping_yaml: map_directory_mapping.yaml
archives:
# where we put our sequential dump jsons to be sorted archived, preprocessor will put them into archives
source_folder: 'D:/Games/SPT_Dev/map_dumps/12.12/'
# here we store the archives with used data
target_folder: 'D:/Games/SPT_Dev/map_dumps/12.12_used/'
# archive name for map loot dump data
loot_filename: loot_dumps.7z
# archive name for bot dump data
bot_filename: bot_dumps.7z
# all dump data is appended into an archive in this folder
backup_file: 'D:/Games/SPT_Dev/map_dumps/12.12_unused/complete.7z'
config:
static:
# ids for static weapons
static_weapon_ids:
- 5d52cc5ba4b9367408500062
- 5cdeb229d7f00c000e7ce174
# we have a separate yaml that defined forced static loot per map
forced_static_yaml: forced_static.yaml
# known quest items per map for validation
forced_loose_yaml: forced_loose.yaml