010 Editor how to use? (.bt)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
yusuf2020
Posts: 106
Joined: Wed Jun 17, 2020 1:12 pm

010 Editor how to use? (.bt)

Post by yusuf2020 »

How do i use this script on this
viewtopic.php?f=7&t=7598 http://www.mediafire.com/file/w3dijtj3p ... t.rar/file

Code: Select all

//------------------------------------------------
//--- 010 Editor v7.0.2 Binary Template
//
//      File:
//   Authors:
//   Version:
//   Purpose:
//  Category:
// File Mask:
//  ID Bytes:
//   History:
//------------------------------------------------
struct {
  char Tag[8];
  uint FileSize;
  uint HeaderSize;
  uint Unk1;
  uint AtlasOffset;
  uint PalleteCount;
  uint TableCount;
  struct {
    uint TableOffset; // 4150 Words
  } Table[TableCount];
  struct {
    uint Pallete[16];
  } Pallete[PalleteCount];
} Header;
atom0s
Posts: 250
Joined: Sat Dec 27, 2014 8:49 pm

Re: 010 Editor how to use? (.bt)

Post by atom0s »

1. Open 010 Editor.
2. Open the desired file you want to apply the template to.
3. Click 'Templates' then 'New Template' from the main top menu.
4. In the template window, paste the above template.
5. At the end of the template file add a new line that says:

Code: Select all

Header header;


6. In the template window, click the 'Run on File' button/dropdown and select the file you opened.

It will apply the template to the file and display the results in the template result window.