.bin files: Difference between revisions

From OuroDev
Line 178: Line 178:
|-
|-
| pvptaskmodifiers.bin || defs/pvptaskmodifiers.def
| pvptaskmodifiers.bin || defs/pvptaskmodifiers.def
|-
| geobin/object_library/**/*.bin geobin/object_library/**/*.bounds || data/object_library/**/*.txt data/object_library/**/*.rootnames
|-
| geobin/maps/**/*.bin || data/maps/**/*.txt
|}
|}

Revision as of 17:10, 21 June 2019

Most .bin files are in a common format, created from text format files that natively live in data/

Format

All .bin files in the common Parse6 format begin with a header:

The 8 bytes "CrypticS"
An Adler-32 CRC of the parse table data, as a 32-bit integer
The PascalString "Parse6"
A PascalString "Files1", denoting the start of the file list
A 4-byte integer giving the number of bytes in the file list section

Next is the file list section, which contains:

A 4-byte integer giving the number of files in the file list

and then, once for each file:

A PascalString giving the file name
A 4-byte time value giving the file's timestamp

After this is a binary table of struct values.

Input files

.bin file Input files used
turnstile_server.bin defs/turnstile_server.def
product_catalog.bin defs/account/product_catalog.def
LoyaltyReward.bin defs/account/LoyaltyRewardTree.def
TFTimeLimits.bin defs/TFTimeLimits.def
attrib_descriptions.bin defs/attrib_descriptions.def
powercustomizationcost.bin Menu/PowerCustomization/powercustomizationcost.ctm
powercustomizationmenu.bin Defs/powercustomizationmenu.def
replacepowernames.bin defs/replacepowernames.def
powercats.bin defs/powers/**/*.categories
powersets.bin defs/powers/**/*.powersets
powers.bin defs/powers/**/*.powers
behaviors.bin fx/**/*.bhvr
fxinfo.bin fx/**/*.fx
VillainCostume.bin defs/**/*.nd
arenaschedule.bin defs/generic/arenaschedule.def
arenamaps.bin defs/generic/arenamaps.def
costume.bin Menu/Costume/Localized/Costume.ctm
supergroupEmblems.bin Menu/Costume/Localized/Common/supergroupEmblem.ctm
supergroupColors.bin Menu/Costume/ColorPalettes/supergroupColors.ctm
tailorcost.bin Menu/Costume/TailorCost.ctm
itemOfPowerInfo.bin defs/itemOfPowerInfo.def
stores.bin defs/stores/stores.def
PopHelp.bin defs/PopHelp.def
animlists.bin sequencers/AnimLists/**/*.al
lods.bin logs/**/*.txt
sequencers.bin sequencers/**/*.txt
ent_types.bin ent_types/**/*.txt
tricks.bin tricks/**/*.txt
mapstats.bin maps/missions/**/*.mapstats
minimap.bin maps/missions/**/*.minimap
PC_Def_Entities.bin scripts/Player_Created/PC_Def_Entities.txt
PC_Def_Animation.bin scripts/Player_Created/PC_Def_List_Animations.txt
PC_Rewards.bin scripts.loc/Player_CreatedPC_Rewards.txt
PC_Def_Entities.bin scripts.loc/Player_CreatedPC_Def_Entities.txt
PC_Def_NonSelectable_Entities.bin scripts.loc/Player_CreatedPC_Def_NonSelectable_Entities.txt
PC_Def_Contacts.bin scripts.loc/Player_CreatedPC_Def_List_Contacts.txt
PC_Def_Objects.bin scripts.loc/Player_CreatedPC_Def_List_Objects.txt
PC_Def_MapSets.bin scripts.loc/Player_CreatedPC_Def_List_Map_Sets.txt
PC_Def_MapUnique.bin scripts.loc/Player_CreatedPC_Def_List_Map_Unique.txt
PC_Def_Animation.bin scripts.loc/PC_Def_List_Animations.txt
PC_Def_DestructObject.bin scripts.loc/PC_Def_List_Destructible_Objects.txt
PC_Def_Unlockable_Content.bin scripts.loc/PC_Def_Unlockable_Content.txt
PC_Def_Sequencer_Anims.bin scripts.loc/PC_Def_Sequencer_Anims.txt
PC_Def_UI.bin scripts.loc/uiTemplate.scrollset
map.bin menu/**/*.map
defaultBodyCfg.bin menu/Costume/defaultBodyCfg.txt
menuAnimations.bin defs/menuAnimations.def
kbkorea.bin menu/Koreakey/**/*.key
kb.bin menu/Defaultkey/**/*.key
command.bin menu/**/*.cat
Cards.bin defs/Cards/Cards.def
costumeWeaponStances.bin defs/costumeWeaponStances.def
chestGeoLink.bin defs/chestGeoLink.def
capes.bin fx/**/*.cape
fluids.bin fx/**/*.fluid
particles.bin fx/**/*.part
clothWindInfo.bin cloth/WindInfo.txt
clothColInfo.bin cloth/ColInfo.txt
scenes.bin scenes/skies/**/*.txt
texWords.bin texts/**/*.texword
soundinfo.bin sound/defs/**/*.def
widgets.bin menu/widgets/**/*.widge
TeamReward.bin defs/Reward/team_xp_boost.def
LevelBonus.bin defs/Reward/level_bonus.def
SupergroupMods.bin defs/Reward/supergroup_mods.def
behavioralias.bin AIScript/**/*.bal
ai_config.bin AIScript/config/**/*.cfg
priorities.bin AIScript/priorities/**/*.pri
monorails.bin defs/monorails.def
petBattleCreatureInfo.bin defs/petBattleCreatureInfo.def
NictusHunterOptions.bin defs/NictusHunterOptions.def
DifficultyCost.bin defs/DifficultyCost.def
villainrandomgroupselection.bin defs/generic/villainrandomgroupselection.def
villainrandommapselection.bin defs/generic/villainrandommapselection.def
randomgroupselection.bin defs/generic/randomgroupselection.def
randommapselection.bin defs/generic/randommapselection.def
pvptaskmodifiers.bin defs/pvptaskmodifiers.def
geobin/object_library/**/*.bin geobin/object_library/**/*.bounds data/object_library/**/*.txt data/object_library/**/*.rootnames
geobin/maps/**/*.bin data/maps/**/*.txt