-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dump lua file and asset map in bo4 ff handler
- Loading branch information
Showing
4 changed files
with
93 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#pragma once | ||
|
||
namespace fastfile::dump { | ||
constexpr uint64_t BIN_MAGIC = 0x3054534c48415842; | ||
|
||
struct BinXAssetListHeader { | ||
uint64_t magic{ BIN_MAGIC }; | ||
uint64_t assetOffset{}; | ||
uint64_t assetCount{}; | ||
uint64_t stringsOffsetStart{}; | ||
uint64_t stringsOffsetEnd{}; | ||
uint64_t stringsCount{}; | ||
}; | ||
|
||
struct BinXAsset { | ||
uint32_t type; | ||
uint32_t idx; | ||
uint64_t start; | ||
uint64_t size; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters