.bin files: Difference between revisions

From OuroDev
Asuffield (talk | contribs)
Created page with "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 heade..."
 
Asuffield (talk | contribs)
No edit summary
Line 1: Line 1:
Most .bin files are in a common format, created from text format files that natively live in data/
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 ==
{| class="wikitable sortable"
|-
! .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 || Most .bin files are in a common format, created from text format files that natively live in data/


== Format ==
== Format ==

Revision as of 15:15, 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