Update calcprogress.py

Former-commit-id: 5222a522e7
This commit is contained in:
EpochFlame 2022-03-29 14:08:54 -04:00
parent adf7cb8357
commit 7385c3182a
1 changed files with 6 additions and 4 deletions

View File

@ -70,6 +70,12 @@ DATA_SECTION_COUNT = 11
SECTION_TEXT = 0
SECTION_DATA = 1
# Progress flavor
codeFrac = 1499 # total code "item" amount
dataFrac = 250 # total data "item" amount
codeItem = "energy" # code flavor item
dataItem = "missiles" # data flavor item
###############################################
# #
# Entrypoint #
@ -179,10 +185,6 @@ if __name__ == "__main__":
decomp_data_size += cur_size
# Calculate percentages
codeFrac = 1500 # total code "item" amount
dataFrac = 250 # total data "item" amount
codeItem = "energy" # code flavor item
dataItem = "missiles" # data flavor item
codeCompletionPcnt = (decomp_code_size / dol_code_size) # code completion percent
dataCompletionPcnt = (decomp_data_size / dol_data_size) # data completion percent
bytesPerCodeItem = dol_code_size / codeFrac # bytes per code item