Add example_delta
This commit is contained in:
parent
bf23ed23bd
commit
d85467e0a2
2 changed files with 24 additions and 0 deletions
18
compile_mod.py
Normal file
18
compile_mod.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# This script should:
|
||||
#
|
||||
# Given a modcode directory as input containing:
|
||||
#
|
||||
# - .jsons with patches to apply to the vanilla .dbr files
|
||||
# - .jsons with new records to add to the vanilla .dbr files
|
||||
# - .jsons with new texts to add to the vanilla .txt files
|
||||
#
|
||||
# Generate a mod directory with:
|
||||
# - database/records
|
||||
# - source/text_en
|
||||
#
|
||||
# To do so, it will need to:
|
||||
# 1. Read all .jsons in the modcode directory
|
||||
# 2. Determine which vanilla .dbr files they modify, apply the patches, and write the new .dbr files to the mod directory.
|
||||
# 3. Write the new .dbr files to the mod directory.
|
||||
# 4. Write the new .txt text_en files to the mod directory.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue