Created
January 28, 2016 00:01
-
-
Save x1nixmzeng/3bfbb002ae1341460728 to your computer and use it in GitHub Desktop.
The Witness MO format
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
//-------------------------------------- | |
//--- 010 Editor v5.0 Binary Template | |
// | |
// File: the_witness_mo.bt | |
// Author: WRS | |
// Revision: 1 | |
// Purpose: The Witness MO files | |
//-------------------------------------- | |
uint magic; // ?? 2500072158 | |
uint unknown_0; | |
uint count; | |
uint name_table_ptr; | |
uint trans_table_ptr; | |
uint unknown_count; | |
uint unknown_table_ptr; | |
struct ptr | |
{ | |
uint size; | |
uint offset; | |
}; | |
ptr names[count]; | |
ptr translations[count]; | |
uint un[unknown_count]; | |
local int i; | |
for(i=0; i < count;++i) | |
{ | |
Printf("%s == %s\n", ReadString(names[i].offset), ReadString(translations[i].offset)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment