Skip to content

Commit

Permalink
6517403 update + more files
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyman192 committed Apr 10, 2021
1 parent 213815d commit ff04429
Show file tree
Hide file tree
Showing 21 changed files with 20 additions and 9 deletions.
2 changes: 1 addition & 1 deletion data/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6492165
6517403
Binary file modified data/GCGAMEPLAYGLOBALS.GLOBAL.MBIN
Binary file not shown.
Binary file modified data/GCSPACESHIPGLOBALS.GLOBAL.MBIN
Binary file not shown.
Binary file modified data/METADATA/ATLASPATHTABLE.MBIN
Binary file not shown.
Binary file added data/METADATA/BIOMEFILENAMES.MBIN
Binary file not shown.
Binary file added data/METADATA/BIOMELISTPERSTARTYPE.MBIN
Binary file not shown.
Binary file modified data/METADATA/DEFAULTSAVEDATA.MBIN
Binary file not shown.
Binary file modified data/METADATA/DEFAULTSEASONALDATA.MBIN
Binary file not shown.
Binary file modified data/METADATA/MISSIONSCHEDULESTABLE.MBIN
Binary file not shown.
Binary file modified data/METADATA/MULTIPLAYERMISSIONTABLE.MBIN
Binary file not shown.
Binary file modified data/METADATA/NMS_DIALOG_GCALIENPUZZLETABLE.MBIN
Binary file not shown.
Binary file modified data/METADATA/NMS_DIALOG_GCALIENSPEECHTABLE.MBIN
Binary file not shown.
Binary file modified data/METADATA/NMS_REALITY_GCTECHNOLOGYTABLE.MBIN
Binary file not shown.
Binary file modified data/METADATA/NPCMISSIONTABLE.MBIN
Binary file not shown.
Binary file modified data/METADATA/PLAYERTITLEDATA.MBIN
Binary file not shown.
Binary file modified data/METADATA/REWARDTABLE.MBIN
Binary file not shown.
Binary file modified data/METADATA/SEASONALMISSIONTABLE.MBIN
Binary file not shown.
Binary file modified data/METADATA/WATERMISSIONTABLE.MBIN
Binary file not shown.
Binary file added data/MODELS/CORRUPTEDDRONE.ENTITY.MBIN
Binary file not shown.
16 changes: 9 additions & 7 deletions data/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
<file name="BASEBUILDINGCOSTSTABLE.MBIN" path="METADATA\REALITY\TABLES\BASEBUILDINGCOSTSTABLE.MBIN"/>
<file name="BASEBUILDINGTABLE.MBIN" path="METADATA\REALITY\TABLES\BASEBUILDINGTABLE.MBIN"/>
<file name="BASECOMPUTERMISSIONTABLE.MBIN" path="METADATA\SIMULATION\MISSIONS\BASECOMPUTERMISSIONTABLE.MBIN"/>
<file name="BIOMEFILENAMES.MBIN" path="METADATA\SIMULATION\SOLARSYSTEM\BIOMES\BIOMEFILENAMES.MBIN"/>
<file name="BIOMELISTPERSTARTYPE.MBIN" path="METADATA\SIMULATION\SOLARSYSTEM\BIOMES\BIOMELISTPERSTARTYPE.MBIN"/>
<file name="BOBBLEHEADCUSTOMISATIONDATA.MBIN" path="METADATA\GAMESTATE\PLAYERDATA\BOBBLEHEADCUSTOMISATIONDATA.MBIN"/>
<file name="BOOTLOGOPC.MBIN" path="METADATA\UI\BOOTLOGOPC.MBIN"/>
<file name="BYTEBEATICONS.MBIN" path="METADATA\UI\BYTEBEATICONS.MBIN"/>
Expand All @@ -34,6 +36,7 @@
<file name="CREATUREFILENAMETABLE.MBIN" path="METADATA\SIMULATION\ECOSYSTEM\CREATUREFILENAMETABLE.MBIN"/>
<file name="CREATUREGENERATIONARCHETYPES.MBIN" path="METADATA\SIMULATION\ECOSYSTEM\CREATUREGENERATIONARCHETYPES.MBIN"/>
<file name="CREATUREGENERATIONDATA.MBIN" path="METADATA\SIMULATION\ECOSYSTEM\CREATUREGENERATIONDATA.MBIN"/>
<file name="CREATUREPETBEHAVIOURTABLE.MBIN" path="METADATA\SIMULATION\ECOSYSTEM\CREATUREPETBEHAVIOURTABLE.MBIN"/>
<file name="CUSTOMISATIONCOLOURPALETTES.MBIN" path="METADATA\GAMESTATE\PLAYERDATA\CUSTOMISATIONCOLOURPALETTES.MBIN"/>
<file name="DAMAGETABLE.MBIN" path="METADATA\REALITY\TABLES\DAMAGETABLE.MBIN"/>
<file name="DEBUGSCENE.MBIN" path="METADATA\SIMULATION\DEBUGSCENE.MBIN"/>
Expand Down Expand Up @@ -81,7 +84,7 @@
<file name="MISSIONCOMMUNITYDATA.MBIN" path="METADATA\SIMULATION\MISSIONS\MISSIONCOMMUNITYDATA.MBIN"/>
<file name="MISSIONSCHEDULESTABLE.MBIN" path="METADATA\SIMULATION\MISSIONS\MISSIONSCHEDULESTABLE.MBIN"/>
<file name="MISSIONTABLE.MBIN" path="METADATA\SIMULATION\MISSIONS\MISSIONTABLE.MBIN"/>
<file name="MODMISSIONTABLE.MBIN" path="METADATA\SIMULATION\SCANNING\MODMISSIONTABLE.MBIN"/>
<file name="MODMISSIONTABLE.MBIN" path="METADATA\SIMULATION\MISSIONS\MODMISSIONTABLE.MBIN"/>
<file name="MULTIPLAYERMISSIONTABLE.MBIN" path="METADATA\SIMULATION\MISSIONS\MULTIPLAYERMISSIONTABLE.MBIN"/>
<file name="NMS_DIALOG_GCALIENPUZZLETABLE.MBIN" path="METADATA\REALITY\TABLES\NMS_DIALOG_GCALIENPUZZLETABLE.MBIN"/>
<file name="NMS_DIALOG_GCALIENSPEECHTABLE.MBIN" path="METADATA\REALITY\TABLES\NMS_DIALOG_GCALIENSPEECHTABLE.MBIN"/>
Expand All @@ -102,6 +105,8 @@
<file name="NPCREACTIONS.MBIN" path="METADATA\SIMULATION\NPCS\NPCREACTIONS.MBIN"/>
<file name="NPCSPAWNTABLE.MBIN" path="METADATA\SIMULATION\NPCS\NPCSPAWNTABLE.MBIN"/>
<file name="NPCWORDREACTIONS.MBIN" path="METADATA\SIMULATION\NPCS\NPCWORDREACTIONS.MBIN"/>
<file name="PETACCESSORYTABLE.MBIN" path="METADATA\SIMULATION\ECOSYSTEM\PETACCESSORYTABLE.MBIN"/>
<file name="PETEGGTRAITMODIFIEROVERRIDETABLE.MBIN" path="METADATA\SIMULATION\ECOSYSTEM\PETEGGTRAITMODIFIEROVERRIDETABLE.MBIN"/>
<file name="PLANETARYMAPPINGTABLE.MBIN" path="METADATA\SIMULATION\SCANNING\PLANETARYMAPPINGTABLE.MBIN"/>
<file name="PLANETPROCMISSIONTABLE.MBIN" path="METADATA\SIMULATION\MISSIONS\PLANETPROCMISSIONTABLE.MBIN"/>
<file name="PLAYERANIMDETAILSETTINGS.MBIN" path="METADATA\ENGINESETTINGS\PLAYERANIMDETAILSETTINGS.MBIN"/>
Expand Down Expand Up @@ -155,25 +160,22 @@
<file name="WEATHERHAZARDS.MBIN" path="METADATA\SIMULATION\SOLARSYSTEM\WEATHER\WEATHERHAZARDS.MBIN"/>
<file name="WIKI.MBIN" path="METADATA\REALITY\WIKI.MBIN"/>
<file name="WIKIMISSIONTABLE.MBIN" path="METADATA\SIMULATION\MISSIONS\WIKIMISSIONTABLE.MBIN"/>
<file name="DEBUGSCENE.MBIN" path="METADATA\SIMULATION\DEBUGSCENE.MBIN"/>
<file name="PETACCESSORYTABLE.MBIN" path="METADATA\SIMULATION\ECOSYSTEM\PETACCESSORYTABLE.MBIN"/>
<file name="PETEGGTRAITMODIFIEROVERRIDETABLE.MBIN" path="METADATA\SIMULATION\ECOSYSTEM\PETEGGTRAITMODIFIEROVERRIDETABLE.MBIN"/>
<file name="CREATUREPETBEHAVIOURTABLE.MBIN" path="METADATA\SIMULATION\ECOSYSTEM\CREATUREPETBEHAVIOURTABLE.MBIN"/>
</folder>
<folder name="MODELS">
<file name="CORRUPTEDDRONE.ENTITY.MBIN" path="MODELS\COMMON\ROBOTS\CORRUPTEDDRONE\ENTITIES\CORRUPTEDDRONE.ENTITY.MBIN"/>
<file name="DIGGER.ENTITY.MBIN" path="MODELS\PLANETS\CREATURES\WEIRD\DIGGER\ENTITIES\DIGGER.ENTITY.MBIN"/>
<file name="PLAYERCHARACTER.ENTITY.MBIN" path="MODELS\COMMON\PLAYER\PLAYERCHARACTER\PLAYERCHARACTER\ENTITIES\PLAYERCHARACTER.ENTITY.MBIN"/>
<file name="EGGMACHINE.ENTITY.MBIN" path="MODELS\SPACE\NEXUS\PARTS\RIGHTSECTION\EGGMACHINE\ENTITIES\EGGMACHINE.ENTITY.MBIN"/>
<file name="PET_EGG.ENTITY.MBIN" path="MODELS\PLANETS\BIOMES\COMMON\INTERACTIVE\PET_EGG\ENTITIES\PET_EGG.ENTITY.MBIN"/>
<file name="PLAYERCHARACTER.ENTITY.MBIN" path="MODELS\COMMON\PLAYER\PLAYERCHARACTER\PLAYERCHARACTER\ENTITIES\PLAYERCHARACTER.ENTITY.MBIN"/>
</folder>
<folder name="TEXTURES">
<file name="CURVEDROCK.TEXTURE.MBIN" path="TEXTURES\PLANETS\BIOMES\RADIOACTIVE\LARGE\CURVEDROCK.TEXTURE.MBIN"/>
</folder>
<folder name="UI">
<file name="BYTEBEATOPERATORSLOT.MBIN" path="UI\BYTEBEAT\BYTEBEATOPERATORSLOT.MBIN"/>
<file name="JOURNEYBOXES.MBIN" path="UI\COMPONENTS\MANAGEFLEET\JOURNEYBOXES.MBIN"/>
<file name="PET_EGGMODIFY.MBIN" path="UI\PET_EGGMODIFY.MBIN"/>
<file name="WIKIPAGE.MBIN" path="UI\WIKIPAGE.MBIN"/>
<file name="PET_EGGMODIFY.MBIN" path="UI\PET_EGGMODIFY.MBIN"/>
</folder>
<file name="GCAISPACESHIPGLOBALS.GLOBAL.MBIN" path="GCAISPACESHIPGLOBALS.GLOBAL.MBIN"/>
<file name="GCATLASGLOBALS.GLOBAL.MBIN" path="GCATLASGLOBALS.GLOBAL.MBIN"/>
Expand Down
11 changes: 10 additions & 1 deletion utils/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# inaccurate.

__author__ = "monkeyman192"
__version__ = "1.0"
__version__ = "1.1"

from hashlib import sha256
import os.path as op
Expand Down Expand Up @@ -44,9 +44,18 @@
for test_file, vanilla_file in files.items():
full_vanilla_path = op.join(pcbanks_folder, vanilla_file)
full_test_path = op.join(DATA_FOLDER, test_file)
# If the file in the index cannot be found in the unpacked folder print
# an error then continue.
if not op.exists(full_vanilla_path):
print(f'Cannot find {full_vanilla_path} in PCBANKS folder...')
continue
# If the file doesn't exist in the test data but is in the index, then
# just copy it over.
if not op.exists(full_test_path):
print(f'Adding {full_vanilla_path} to the test data')
if not DRYRUN:
shutil.copy(full_vanilla_path, op.dirname(full_test_path))
different_files += 1
with open(full_vanilla_path, 'rb') as fv:
vanilla_hash = sha256(fv.read()).hexdigest()
with open(full_test_path, 'rb') as ft:
Expand Down

0 comments on commit ff04429

Please sign in to comment.